Config Error - Nagios doesn't work!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
davidha
Posts: 21
Joined: Thu Aug 18, 2011 9:45 am

Config Error - Nagios doesn't work!

Post by davidha »

Hi. After rebooting the nagos server I get this message: Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
And all the changes I've done through the web interface.
How is it possible??
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Config Error - Nagios doesn't work!

Post by nscott »

Can you post the output of Configure > Core Config Manager > Tools > Write Config Files > Check Config Files Go
Nicholas Scott
Former Nagios employee
davidha
Posts: 21
Joined: Thu Aug 18, 2011 9:45 am

Re: Config Error - Nagios doesn't work!

Post by davidha »

Error: The description string for service 'Adaptive-Security-Appliance-'AdgSrvPriv'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'AdgSrvPriv'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'DMZ-LAB'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'DMZ-LAB'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'GigabitEthernet1/1'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'GigabitEthernet1/1'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'GigabitEthernet1/2'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'GigabitEthernet1/2'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'Internal-Data0/0'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'Internal-Data0/0'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'Internal-Data1/0'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'Internal-Data1/0'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'VLAN104'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'VLAN104'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'VLAN4'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'VLAN4'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'VLANPRIV'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'VLANPRIV'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'Virtual254'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'Virtual254'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'failover'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'failover'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'mng'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'mng'-interface Status' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'outside'-interface Bandwidth' on host 'lab-router' contains one or more illegal characters.
Error: The description string for service 'Adaptive-Security-Appliance-'outside'-interface Status' on host 'lab-router' contains one or more illegal characters.
Total Warnings: 0
Total Errors: 26
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Config Error - Nagios doesn't work!

Post by nscott »

david,

All of those services contain single quotes, you'll need to remove the single quotes from the in the Core Config Manager and then hit Apply Configuration.
Nicholas Scott
Former Nagios employee
davidha
Posts: 21
Joined: Thu Aug 18, 2011 9:45 am

Re: Config Error - Nagios doesn't work!

Post by davidha »

Ok, I did it, but a pity it doesn't give any warning before!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Config Error - Nagios doesn't work!

Post by nscott »

Duly noted. I will update the Switch wizard to escape these quotes. Thanks for the heads up!
Nicholas Scott
Former Nagios employee
Locked