Page 1 of 1
Failing to add SNMP traps monitoring
Posted: Mon Sep 02, 2013 2:26 pm
by vmesquita
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?
Re: Failing to add SNMP traps monitoring
Posted: Tue Sep 03, 2013 9:43 am
by sreinhardt
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.
Re: Failing to add SNMP traps monitoring
Posted: Tue Sep 03, 2013 11:42 am
by vmesquita
Hi Spencer,
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!
Then Verify:
Code: Select all
...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
But still it fails when I try to add the SNMP monitoring for a switch... Any other ideas?
Re: Failing to add SNMP traps monitoring
Posted: Tue Sep 03, 2013 11:47 am
by sreinhardt
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.