Forum Discussion
stereo_111948
Feb 20, 2015Nimbostratus
Simplifying the editing of alert.conf on multiple devices
I'm in the process of doing email alert notifications following Sol3667: Configuring alerts to send email notifications.
Instead of editing all alert.conf in several BIG-IP's one by one, is it s...
nitass
Feb 21, 2015Employee
what i mean is to configure /config/user_alert.conf instead of editing /etc/alertd/alert.conf. i understand if alert name is identical, configuration in user_alert.conf takes precedence.
.1.3.6.1.4.1.3375.2.4.0.10 is configured in alert.conf but .1.3.6.1.4.1.3375.2.4.0.100 is set in user_alert.conf.
[root@ve11d:Active:Changes Pending] config grep -A 2 BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS\ { /etc/alertd/alert.conf
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.10"
}
[root@ve11d:Active:Changes Pending] config cat /config/user_alert.conf
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.100"
}
trap sends .1.3.6.1.4.1.3375.2.4.0.100.
[root@ve11d:Active:Changes Pending] config tcpdump -nni eth0 -s0 -X udp port 162
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
21:24:01.926783 IP 172.28.24.225.37050 > 172.28.24.1.162: V2Trap(236) .1.3.6.1.2.1.1.3.0=162397030 .1.3.6.1.6.3.1.1.4.1.0=.1.3.6.1.4.1.3375.2.4.0.100 .1.3.6.1.4.1.3375.2.4.1.1="Pool /Common/foo member /Common/200.200.200.101:80 monitor status down. [ /Common/fake: down ] [ was unchecked for 0hr:0min:12sec ]" .1.3.6.1.6.3.1.1.4.3.0=.1.3.6.1.4.1.3375.2.4
0x0000: 4500 0119 0000 4000 4011 b0b9 ac1c 18e1 E.....@.@.......
0x0010: ac1c 1801 90ba 00a2 0105 8a31 3081 fa02 ...........10...
0x0020: 0101 0406 7075 626c 6963 a781 ec02 046b ....public.....k
0x0030: aab9 aa02 0100 0201 0030 81dd 3010 0608 .........0..0...
0x0040: 2b06 0102 0101 0300 4304 09ad fb66 3019 +.......C....f0.
0x0050: 060a 2b06 0106 0301 0104 0100 060b 2b06 ..+...........+.
0x0060: 0104 019a 2f02 0400 6430 8194 060b 2b06 ..../...d0....+.
0x0070: 0104 019a 2f02 0401 0104 8184 506f 6f6c ..../.......Pool
0x0080: 202f 436f 6d6d 6f6e 2f66 6f6f 206d 656d ./Common/foo.mem
0x0090: 6265 7220 2f43 6f6d 6d6f 6e2f 3230 302e ber./Common/200.
0x00a0: 3230 302e 3230 302e 3130 313a 3830 206d 200.200.101:80.m
0x00b0: 6f6e 6974 6f72 2073 7461 7475 7320 646f onitor.status.do
0x00c0: 776e 2e20 5b20 2f43 6f6d 6d6f 6e2f 6661 wn..[./Common/fa
0x00d0: 6b65 3a20 646f 776e 205d 2020 5b20 7761 ke:.down.]..[.wa
0x00e0: 7320 756e 6368 6563 6b65 6420 666f 7220 s.unchecked.for.
0x00f0: 3068 723a 306d 696e 3a31 3273 6563 205d 0hr:0min:12sec.]
0x0100: 3017 060a 2b06 0106 0301 0104 0300 0609 0...+...........
0x0110: 2b06 0104 019a 2f02 04 +...../..
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