Monitor host B from host A nagios xi command

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
rambertnala
Posts: 62
Joined: Fri Feb 26, 2016 7:15 am

Monitor host B from host A nagios xi command

Post by rambertnala »

Hi friends.
I would like to implement a check that can ping host B from host A (both are Windows Server) through a check command sent by Nagios xi.
I have enabled checknet module to use check_ping plugin. Command would be

check_nrpe -H Host_A -c check_ping -a host=Host_B "critical=(time > 20 or loss > 10)"

Is there any place where i could get examples from this plugin???

In my case i wanna 10 packets sent and get critical if 10% lost packets or time > 20ms
If i use sent=10 the answer is fast like no 10 packets sent...

Any help???

Regards
User avatar
lgute
Posts: 319
Joined: Mon Apr 06, 2020 2:49 pm

Re: Monitor host B from host A nagios xi command

Post by lgute »

Hi @rambertnala, thanks for reaching out.

The NRPE documentation is available at https://support.nagios.com/kb/category.php?id=10

In the NRPE documentation there are examples and Use cases at https://support.nagios.com/kb/category.php?id=160
Please let us know if you have any other questions or concerns.

-Laura
rambertnala
Posts: 62
Joined: Fri Feb 26, 2016 7:15 am

Re: Monitor host B from host A nagios xi command

Post by rambertnala »

Hi @lgute

In this case checknet is a module from nsclient. In my case Nsclient version 0.5.2.35. I wanna use check_ping from this module and option sent 10 packets

Thanks