Page 1 of 1
how to display all event handlers actives
Posted: Wed Nov 14, 2018 4:07 am
by iam33
Thanks in advance!
Is there any way to view all the event_handlers actives per services/hosts?
Is there any frontend web to show this?
thanks!
Re: how to display all event handlers actives
Posted: Wed Nov 14, 2018 5:03 pm
by npolovenko
Hi,
@iam33. You can set -> log_event_handlers=1 in the /usr/local/nagios/etc/nagios.cfg file and restart the nagios process. Then you'd see all event handlers activity logged in the nagios.log file.
But there is no way to specifically query the event handler activity by a host or a service, in XI.
You could use Log Server or other log sorting solution to query the nagios.log file and filter results by the event handler name and so on.
Re: how to display all event handlers actives
Posted: Thu Nov 15, 2018 6:43 am
by iam33
thanks npolovenko, but I would like it to be in visual gui (web or similar). I don“t want if a event_handler is activate or when.
I would like to view how many event_hanldlers I have configured, for example.
Re: how to display all event handlers actives
Posted: Thu Nov 15, 2018 12:28 pm
by npolovenko
@iam33, In Core interface, you can click on the Configuration menu in the left column. In the Object Type field select -> Services and click Continue. You'll see the list of services and if they have Event Handler it will show in the Event Handler column. From that page, you can copy and paste rows to the Excell spreadsheet.
Re: how to display all event handlers actives
Posted: Fri Nov 16, 2018 2:35 am
by iam33
Yes, this is it!!
Thank you so much!!!
Re: how to display all event handlers actives
Posted: Fri Nov 16, 2018 2:15 pm
by npolovenko
@iam33, Perfect! Closing the thread as resolved.