I am trying to add SNMP trap monitoring to a given switch, but it always fails:
Configuration submitted for processing...
Waiting for configuration verification.................................
Configurations failed to write to file.
Is there any way I can debug this?
Failing to add SNMP traps monitoring
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Failing to add SNMP traps monitoring
You will need to go through the write config tool, and it will tell you what object definitions are not completed or setup correctly.
Configure->core config manager->tools->write config files. Step through the first two buttons and on after the second, if it fails you should have an error log to look at and correct.
Configure->core config manager->tools->write config files. Step through the first two buttons and on after the second, if it fails you should have an error log to look at and correct.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Failing to add SNMP traps monitoring
Hi Spencer,
I tried that, but no results. On write I get:
Then Verify:
But still it fails when I try to add the SNMP monitoring for a switch... Any other ideas?
I tried that, but no results. On write I get:
Code: Select all
...
Write host configurations ...
Host configuration files successfully written!
Write service configurations ...
Service configuration files successfully written!
Code: Select all
...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Failing to add SNMP traps monitoring
Did you remove the service after it failed, but before using the write config tool? If you were able to pass both and get no errors, you can also try to restart the nagios service and be sure there are no errors there, but this is essentially the exact same steps that the automated apply does.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.