Some things don't work

Dimitri Yioulos dyioulos at firstbhph.com
Tue Nov 23 23:00:55 CET 2004


I use NSClient to monitor Windows, my check_command looks like:

define command{

         command_name    check_nt_disk

         command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 5668 -v 

USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$

         }

 

In services it's defined as:

define service{

         use                             generic-service

         host_name                        xone,xthree,xfour

         service_description             check_nt_disk

         is_volatile                     0

         check_period                    24x7

         max_check_attempts              3

         normal_check_interval           5

         retry_check_interval            1

         contact_groups                  Test-Admins

         notification_interval           120

         notification_period             24x7

         notification_options            c,r

         check_command                   check_nt_disk!c!90!95

         }

 

 

Jan,

 

I followed the directives in you post, as per the above, and . it works!
Many thanks to you.

 

Now, I don't want to appear lazy; I've done my best to get the nrpe piece
configured properly.  I should say that I've used the Dag Wieers rpms to
install nagios, nagios-plugins-nrpe, and nagios-nrpe (I don't know the
difference between the last two).  Once again, at least afaic, the
documentation isn't that good.  So, I'm going to push my luck and ask:

 

Do I have to add anything nrpe-related to the client machines?  What
directives must I add to what files on the nagios server?  I'd like to start
out by monitoring Current Users, Total Processes, and Disk Free Space.  All
of these boxes are Linux.

 

I'm real close here.

 

Dimitri

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041123/359b18fd/attachment.html>


More information about the Users mailing list