I have some simple SNMP version 1 checks, polling some interfaces of my NAS, working just fine in master.4d6754ffc5b8ab1a54d6fc9d19819dfedfaf9ced.1359043503, but after upgrading to master.57d42b3ced2b3293f9e3fee35bb4f7bcdabd23e2.1364969173, I don't get any results:
noit# show check f21ba4a6-0e63-45cd-8d55-b0bbb296d38d
==== f21ba4a6-0e63-45cd-8d55-b0bbb296d38d ====
name: eth0::1
module: snmp [inherited from dc1/synology/@module]
target: nas [inherited from dc1/synology/DS213/@target]
resolve_rtype: prefer-ipv4 [inherited from @resolve_rtype]
period: 60000 [inherited from dc1/synology/@period]
timeout: 30000 [inherited from dc1/@timeout]
oncheck: [undef]
filterset: default [inherited from @FilterSet]
disable: [undef]
config::community: public
config::version: 1
target_ip: 192.168.69.7
currently: 00000060 idle
next run: 40.554 seconds
last run: 17.852 seconds ago
availability/state: available/bad
status: results=0
feeds: 0
metrics:
noit#
A tcpdump on port 161 looks like this:
13:30:31.029494 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 57)
192.168.69.30.32810 > 192.168.69.7.161: [bad udp cksum 0x0bad -> 0x08e0!] { SNMPv1 { GetRequest(14) R=1324089835 } }
0x0000: 4500 0039 0000 4000 4011 2f3e c0a8 451e E..9..@.@./>..E.
0x0010: c0a8 4507 802a 00a1 0025 0bad 301b 0201 ..E.....%..0...
0x0020: 0004 0670 7562 6c69 63a0 0e02 044e ec01 ...public....N..
0x0030: eb02 0100 0201 0030 00 .......0.
13:30:31.030243 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 57)
192.168.69.7.161 > 192.168.69.30.32810: [udp sum ok] { SNMPv1 { GetResponse(14) R=1324089835 } }
0x0000: 4500 0039 0000 4000 4011 2f3e c0a8 4507 E..9..@.@./>..E.
0x0010: c0a8 451e 00a1 802a 0025 08de 301b 0201 ..E.....%..0...
0x0020: 0004 0670 7562 6c69 63a2 0e02 044e ec01 ...public....N..
0x0030: eb02 0100 0201 0030 00 .......0.
And when I look on localhost port 8083, I get the following:
13:34:31.021497 IP (tos 0x0, ttl 64, id 1737, offset 0, flags [DF], proto TCP (6), length 430)
127.0.0.1.46057 > 127.0.0.1.8083: Flags [P.], cksum 0xffa2 (incorrect -> 0x1bd5), seq 1:379, ack 1, win 2050, options [nop,nop,TS val 20039615 ecr 20039615], length 378
0x0000: 4500 01ae 06c9 4000 4006 347f 7f00 0001 E.....@[email protected].....
0x0010: 7f00 0001 b3e9 1f93 40f3 c179 0a47 929c [email protected]..
0x0020: 8018 0802 ffa2 0000 0101 080a 0131 c7bf .............1..
0x0030: 0131 c7bf 504f 5354 202f 6469 7370 6174 .1..POST./dispat
0x0040: 6368 2f73 6e6d 7020 4854 5450 2f31 2e31 ch/snmp.HTTP/1.1
0x0050: 0d0a 486f 7374 3a20 3132 372e 302e 302e ..Host:.127.0.0.
0x0060: 310d 0a55 7365 722d 4167 656e 743a 2052 1..User-Agent:.R
0x0070: 6563 6f6e 6e6f 6974 6572 2f30 2e39 0d0a econnoiter/0.9..
0x0080: 436f 6e74 656e 742d 4c65 6e67 7468 3a20 Content-Length:.
0x0090: 3234 370d 0a41 6363 6570 742d 456e 636f 247..Accept-Enco
0x00a0: 6469 6e67 3a20 677a 6970 2c20 6465 666c ding:.gzip,.defl
0x00b0: 6174 650d 0a0d 0a3c 3f78 6d6c 2076 6572 ate.....<ch
0x00e0: 6563 6b20 7461 7267 6574 3d22 6e61 732e eck.target="nas.
0x00f0: 6272 6f73 7469 6e67 2e6e 6574 2220 7461 yyyyyyy.xxx".ta
0x0100: 7267 6574 5f69 703d 2231 3932 2e31 3638 rget_ip="192.168
0x0110: 2e36 392e 3722 206d 6f64 756c 653d 2273 .69.7".module="s
0x0120: 6e6d 7022 206e 616d 653d 2274 756e 3a3a nmp".name="tun::
0x0130: 3222 2070 6572 696f 643d 2236 3030 3030 2".period="60000
0x0140: 2220 7469 6d65 6f75 743d 2233 3030 3030 ".timeout="30000
0x0150: 223e 0a20 203c 636f 6e66 6967 3e0a 2020 ">......
0x0160: 2020 3c63 6f6d 6d75 6e69 7479 3e70 7562 ..pub
0x0170: 6c69 633c 2f63 6f6d 6d75 6e69 7479 3e0a lic.
0x0180: 2020 2020 3c76 6572 7369 6f6e 3e31 3c2f ....1</
0x0190: 7665 7273 696f 6e3e 0a20 203c 2f63 6f6e version>...</con
0x01a0: 6669 673e 0a3c 2f63 6865 636b 3e0a fig>..
13:34:31.021534 IP (tos 0x0, ttl 64, id 21795, offset 0, flags [DF], proto TCP (6), length 52)
127.0.0.1.8083 > 127.0.0.1.46057: Flags [.], cksum 0xfe28 (incorrect -> 0x6a92), seq 1, ack 379, win 2048, options [nop,nop,TS val 20039615 ecr 20039615], length 0
0x0000: 4500 0034 5523 4000 4006 e79e 7f00 0001 E..4U#@.@.......
0x0010: 7f00 0001 1f93 b3e9 0a47 929c 40f3 c2f3 .........G..@...
0x0020: 8010 0800 fe28 0000 0101 080a 0131 c7bf .....(.......1..
0x0030: 0131 c7bf .1..
13:34:31.040931 IP (tos 0x0, ttl 64, id 21796, offset 0, flags [DF], proto TCP (6), length 127)
127.0.0.1.8083 > 127.0.0.1.46057: Flags [P.], cksum 0xfe73 (incorrect -> 0xfeee), seq 1:76, ack 379, win 2048, options [nop,nop,TS val 20039620 ecr 20039615], length 75
0x0000: 4500 007f 5524 4000 4006 e752 7f00 0001 E...U$@[email protected]....
0x0010: 7f00 0001 1f93 b3e9 0a47 929c 40f3 c2f3 .........G..@...
0x0020: 8018 0800 fe73 0000 0101 080a 0131 c7c4 .....s.......1..
0x0030: 0131 c7bf 4854 5450 2f31 2e31 2032 3030 .1..HTTP/1.1.200
0x0040: 204f 4b0d 0a54 7261 6e73 6665 722d 456e .OK..Transfer-En
0x0050: 636f 6469 6e67 3a20 6368 756e 6b65 640d coding:.chunked.
0x0060: 0a53 6572 7665 723a 204a 6574 7479 2836 .Server:.Jetty(6
0x0070: 2e31 2e32 3029 0d0a 0d0a 3130 370d 0a .1.20)....107..
13:34:31.040994 IP (tos 0x0, ttl 64, id 1738, offset 0, flags [DF], proto TCP (6), length 52)
127.0.0.1.46057 > 127.0.0.1.8083: Flags [.], cksum 0xfe28 (incorrect -> 0x6a3d), seq 379, ack 76, win 2048, options [nop,nop,TS val 20039620 ecr 20039620], length 0
0x0000: 4500 0034 06ca 4000 4006 35f8 7f00 0001 E..4..@[email protected].....
0x0010: 7f00 0001 b3e9 1f93 40f3 c2f3 0a47 92e7 [email protected]..
0x0020: 8010 0800 fe28 0000 0101 080a 0131 c7c4 .....(.......1..
0x0030: 0131 c7c4 .1..
13:34:31.043311 IP (tos 0x0, ttl 64, id 21797, offset 0, flags [DF], proto TCP (6), length 317)
127.0.0.1.8083 > 127.0.0.1.46057: Flags [P.], cksum 0xff31 (incorrect -> 0x7469), seq 76:341, ack 379, win 2048, options [nop,nop,TS val 20039621 ecr 20039620], length 265
0x0000: 4500 013d 5525 4000 4006 e693 7f00 0001 E..=U%@.@.......
0x0010: 7f00 0001 1f93 b3e9 0a47 92e7 40f3 c2f3 .........G..@...
0x0020: 8018 0800 ff31 0000 0101 080a 0131 c7c5 .....1.......1..
0x0030: 0131 c7c4 3c3f 786d 6c20 7665 7273 696f .1....<ResmonRes
0x00c0: 756c 7473 3e0a 3c52 6573 6d6f 6e52 6573 ults>.<ResmonRes
0x00d0: 756c 7420 6d6f 6475 6c65 3d22 736e 6d70 ult.module="snmp
0x00e0: 2220 7365 7276 6963 653d 2274 756e 3a3a ".service="tun::
0x00f0: 3222 3e0a 3c6c 6173 745f 7570 6461 7465 2">.<last_update
0x0100: 3e31 3336 3530 3735 3237 313c 2f6c 6173 >1365075271</las
0x0110: 745f 7570 6461 7465 3e0a 3c2f 5265 736d t_update>.</Resm
0x0120: 6f6e 5265 7375 6c74 3e0a 3c2f 5265 736d onResult>.</Resm
0x0130: 6f6e 5265 7375 6c74 733e 0a0d 0a onResults>...
I run jezebel with -f and nothing else, do I use jezebel correct? Anything I have missed?
I have made sure, to update the changes in noit.conf. Any ideas would be welcome :)