Changes between Version 6 and Version 7 of guides/nagios/check_proc


Ignore:
Timestamp:
07/19/09 22:29:57 (4 years ago)
Author:
mickem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • guides/nagios/check_proc

    v6 v7  
    7272WARNING:ERROR: Missing argument exception. 
    7373}}} 
    74 It told us we are missing an argument (not very help full, could at least have told us which: right?). 
     74It told us we are missing an argument (not very help full really, could at least have told us which one; right?). 
    7575 
    7676Anyways off to the [wiki:CheckProcState CheckProcState] page and read up on arguments. 
     
    8282 
    8383In our case (if you remember from the introduction) the process is called firefox.exe 
     84 
     85And states is stopped or started depending on what we want to check. 
    8486 
    8587So lets try to enter the following: 
     
    130132 
    131133== 2. Configuring NSClient++ == 
    132 '''TODO''' 
     134The main thing in NSClient++ is to load the CheckSystem module but we also need NRPEListener to be able to call this (via check_nrpe) from Nagios and in addition to this the FileLogger is a nice way to see if things go wrong. 
     135{{{ 
     136[modules] 
     137CheckSystem.dll 
     138NRPEListener.dll 
     139FileLogger.dll 
     140}}} 
     141 
     142Then we have two options: 
     143 1, Use CheckExternalSripts alias function to define the command locally 
     144 2, Enable allow arguments for the NRPEListener module. 
     145I will in this example use the allow_arguments options since it is simpler. 
     146To enable this find the NRPE section and change it to 1 like so: 
     147{{{ 
     148[NRPE] 
     149allow_arguments=1 
     150; here you will probably have more settings  
     151}}} 
     152 
     153Now we are off to testing the command from the Nagios server. 
    133154 
    134155== 3. Testing the command ==