Search found 6 matches
- Mon Sep 22, 2014 2:28 pm
- Forum: Open Source Nagios Projects
- Topic: Debug nagios config check
- Replies: 1
- Views: 1493
Debug nagios config check
I upgraded Nagios core v3.x to Nagios v4.0.8. I imported all config files from old version and now config check is failing. I have following debug settings in nagios.cfg file but nothing is being collected when I use nagios -v nagios.cfg debug_level=2048 # Also tried with -1 debug_verbosity=2 debug_...
- Mon Dec 23, 2013 4:32 pm
- Forum: Open Source Nagios Projects
- Topic: global_service_event_handler not working
- Replies: 9
- Views: 3984
Re: global_service_event_handler not working
# grep event_handler_timeout /etc/nagios/nagios.cfg
event_handler_timeout=30
event_handler_timeout=30
- Sat Dec 21, 2013 8:03 pm
- Forum: Open Source Nagios Projects
- Topic: global_service_event_handler not working
- Replies: 9
- Views: 3984
Re: global_service_event_handler not working
Sorry for not removing the commented lines. There are no event handlers reported in the logs.
# grep -i handler /san0/nagios-logs/nagios.log
#
# grep -i handler /san0/nagios-logs/nagios.log
#
- Fri Dec 20, 2013 9:15 am
- Forum: Open Source Nagios Projects
- Topic: global_service_event_handler not working
- Replies: 9
- Views: 3984
Re: global_service_event_handler not working
# grep -Ri 'event_handler' /etc/nagios /etc/nagios/.#services-infosec.cfg.1.35:event_handler_enabled 1 /etc/nagios/.#services-infosec.cfg.1.35:event_handler_enabled 1 /etc/nagios/services-infosec.cfg:event_handler_enabled 1 /etc/nagios/services-infosec.cfg:event_handler_enabled 1 /etc/nagios/hosts-i...
- Thu Dec 19, 2013 10:24 am
- Forum: Open Source Nagios Projects
- Topic: global_service_event_handler not working
- Replies: 9
- Views: 3984
Re: global_service_event_handler not working
I have both parameters enabled but I do not see it executed.
# egrep 'log_event|enable_event_handlers' /etc/nagios/nagios.cfg
log_event_handlers=1
enable_event_handlers=1
# egrep 'log_event|enable_event_handlers' /etc/nagios/nagios.cfg
log_event_handlers=1
enable_event_handlers=1
- Wed Dec 18, 2013 5:43 pm
- Forum: Open Source Nagios Projects
- Topic: global_service_event_handler not working
- Replies: 9
- Views: 3984
global_service_event_handler not working
I have been trying to send SNMPtrap using global_service_event_handler and global_host_event_handler but it does not work. Nagios user can execute commands created for this purpose but nothing happens when service/host events are generated. Nagios does recognize global event handlers defined in nagi...