- Timestamp:
-
01/28/08 14:41:12 (5 years ago)
- Author:
-
anonymous
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v14
|
v15
|
|
| 74 | 74 | checkEventLog filter=new file=system file=application MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-eventSource=substr:Service filter-eventSource=substr:Tcpip |
| 75 | 75 | CRITICAL: 27 > critical: ESENT, ESENT, ESENT, ESENT,... |
| | 76 | |
| 76 | 77 | }}} |
| 77 | 78 | Define in nagios configuration: |
| … |
… |
|
| 81 | 82 | command_line check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkEventLog -a filter=new file=system file=application MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-eventSource=substr:Service filter-eventSource=substr:Tcpip |
| 82 | 83 | } |
| | 84 | |
| 83 | 85 | }}} |
| 84 | 86 | Please note: You need allow_nasty_meta_chars=1 in NSC.ini to use time filters like ">2d" (last 48 hours). |
| … |
… |
|
| 91 | 93 | check_command check_event_log |
| 92 | 94 | } |
| | 95 | |
| 93 | 96 | }}} |
| 94 | 97 | |
|
|