I am using CheckEventLog of NSClient++0.4.1 to do a real-time monitoring.
And according to official documentation, there were warn
and crit
options.
warn
Expression which raises a warning status.
Syntax: warn=ARGUMENT
Sample:
check_eventlog ... warn=ARGUMENT ...
crit
Expression which raises a critical status.
Syntax: crit=ARGUMENT
Sample:
check_eventlog ... crit=ARGUMENT ...
But it didn't explain how to use the options.
What does ARGUMENT
mean?
Can I use it like the filter
option, for example: crit=type = warning AND source = 'System'
?
Need some help, thanks.