Nagiosxi and illegal characters
Posted: Tue May 05, 2015 7:03 pm
Hi.
So where does Nagios keep its temp files when doing a monitoring wizard setup?
I have a switch that I used a comma in the port description, which nagios I guess does not like.
Port Description:
Link to PVX 11-1-G10 CA77-7,8
I have found under /usr/local/nagios/etc/services there are files there that get created
everytime I go to apply the config it bombs with:
Error: The description string for service 'Link to PVX 11-1-G10 CA77-7,8 Bandwidth' on host 'Rupert 4900M Internet Switch' contains one or more illegal characters.
I have deleted what I think are all files relating to that description but they keep getting recreated.
[root@lonagiosxi etc]# pwd
/usr/local/nagios/etc
services/Rupert 4500M Internet.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Bandwidth
services/Rupert 4500M Internet.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Status
services/Rupert 4900M Internet Switch.cfg: service_description Link to PVX 11-1-G10 CA77-7,8 Bandwidth
services/Rupert 4900M Internet Switch.cfg: service_description Link to PVX 11-1-G10 CA77-7,8 Status
services/Rupert 4900M Internet Switch.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Bandwidth
services/Rupert 4900M Internet Switch.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Status
services/71conn2.rupert.net.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Bandwidth
services/71conn2.rupert.net.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Status
services/71conn2.rupert.net.cfg: service_description Link to PVX 11/1/G10 CA77 7/8 Bandwidth
services/71conn2.rupert.net.cfg: service_description Link to PVX 11/1/G10 CA77 7/8 Status
services/Internet-4900M-Rupert.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Bandwidth
services/Internet-4900M-Rupert.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Status
I used the same name, tried for new names, but where are these files, specifically the one with the description
with the comma in it come from?
I have deleted these files but they keep coming up and I cannot apply any new configs at present. How do I fix
this?
Thanks,
Keith
So where does Nagios keep its temp files when doing a monitoring wizard setup?
I have a switch that I used a comma in the port description, which nagios I guess does not like.
Port Description:
Link to PVX 11-1-G10 CA77-7,8
I have found under /usr/local/nagios/etc/services there are files there that get created
everytime I go to apply the config it bombs with:
Error: The description string for service 'Link to PVX 11-1-G10 CA77-7,8 Bandwidth' on host 'Rupert 4900M Internet Switch' contains one or more illegal characters.
I have deleted what I think are all files relating to that description but they keep getting recreated.
[root@lonagiosxi etc]# pwd
/usr/local/nagios/etc
services/Rupert 4500M Internet.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Bandwidth
services/Rupert 4500M Internet.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Status
services/Rupert 4900M Internet Switch.cfg: service_description Link to PVX 11-1-G10 CA77-7,8 Bandwidth
services/Rupert 4900M Internet Switch.cfg: service_description Link to PVX 11-1-G10 CA77-7,8 Status
services/Rupert 4900M Internet Switch.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Bandwidth
services/Rupert 4900M Internet Switch.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Status
services/71conn2.rupert.net.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Bandwidth
services/71conn2.rupert.net.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Status
services/71conn2.rupert.net.cfg: service_description Link to PVX 11/1/G10 CA77 7/8 Bandwidth
services/71conn2.rupert.net.cfg: service_description Link to PVX 11/1/G10 CA77 7/8 Status
services/Internet-4900M-Rupert.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Bandwidth
services/Internet-4900M-Rupert.cfg: service_description Link to PVX 11-1-G10 CA77-7-8 Status
I used the same name, tried for new names, but where are these files, specifically the one with the description
with the comma in it come from?
I have deleted these files but they keep coming up and I cannot apply any new configs at present. How do I fix
this?
Thanks,
Keith