check_mailq

carole gimenez gimenez at cict.fr
Fri Mar 11 14:47:43 CET 2005


Hi,

I use a patched version of check_mailq that permits to indicate the 
configuration file that must be used.

In my nrpe.cfg, i define this command:
command[check_mail]=/usr/local/nagios/libexec/check_mailq -w $ARG1$ -c 
$ARG2$ -f $ARG3$

and for example, in the definition of my service, i put this:
check_nrpe!check_mail!2000!3000!/etc/mail/sendmail.cf.delivery

I hope that help you.

Carole.

Askar Ali wrote:

> hi list
>
> anyone got an example of
>
> Usage: check_mailq -w <warn> -c <crit> [-W <warn>] [-C <crit>] [-M 
> <MTA>] [-t <timeout>] [-v verbose]
>
> MTA: qmail
>
> for both check_command and ccheckcommand.cfg files ?
>
>
> regards
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
>
>

-- 
**********************************
GIMENEZ Carole
Ingénieur Système
CICT - Université Paul Sabatier
118, route de Narbonne
31062 Toulouse Cedex
Tél.: 05.61.36.60.44
Fax: 05.61.52.14.58
Mail: gimenez at cict.fr
**********************************	



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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