NT Mail Counter for the Queue/Spool Dir Filling up

Rodney Caston contractor6 at match.com
Wed Nov 3 20:20:24 CET 2004


Nevermind, this works:

define command{
          command_name    check_nt_smtp_queue
          command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
COUNTER -l "\\SMTP Server(_Total)\\Remote Queue Length","%.f" -w $ARG1$
-c $ARG2$
        }

hope this helps someone else :)

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rodney
Caston
Sent: Wednesday, November 03, 2004 12:16 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] NT Mail Counter for the Queue/Spool Dir Filling
up

Is there a way to have nagios poll a NT box and alarm when a directory
has a large number of files in it?  Such as the case with mail queues.

I was trying to find a way to do this with check_nt and nsclient, but it
seems only good for getting the total diskspace, rather then the file
count in a certain directory.




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
_______________________________________________
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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&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