You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synology DS215j
synagios_0.14.4_jessie_arm.spk
After importing sample configuration (works),
i try to add a new service (to a cloned host)
I get:
NAGCTL ERROR: Invalid data. A required field is empty.
In the protokol i see - "Undefined variable template in index.php line 11357".
[ this is:
foreach( $st as $item ) {
$selected = "";
if( $item["name"] == $template ) $selected = " selected";
print '<option value="'.$item["name"].'"'.$selected.'>'
.$item["name"].'';
}
]
I added manually
myserver.net,svctmpl-lin,check_http,HTTP,,,,,1,,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
to /nagios-chroot/etc/nagios3/objects/local/setup/local_services.setup
and it works.
Any suggestions?
The text was updated successfully, but these errors were encountered:
You might not have set the Description field, probably because it does not have a star next to it indicating a required field in nagrestconf 1.174.5 (It does in the latest version 1.174.7 but this is not released for Synagios yet)
It works for me on both arm and x86 unless I don't set the Description field. (When you added the line manually the description was set to 'HTTP')
so little star, so much debugging ;-) Thanks for quick answer :-)
I can ignore the error from apache.log "Undefined variable template in index.php line 11357"?
Yes, please ignore the error, I get the same error.
I've created a ticket to clean up errors and another one to tell the user exactly which fields are missing!
Thanks for reporting! :)
Synology DS215j
synagios_0.14.4_jessie_arm.spk
After importing sample configuration (works),
i try to add a new service (to a cloned host)
I get:
NAGCTL ERROR: Invalid data. A required field is empty.
In the protokol i see - "Undefined variable template in index.php line 11357".
[ this is:
foreach( $st as $item ) {
$selected = "";
if( $item["name"] == $template ) $selected = " selected";
print '<option value="'.$item["name"].'"'.$selected.'>'
.$item["name"].'';
}
]
I added manually
myserver.net,svctmpl-lin,check_http,HTTP,,,,,1,,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
to /nagios-chroot/etc/nagios3/objects/local/setup/local_services.setup
and it works.
Any suggestions?
The text was updated successfully, but these errors were encountered: