Index: README.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nagios/README.txt,v
retrieving revision 1.2
diff -u -r1.2 README.txt
--- README.txt	8 Feb 2009 21:15:34 -0000	1.2
+++ README.txt	9 Feb 2009 16:29:27 -0000
@@ -76,16 +76,16 @@
 
    define command{
      command_name  check_drupal
-     command_line  /usr/lib/nagios/plugins/check_drupal -H $HOSTADDRESS$ -u $ARG1$ -T $ARG2$
+     command_line  /usr/lib/nagios/plugins/check_drupal -H $HOSTNAME$ -U $ARG1$ -t $ARG2$
    }
 
 3. Create a hostgroup for the hosts that run Drupal and need to be monitored.
    This is normally in a hostgroups.cfg file.
-   
+
    define hostgroup {
      hostgroup_name  drupal-servers
      alias           Drupal servers
-     members         yoursite.example.com, mysite.example.com 
+     members         yoursite.example.com, mysite.example.com
    }
 
 4. Defined a service that will run for this host group
@@ -93,7 +93,7 @@
    define service{
      hostgroup_name         drupal-servers
      service_description    DRUPAL
-     check_command          check_drupal!-U "unique_id" -t 2 
+     check_command          check_drupal!unique_id!2
      use                    generic-service
      notification_interval  0 ; set > 0 if you want to be renotified
    }
@@ -153,7 +153,7 @@
 The data returned is an associative array as follows:
 
 array(
-  'key'  => 'IDENTIFIER', 
+  'key'  => 'IDENTIFIER',
   'data' => array(
     'status' => STATUS_CODE,
     'text'   => 'Text description for the problem',
@@ -162,8 +162,8 @@
 
 STATUS_CODE must be one of the following, defined in nagios.module:
 
-  NAGIOS_STATUS_OK 
-  NAGIOS_STATUS_UNKNOWN 
+  NAGIOS_STATUS_OK
+  NAGIOS_STATUS_UNKNOWN
   NAGIOS_STATUS_WARNING
   NAGIOS_STATUS_CRITICAL
 

