Changes between Version 6 and Version 7 of guides/nagios/check_proc
- Timestamp:
- 07/19/09 22:29:57 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
guides/nagios/check_proc
v6 v7 72 72 WARNING:ERROR: Missing argument exception. 73 73 }}} 74 It told us we are missing an argument (not very help full , could at least have told us which:right?).74 It told us we are missing an argument (not very help full really, could at least have told us which one; right?). 75 75 76 76 Anyways off to the [wiki:CheckProcState CheckProcState] page and read up on arguments. … … 82 82 83 83 In our case (if you remember from the introduction) the process is called firefox.exe 84 85 And states is stopped or started depending on what we want to check. 84 86 85 87 So lets try to enter the following: … … 130 132 131 133 == 2. Configuring NSClient++ == 132 '''TODO''' 134 The 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] 137 CheckSystem.dll 138 NRPEListener.dll 139 FileLogger.dll 140 }}} 141 142 Then we have two options: 143 1, Use CheckExternalSripts alias function to define the command locally 144 2, Enable allow arguments for the NRPEListener module. 145 I will in this example use the allow_arguments options since it is simpler. 146 To enable this find the NRPE section and change it to 1 like so: 147 {{{ 148 [NRPE] 149 allow_arguments=1 150 ; here you will probably have more settings 151 }}} 152 153 Now we are off to testing the command from the Nagios server. 133 154 134 155 == 3. Testing the command ==








