[Nagios-users] Open Relay Check Plugin?

2006-10-26 Thread Paul Houselander
Hi

Am kind of new to nagios but have a working installation now.

Ive looked in nagios exchange and couldnt find a plugin that would check for
an open relay and wondered if anyone knew if one existed. Ive got a few
basic scripts that I use at the moment to check if one of my customers has
gone open relay but thought it would sit nicely with nagios?

Cheers

Paul



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


[Nagios-users] check_mailq plugin

2006-10-25 Thread Paul Houselander
Hi

Ive just started using nagios and have it set up on a Cent 0S 4.3 box.

Seems to be working ok but ive ran into a problem where I want to check the
size of the mail queue on another server. Ive installed nrpe on the remote
server and checked its working by running on the nagios server:-

/usr/lib/nagios/plugins/check_nrpe -H remote_server_name -c check_load

I get back the load average from the remote machine.

If I run

/usr/lib/nagios/plugins/check_nrpe -H remote_server_name -c check_mailq

I always get back

OK: mailq is empty

Ive installed the plugin on the remote server and if I run locally I get

/usr/lib/nagios/plugins/check_mailq -w 100 -c 200
CRITICAL: mailq is 221 (threshold c = 200)|unsent=221;100;200;0

So I know the plugin is working. If I do check_mailq -h it mentions
something about the mailq command can only be accessed by root or a
TrustedUser - nrpe is running as nagios - does anyone know what I need to do
to the mailq command to allow it to work? I tried added nagios to the
/etc/mail/trusted-users file but this doesnt seem to have done the trick.

Any help appreciated.

Kind regards

Paul





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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