Execute Nagios external commands from a remote hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Execute Nagios external commands from a remote hosts

Post by mon-team »

Hi Team,
We would like to allow a remote window host to execute Nagios external commands on our NagiosXI.
Any idea on how we can do this?

The deamon NRECD (http://exchange.nagios.org/directory/Ad ... on/details) could be a good solution for us but the client program send_nrec is available only for linux.

Thanks

Best Regards
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Execute Nagios external commands from a remote hosts

Post by WillemDH »

Hello,

You can do this with NRDP. Ccheck this tool I wrote: http://exchange.nagios.org/directory/Pl ... rk/details

The tool can set downtime for a host or several hosts. You could use the same technique for any external command.

This is the list of all external commands possible: http://old.nagios.org/developerinfo/ext ... ndlist.php

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Execute Nagios external commands from a remote hosts

Post by scottwilkerson »

Thanks WillemDH.

Another alternative would be to have the remote machine ssh to the Nagios server and execute the command
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: Execute Nagios external commands from a remote hosts

Post by mon-team »

Thank you all,
The solution suggested by willemDH works very well for me.
You can close this topic. Thanks
Locked