> I have downloaded and compiled the source code.
> it is working on /usr/lib/nagios/plugin, but not in other directories,
> Here is the message that I see on nagios screen:
> Critical : (Return code of 126 is out of bounds - plugin may be
> missing)
> 
> is there any way to set up another directory for custom commands.

Plugins can reside anywhere you want to put them. Just make sure that
the permissions on them are correct for the Nagios user to run them, and
that you specify the location correctly in your command definition.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to