Page 1 of 1

Execute Nagios external commands from a remote hosts

Posted: Fri Jan 23, 2015 7:16 am
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

Re: Execute Nagios external commands from a remote hosts

Posted: Fri Jan 23, 2015 9:58 am
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

Re: Execute Nagios external commands from a remote hosts

Posted: Fri Jan 23, 2015 10:00 am
by scottwilkerson
Thanks WillemDH.

Another alternative would be to have the remote machine ssh to the Nagios server and execute the command

Re: Execute Nagios external commands from a remote hosts

Posted: Wed Feb 04, 2015 10:02 am
by mon-team
Thank you all,
The solution suggested by willemDH works very well for me.
You can close this topic. Thanks