Page 1 of 1

Plugin of Nagios XI for know if a host is alive using LS ?

Posted: Sun Feb 16, 2020 3:05 am
by alopera
Ping is uses in Nagios XI for know if a host is a alive.

Sometimes the firewall block the connection.

In Nagios XI I want check if a host is alive if in the last 5 min there is logs In LS. Is possible ?

If a host answers to ping or there ir events is alive.

Regards

Re: Plugin of Nagios XI for know if a host is alive using LS

Posted: Mon Feb 17, 2020 4:58 pm
by lmiltchev
You don't need to use LS. If ICMP requests are not allowed for this host, you could change your "host alive" command to use something else, e.g. using check_tcp against a port that is open, etc.

Here's our documentation on changing the host alive check command:

https://assets.nagios.com/downloads/nag ... _In_XI.pdf

Re: Plugin of Nagios XI for know if a host is alive using LS

Posted: Tue Feb 18, 2020 1:50 am
by alopera
Is there a plugin Nagios XI for check the number of events/15 min (integrated to LS) of a host?

regards

Re: Plugin of Nagios XI for know if a host is alive using LS

Posted: Tue Feb 18, 2020 5:05 pm
by benjaminsmith
Hi Alberto,

Please see PM.

Re: Plugin of Nagios XI for know if a host is alive using LS

Posted: Tue Feb 18, 2020 5:07 pm
by scottwilkerson
Yes, you can run the Nagios Log Server Wizard, and use the "Text Queries" section

The example below will give a count for the host "192.168.5.153" and warn if over 50, critical if over 100 in the last 15 minutes
Log events.JPG