Page 1 of 1

Nagios plugins

Posted: Wed Nov 09, 2011 5:40 pm
by sherrera1
Hello,

Is it possible to run a nagios plugin outside of nagios? For example, check_ping, how can i run this; if so what would my syntax look like?

/libexec/nagios-plugins/check_ping ????

Thanks for the help

Re: Nagios plugins

Posted: Thu Nov 10, 2011 10:21 am
by raggmopp
From a command line - yes.
To get the syntax, append the -h switch. Example
/usr/local/nagios/libexec/check_ping -h

Re: Nagios plugins

Posted: Thu Nov 10, 2011 5:30 pm
by sherrera1
Thank you. That worked.