mailq plugin
Subhendu Ghosh
sghosh at sghosh.org
Thu May 22 19:53:56 CEST 2003
On Thu, 22 May 2003, Srv Muju wrote:
>
> Hi all,
>
> 1st - apologies for the mail format if it offends.
>
> Scenario: Running nagios on Solaris 5.8 with various plugins, including check_mailq.
>
> : using check_nrpe!ip!check_command successfully from nagios on server on *all* other plugins.
>
> : running nrpe -d nrpe.cfg on remote host which as mentioned is monitoring all commands 100%
>
> Error: check_mailq command output = "Error cannot find executable" as found with nagios main view.
>
> Tried: Running check_nrpe IP addy -c check_mailq (from command line, works fine)
>
> Made sure that files are executable and running nrpe and nagios as user nagios.
>
check_mailq is a perl plugin and needs to know where "utils.pm" resides.
Modify check_mailq's "use lib ..." statement to point to the dir where
utils.pm resides.
Check utils.pm to verify that $PATH_TO_MAILQ point to a valid
executeable
Make sure that the nrpe user can execute the program. (usually it is root
only, so you may have to add group perms)
--
-sg
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list