Forum Discussion
kev_245_28249
Nimbostratus
Jun 08, 2011convert OID to mcpd process id - per sol11127
Hi, I would like to make use of the 'logger -p' command to generate syslog messages in order to test syslog and snmp traps. I can get this working but find it difficult to know which of the following ...
nitass
Employee
Jun 09, 2011this is my test.
[root@orchid:Active] config cat user_alert.conf
alert TESET_LOG "hello world" {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.1234"
}
[root@orchid:Active] config logger -p local0.info "hello world"
[root@orchid:Active] config cat /var/log/ltm
Jun 8 22:24:20 local/orchid info root: hello world
timeIPversiontimestampsnmpTrapOIDvarbinds
Thu Jun 09 13:24:14 SGT 2011172.28.16.34216 minutes 59 seconds.1.3.6.1.4.1.3375.2.4.0.1234OID: .1.3.6.1.2.1.1.3.0. Value: 16 minutes 59 seconds; OID: .1.3.6.1.6.3.1.1.4.1.0. Value: .1.3.6.1.4.1.3375.2.4.0.1234; OID: .1.3.6.1.4.1.3375.2.4.1.1. Value: hello world; OID: .1.3.6.1.6.3.1.1.4.3.0. Value: .1.3.6.1.4.1.3375.2.4;
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
