Behavior Models Cookbook
-
Vendor Models - SnmpresGenericLogMonitor -
Path: /model/vendors/snmp_research/snmpres_generic_log_monitor.mod
This behavior model monitors log file events reported by SNMP Research's CIAgent. When the amount of events reaches the threshold (three by default) within a specified time (the default is fifteen minutes), NerveCenter sends a 110081 Inform to the platform. If the time expires before the threshold is reached, the alarm is grounded and inform 120081 is sent. The nodes monitored must be associated with a property group that contains the property siLogEntry.
The following property must be in the property group for the nodes hosting the applications you want to monitor:
Below is a list of the objects that generate triggers:
The table below summarizes the events this behavior model sends to OpenView:
Event Name | Inform Number | Description |
---|---|---|
A logged event occurred less than three times in 15 minutes. | ||
For complete information about events sent to OpenView, see the trapd.conf.txt
file shipped with these behavior models residing in:
For more information about integrating NerveCenter with OpenView, or the other NerveCenter-supported network manager platforms, refer to the book Integrating NerveCenter with a Network Management Platform.
Below is a list of behavior model settings that you might want to customize to suit the requirements of your site.
The following is a list of sample CIAgent configurations that you might want to customize to suit the requirements of your site:
siLogEntry 1 System "Event Log: System: Dhcp" "failed to renew"
2 4 0 1 - 1 \ 2031616 0 - 2 10 2 System 1
siLogEntry 2 Application "Event Log: Application: DrWatson"
"application error" 2 4 0 \ 0 - 1 524288 0 - 2 15 2 Application
1
The default path to the CIAgent log file monitoring configuration file on Windows is:
siLogEntry 1 Syslog /var/adm/messages "login:
*pam_authenticate: *error" 2 10 \ 200 25 - 1 8233138 0 - 2 15 2
System 1
siLogEntry 3 Syslog /var/adm/syslog/syslog.log "sendmail:
*SYSERR* exiting" 2 10 0 \ 0 - 1 8233138 0 - 2 15 2 system 1
The default path to the CIAgent log file monitoring configuration file on UNIX is:
Previous: SnmpresDiskUsage | Next: SnmpresLoginMonitor |
Please send comments or corrections to Information Development | This file was last updated on 10 October 2000 |