Bad Characters in a cfg description. Nagios wont save.
Posted: Thu May 31, 2012 6:57 pm
So more testing and getting to know Nagios I decided to add a switch to monitor. Its an old Cisco 2950.
SNMP is enabled.
Went through the discovery process, found which switch ports were up and all have descriptions. Hmm,
good stuff. Hit apply to save config and nagios errors out:
Error: The description string for service '<< CMTS-1 >> Status' on host 'my.host.name' contains one or more illegal characters.
Error: The description string for service '<< City1 - City2 >> Bandwidth' on host 'my.host.name' contains one or more illegal characters.
Hmm, ok < characters might be a problem. Its only a few ports so I'll go in and put a new description on
the ports.
Run through the discovery again, looks good, no << characters anywhere, hit apply and nagios errors again on the same
thing.
So now it appears nagios has stored somewhere the bad config from the first time I tried this and now will not
write any updated configs because of that. The FAQ does not appear to have anything about this problem.
What file(s) do I need to delete on the server to fix this?
Thanks.
SNMP is enabled.
Went through the discovery process, found which switch ports were up and all have descriptions. Hmm,
good stuff. Hit apply to save config and nagios errors out:
Error: The description string for service '<< CMTS-1 >> Status' on host 'my.host.name' contains one or more illegal characters.
Error: The description string for service '<< City1 - City2 >> Bandwidth' on host 'my.host.name' contains one or more illegal characters.
Hmm, ok < characters might be a problem. Its only a few ports so I'll go in and put a new description on
the ports.
Run through the discovery again, looks good, no << characters anywhere, hit apply and nagios errors again on the same
thing.
So now it appears nagios has stored somewhere the bad config from the first time I tried this and now will not
write any updated configs because of that. The FAQ does not appear to have anything about this problem.
What file(s) do I need to delete on the server to fix this?
Thanks.