This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
alsoszaa
Posts: 33 Joined: Fri Sep 21, 2018 10:52 am
Post
by alsoszaa » Tue Nov 06, 2018 2:10 pm
I'm trying to check to make sure the command works, but I get this issue seen below.
I am trying to monitor several Synology devices that are all using the same DSM version (6.2). I am using Nagios XI 5.5.6
Is anyone familiar with this plugin (
https://exchange.nagios.org/directory/P ... us/details )
Code: Select all
[root@test-nagios libexec]# ./check_snmp_synology -2 public -h 192.168.0.117
./check_snmp_synology: line 227: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 323: 36
37
38
39
40
51
52
53
54
55
56
57
58
59
60
61
62
63
65
66
67
68
69
70
71
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
/tmp
/run
/dev/shm
/sys/fs/cgroup
/run/cgmanager/fs
/volume10
/volume13
/volume18
/volume6
/volume1
/volume20
/volume9
/volume11
/volume8
/volume5
/volume19
/volume4
/volume2
/volume14
/volume3
/volume22
/volume23
/volume12
/volume15
/volume17
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
8192 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
8192 Bytes
8192 Bytes
4096 Bytes
4096 Bytes
16384 Bytes
32768 Bytes
8192 Bytes
16384 Bytes
4096 Bytes
16384 Bytes
4096 Bytes
8192 Bytes
4125265
4125265
4125265
1
25
503316480
503316480
251658240
1384120320
503316480
503316480
251658240
503316480
1258291200
1384120320
1258291200
2013265920
1572864000
1572864000
2142483087
2076180480
503316480
1258291200
251658240
1258291200
321196
652
3891
1
0
0
142
19962832
307514
1233805697
202184400
211703783
199368
2694733
221944866
1082309793
391558592
802357473
1259462861
821746804
9413194
942468404
254818297
903785557
7555472
510168927 * 100 / 36
37
38
39
40
51
52
53
54
55
56
57
58
59
60
61
62
63
65
66
67
68
69
70
71
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
/tmp
/run
/dev/shm
/sys/fs/cgroup
/run/cgmanager/fs
/volume10
/volume13
/volume18
/volume6
/volume1
/volume20
/volume9
/volume11
/volume8
/volume5
/volume19
/volume4
/volume2
/volume14
/volume3
/volume22
/volume23
/volume12
/volume15
/volume17
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
8192 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
8192 Bytes
8192 Bytes
4096 Bytes
4096 Bytes
16384 Bytes
32768 Bytes
8192 Bytes
16384 Bytes
4096 Bytes
16384 Bytes
4096 Bytes
8192 Bytes
596382
4125265
4125265
4125265
1
25
503316480
503316480
251658240
1384120320
503316480
503316480
251658240
503316480
1258291200
1384120320
1258291200
2013265920
1572864000
1572864000
2142483087
2076180480
503316480
1258291200
251658240
1258291200
652
3891
1
0
0
142
19962832
307514
1233805697
202184400
211703783
199368
2694733
221944866
1082309793
391558592
802357473
1259462861
821746804
9413194
942468404
254818297
903785557
7555472
510168927: syntax error in expression (error token is "37
38
39
40
51
52
53
54
55
56
57
58
59
60
61
62
63
65
66
67
68
69
70
71
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
/tmp
/run
/dev/shm
/sys/fs/cgroup
/run/cgmanager/fs
/volume10
/volume13
/volume18
/volume6
/volume1
/volume20
/volume9
/volume11
/volume8
/volume5
/volume19
/volume4
/volume2
/volume14
/volume3
/volume22
/volume23
/volume12
/volume15
/volume17
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
8192 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
8192 Bytes
8192 Bytes
4096 Bytes
4096 Bytes
16384 Bytes
32768 Bytes
8192 Bytes
16384 Bytes
4096 Bytes
16384 Bytes
4096 Bytes
8192 Bytes
4125265
4125265
4125265
1
25
503316480
503316480
251658240
1384120320
503316480
503316480
251658240
503316480
1258291200
1384120320
1258291200
2013265920
1572864000
1572864000
2142483087
2076180480
503316480
1258291200
251658240
1258291200
321196
652
3891
1
0
0
142
19962832
307514
1233805697
202184400
211703783
199368
2694733
221944866
1082309793
391558592
802357473
1259462861
821746804
9413194
942468404
254818297
903785557
7555472
510168927 * 100 / 36
37
38
39
40
51
52
53
54
55
56
57
58
59
60
61
62
63
65
66
67
68
69
70
71
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.1.4
/tmp
/run
/dev/shm
/sys/fs/cgroup
/run/cgmanager/fs
/volume10
/volume13
/volume18
/volume6
/volume1
/volume20
/volume9
/volume11
/volume8
/volume5
/volume19
/volume4
/volume2
/volume14
/volume3
/volume22
/volume23
/volume12
/volume15
/volume17
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
8192 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
4096 Bytes
8192 Bytes
8192 Bytes
4096 Bytes
4096 Bytes
16384 Bytes
32768 Bytes
8192 Bytes
16384 Bytes
4096 Bytes
16384 Bytes
4096 Bytes
8192 Bytes
596382
4125265
4125265
4125265
1
25
503316480
503316480
251658240
1384120320
503316480
503316480
251658240
503316480
1258291200
1384120320
1258291200
2013265920
1572864000
1572864000
2142483087
2076180480
503316480
1258291200
251658240
1258291200
652
3891
1
0
0
142
19962832
307514
1233805697
202184400
211703783
199368
2694733
221944866
1082309793
391558592
802357473
1259462861
821746804
9413194
942468404
254818297
903785557
7555472
510168927")
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Tue Nov 06, 2018 3:27 pm
Can you run the same command in a verbose mode:
Code: Select all
./check_snmp_synology -2 public -h 192.168.0.117 -v
and show the output in code wraps?
Be sure to check out our
Knowledgebase for helpful articles and solutions!
alsoszaa
Posts: 33 Joined: Fri Sep 21, 2018 10:52 am
Post
by alsoszaa » Tue Nov 06, 2018 4:35 pm
Now I get something else entirely. But this is still not the expected output. I must specify that I edited the plugin in the above (first) post. I was getting no data and so I changed one piece of the line 317 in the plugin as suggested in the reviews:
Not sure if this is still any use to anyone but I fixed the missing volume disk space bug by removing a $ symbol from line 317.
Original Line:
storageID[$i]=$(echo "$syno_diskspace" | grep "= "?/${storageName[$i]}$"?" | cut -d "=" -f1 | rev | cut -d "." -f1 | rev)
Replaced with:
storageID[$i]=$(echo "$syno_diskspace" | grep "= "?/${storageName[$i]}"?" | cut -d "=" -f1 | rev | cut -d "." -f1 | rev)
I am not sure if this will break anything else but it seems to be doing what I need it to now.
The below is with the code back to its original (unchanged) form
Code: Select all
[root@test-nagios libexec]# ./check_snmp_synology -2 public -h 192.168.0.117 -v
./check_snmp_synology: line 227: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
./check_snmp_synology: line 288: [: : integer expression expected
Synology model:
Synology s/n:
DSM Version:
DSM update:
System Status: Failed
Temperature: (Normal)
Power Status: Failed
System Fan Status: Failed
CPU Fan Status: Failed
Number of disks: 62
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
Number of RAID volume: 26
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
CRITICAL - Synology (s/n:, ), System status: Failed , Power status: Failed , System fan status: Failed , CPU fan status: Failed
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Tue Nov 06, 2018 4:52 pm
Can we have you run this from the command line and show the output
Code: Select all
/usr/bin/snmpget -OQne -v 2c -c public -t 10 192.168.0.117 192.168.5.50 1.3.6.1.4.1.6574.1.5.1.0 1.3.6.1.4.1.6574.1.5.2.0 1.3.6.1.4.1.6574.1.5.3.0 1.3.6.1.4.1.6574.1.1.0 1.3.6.1.4.1.6574.1.2.0 1.3.6.1.4.1.6574.1.3.0 1.3.6.1.4.1.6574.1.4.1.0 1.3.6.1.4.1.6574.1.4.2.0 1.3.6.1.4.1.6574.1.5.4.0
I know it's a really long command but that's what the script calls
alsoszaa
Posts: 33 Joined: Fri Sep 21, 2018 10:52 am
Post
by alsoszaa » Tue Nov 06, 2018 6:18 pm
Here is the output.
.1.3.6.1.4.1.6574.1.5.1.0 = "RC18015xs+"
.1.3.6.1.4.1.6574.1.5.2.0 = "1580MKN201400"
.1.3.6.1.4.1.6574.1.5.3.0 = "DSM 6.2-23739"
.1.3.6.1.4.1.6574.1.1.0 = 1
.1.3.6.1.4.1.6574.1.2.0 = 40
.1.3.6.1.4.1.6574.1.3.0 = 1
.1.3.6.1.4.1.6574.1.4.1.0 = 1
.1.3.6.1.4.1.6574.1.4.2.0 = 1
.1.3.6.1.4.1.6574.1.5.4.0 = 1
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Wed Nov 07, 2018 3:06 pm
Can I have you unzip the attached file and run the following command
Code: Select all
./check_snmp_synology -2 public -h 192.168.0.117 -v
At the top of the output will be a command that starts with
/usr/bin/snmpget which is similar to the one I had you run before but a log longer, can I have you post the output of that command.
thanks
You do not have the required permissions to view the files attached to this post.
alsoszaa
Posts: 33 Joined: Fri Sep 21, 2018 10:52 am
Post
by alsoszaa » Wed Nov 07, 2018 3:52 pm
Sure. Below is the output. By the way, I really appreciate this help!
Code: Select all
/usr/bin/snmpget -OQne -v 2c -c public -t 10 192.168.0.117 1.3.6.1.4.1.6574.1.5.1.0 1.3.6.1.4.1.6574.1.5.2.0 1.3.6.1.4.1.6574.1.5.3.0 1.3.6.1.4.1.6574.1.1.0 1.3.6.1.4.1.6574.1.2.0 1.3.6.1.4.1.6574.1.3.0 1.3.6.1.4.1.6574.1.4.1.0 1.3.6.1.4.1.6574.1.4.2.0 1.3.6.1.4.1.6574.2.1.1.2.0 1.3.6.1.4.1.6574.2.1.1.3.0 1.3.6.1.4.1.6574.2.1.1.5.0 1.3.6.1.4.1.6574.2.1.1.6.0 1.3.6.1.4.1.6574.2.1.1.2.1 1.3.6.1.4.1.6574.2.1.1.3.1 1.3.6.1.4.1.6574.2.1.1.5.1 1.3.6.1.4.1.6574.2.1.1.6.1 1.3.6.1.4.1.6574.2.1.1.2.2 1.3.6.1.4.1.6574.2.1.1.3.2 1.3.6.1.4.1.6574.2.1.1.5.2 1.3.6.1.4.1.6574.2.1.1.6.2 1.3.6.1.4.1.6574.2.1.1.2.3 1.3.6.1.4.1.6574.2.1.1.3.3 1.3.6.1.4.1.6574.2.1.1.5.3 1.3.6.1.4.1.6574.2.1.1.6.3 1.3.6.1.4.1.6574.2.1.1.2.4 1.3.6.1.4.1.6574.2.1.1.3.4 1.3.6.1.4.1.6574.2.1.1.5.4 1.3.6.1.4.1.6574.2.1.1.6.4 1.3.6.1.4.1.6574.2.1.1.2.5 1.3.6.1.4.1.6574.2.1.1.3.5 1.3.6.1.4.1.6574.2.1.1.5.5 1.3.6.1.4.1.6574.2.1.1.6.5 1.3.6.1.4.1.6574.2.1.1.2.6 1.3.6.1.4.1.6574.2.1.1.3.6 1.3.6.1.4.1.6574.2.1.1.5.6 1.3.6.1.4.1.6574.2.1.1.6.6 1.3.6.1.4.1.6574.2.1.1.2.7 1.3.6.1.4.1.6574.2.1.1.3.7 1.3.6.1.4.1.6574.2.1.1.5.7 1.3.6.1.4.1.6574.2.1.1.6.7 1.3.6.1.4.1.6574.2.1.1.2.8 1.3.6.1.4.1.6574.2.1.1.3.8 1.3.6.1.4.1.6574.2.1.1.5.8 1.3.6.1.4.1.6574.2.1.1.6.8 1.3.6.1.4.1.6574.2.1.1.2.9 1.3.6.1.4.1.6574.2.1.1.3.9 1.3.6.1.4.1.6574.2.1.1.5.9 1.3.6.1.4.1.6574.2.1.1.6.9 1.3.6.1.4.1.6574.2.1.1.2.10 1.3.6.1.4.1.6574.2.1.1.3.10 1.3.6.1.4.1.6574.2.1.1.5.10 1.3.6.1.4.1.6574.2.1.1.6.10 1.3.6.1.4.1.6574.2.1.1.2.11 1.3.6.1.4.1.6574.2.1.1.3.11 1.3.6.1.4.1.6574.2.1.1.5.11 1.3.6.1.4.1.6574.2.1.1.6.11 1.3.6.1.4.1.6574.2.1.1.2.12 1.3.6.1.4.1.6574.2.1.1.3.12 1.3.6.1.4.1.6574.2.1.1.5.12 1.3.6.1.4.1.6574.2.1.1.6.12 1.3.6.1.4.1.6574.2.1.1.2.13 1.3.6.1.4.1.6574.2.1.1.3.13 1.3.6.1.4.1.6574.2.1.1.5.13 1.3.6.1.4.1.6574.2.1.1.6.13 1.3.6.1.4.1.6574.2.1.1.2.14 1.3.6.1.4.1.6574.2.1.1.3.14 1.3.6.1.4.1.6574.2.1.1.5.14 1.3.6.1.4.1.6574.2.1.1.6.14 1.3.6.1.4.1.6574.2.1.1.2.15 1.3.6.1.4.1.6574.2.1.1.3.15 1.3.6.1.4.1.6574.2.1.1.5.15 1.3.6.1.4.1.6574.2.1.1.6.15 1.3.6.1.4.1.6574.2.1.1.2.16 1.3.6.1.4.1.6574.2.1.1.3.16 1.3.6.1.4.1.6574.2.1.1.5.16 1.3.6.1.4.1.6574.2.1.1.6.16 1.3.6.1.4.1.6574.2.1.1.2.17 1.3.6.1.4.1.6574.2.1.1.3.17 1.3.6.1.4.1.6574.2.1.1.5.17 1.3.6.1.4.1.6574.2.1.1.6.17 1.3.6.1.4.1.6574.2.1.1.2.18 1.3.6.1.4.1.6574.2.1.1.3.18 1.3.6.1.4.1.6574.2.1.1.5.18 1.3.6.1.4.1.6574.2.1.1.6.18 1.3.6.1.4.1.6574.2.1.1.2.19 1.3.6.1.4.1.6574.2.1.1.3.19 1.3.6.1.4.1.6574.2.1.1.5.19 1.3.6.1.4.1.6574.2.1.1.6.19 1.3.6.1.4.1.6574.2.1.1.2.20 1.3.6.1.4.1.6574.2.1.1.3.20 1.3.6.1.4.1.6574.2.1.1.5.20 1.3.6.1.4.1.6574.2.1.1.6.20 1.3.6.1.4.1.6574.2.1.1.2.21 1.3.6.1.4.1.6574.2.1.1.3.21 1.3.6.1.4.1.6574.2.1.1.5.21 1.3.6.1.4.1.6574.2.1.1.6.21 1.3.6.1.4.1.6574.2.1.1.2.22 1.3.6.1.4.1.6574.2.1.1.3.22 1.3.6.1.4.1.6574.2.1.1.5.22 1.3.6.1.4.1.6574.2.1.1.6.22 1.3.6.1.4.1.6574.2.1.1.2.23 1.3.6.1.4.1.6574.2.1.1.3.23 1.3.6.1.4.1.6574.2.1.1.5.23 1.3.6.1.4.1.6574.2.1.1.6.23 1.3.6.1.4.1.6574.3.1.1.2.0 1.3.6.1.4.1.6574.3.1.1.3.0 1.3.6.1.4.1.6574.3.1.1.2.1 1.3.6.1.4.1.6574.3.1.1.3.1 1.3.6.1.4.1.6574.3.1.1.2.2 1.3.6.1.4.1.6574.3.1.1.3.2 1.3.6.1.4.1.6574.3.1.1.2.3 1.3.6.1.4.1.6574.3.1.1.3.3 1.3.6.1.4.1.6574.3.1.1.2.4 1.3.6.1.4.1.6574.3.1.1.3.4 1.3.6.1.4.1.6574.3.1.1.2.5 1.3.6.1.4.1.6574.3.1.1.3.5 1.3.6.1.4.1.6574.3.1.1.2.6 1.3.6.1.4.1.6574.3.1.1.3.6 1.3.6.1.4.1.6574.3.1.1.2.7 1.3.6.1.4.1.6574.3.1.1.3.7 1.3.6.1.4.1.6574.3.1.1.2.8 1.3.6.1.4.1.6574.3.1.1.3.8 1.3.6.1.4.1.6574.3.1.1.2.9 1.3.6.1.4.1.6574.3.1.1.3.9 1.3.6.1.4.1.6574.3.1.1.2.10 1.3.6.1.4.1.6574.3.1.1.3.10 1.3.6.1.4.1.6574.3.1.1.2.11 1.3.6.1.4.1.6574.3.1.1.3.11 1.3.6.1.4.1.6574.3.1.1.2.12 1.3.6.1.4.1.6574.3.1.1.3.12 1.3.6.1.4.1.6574.3.1.1.2.13 1.3.6.1.4.1.6574.3.1.1.3.13 1.3.6.1.4.1.6574.3.1.1.2.14 1.3.6.1.4.1.6574.3.1.1.3.14 1.3.6.1.4.1.6574.3.1.1.2.15 1.3.6.1.4.1.6574.3.1.1.3.15 1.3.6.1.4.1.6574.3.1.1.2.16 1.3.6.1.4.1.6574.3.1.1.3.16 1.3.6.1.4.1.6574.3.1.1.2.17 1.3.6.1.4.1.6574.3.1.1.3.17 1.3.6.1.4.1.6574.3.1.1.2.18 1.3.6.1.4.1.6574.3.1.1.3.18 1.3.6.1.4.1.6574.3.1.1.2.19 1.3.6.1.4.1.6574.3.1.1.3.19 1.3.6.1.4.1.6574.3.1.1.2.20 1.3.6.1.4.1.6574.3.1.1.3.20 1.3.6.1.4.1.6574.3.1.1.2.21 1.3.6.1.4.1.6574.3.1.1.3.21 1.3.6.1.4.1.6574.3.1.1.2.22 1.3.6.1.4.1.6574.3.1.1.3.22 1.3.6.1.4.1.6574.3.1.1.2.23 1.3.6.1.4.1.6574.3.1.1.3.23 1.3.6.1.4.1.6574.3.1.1.2.24 1.3.6.1.4.1.6574.3.1.1.3.24 1.3.6.1.4.1.6574.3.1.1.2.25 1.3.6.1.4.1.6574.3.1.1.3.25 1.3.6.1.4.1.6574.1.5.4.0
./check_snmp_synology.bash: line 229: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
./check_snmp_synology.bash: line 290: [: : integer expression expected
Synology model:
Synology s/n:
DSM Version:
DSM update:
System Status: Failed
Temperature: (Normal)
Power Status: Failed
System Fan Status: Failed
CPU Fan Status: Failed
Number of disks: 62
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
(model:) status: temperature:
Number of RAID volume: 26
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
status:
CRITICAL - Synology (s/n:, ), System status: Failed , Power status: Failed , System fan status: Failed , CPU fan status: Failed
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Wed Nov 07, 2018 4:20 pm
And now the output of this command
Code: Select all
/usr/bin/snmpget -OQne -v 2c -c public -t 10 192.168.0.117 1.3.6.1.4.1.6574.1.5.1.0 1.3.6.1.4.1.6574.1.5.2.0 1.3.6.1.4.1.6574.1.5.3.0 1.3.6.1.4.1.6574.1.1.0 1.3.6.1.4.1.6574.1.2.0 1.3.6.1.4.1.6574.1.3.0 1.3.6.1.4.1.6574.1.4.1.0 1.3.6.1.4.1.6574.1.4.2.0 1.3.6.1.4.1.6574.2.1.1.2.0 1.3.6.1.4.1.6574.2.1.1.3.0 1.3.6.1.4.1.6574.2.1.1.5.0 1.3.6.1.4.1.6574.2.1.1.6.0 1.3.6.1.4.1.6574.2.1.1.2.1 1.3.6.1.4.1.6574.2.1.1.3.1 1.3.6.1.4.1.6574.2.1.1.5.1 1.3.6.1.4.1.6574.2.1.1.6.1 1.3.6.1.4.1.6574.2.1.1.2.2 1.3.6.1.4.1.6574.2.1.1.3.2 1.3.6.1.4.1.6574.2.1.1.5.2 1.3.6.1.4.1.6574.2.1.1.6.2 1.3.6.1.4.1.6574.2.1.1.2.3 1.3.6.1.4.1.6574.2.1.1.3.3 1.3.6.1.4.1.6574.2.1.1.5.3 1.3.6.1.4.1.6574.2.1.1.6.3 1.3.6.1.4.1.6574.2.1.1.2.4 1.3.6.1.4.1.6574.2.1.1.3.4 1.3.6.1.4.1.6574.2.1.1.5.4 1.3.6.1.4.1.6574.2.1.1.6.4 1.3.6.1.4.1.6574.2.1.1.2.5 1.3.6.1.4.1.6574.2.1.1.3.5 1.3.6.1.4.1.6574.2.1.1.5.5 1.3.6.1.4.1.6574.2.1.1.6.5 1.3.6.1.4.1.6574.2.1.1.2.6 1.3.6.1.4.1.6574.2.1.1.3.6 1.3.6.1.4.1.6574.2.1.1.5.6 1.3.6.1.4.1.6574.2.1.1.6.6 1.3.6.1.4.1.6574.2.1.1.2.7 1.3.6.1.4.1.6574.2.1.1.3.7 1.3.6.1.4.1.6574.2.1.1.5.7 1.3.6.1.4.1.6574.2.1.1.6.7 1.3.6.1.4.1.6574.2.1.1.2.8 1.3.6.1.4.1.6574.2.1.1.3.8 1.3.6.1.4.1.6574.2.1.1.5.8 1.3.6.1.4.1.6574.2.1.1.6.8 1.3.6.1.4.1.6574.2.1.1.2.9 1.3.6.1.4.1.6574.2.1.1.3.9 1.3.6.1.4.1.6574.2.1.1.5.9 1.3.6.1.4.1.6574.2.1.1.6.9 1.3.6.1.4.1.6574.2.1.1.2.10 1.3.6.1.4.1.6574.2.1.1.3.10 1.3.6.1.4.1.6574.2.1.1.5.10 1.3.6.1.4.1.6574.2.1.1.6.10 1.3.6.1.4.1.6574.2.1.1.2.11 1.3.6.1.4.1.6574.2.1.1.3.11 1.3.6.1.4.1.6574.2.1.1.5.11 1.3.6.1.4.1.6574.2.1.1.6.11 1.3.6.1.4.1.6574.2.1.1.2.12 1.3.6.1.4.1.6574.2.1.1.3.12 1.3.6.1.4.1.6574.2.1.1.5.12 1.3.6.1.4.1.6574.2.1.1.6.12 1.3.6.1.4.1.6574.2.1.1.2.13 1.3.6.1.4.1.6574.2.1.1.3.13 1.3.6.1.4.1.6574.2.1.1.5.13 1.3.6.1.4.1.6574.2.1.1.6.13 1.3.6.1.4.1.6574.2.1.1.2.14 1.3.6.1.4.1.6574.2.1.1.3.14 1.3.6.1.4.1.6574.2.1.1.5.14 1.3.6.1.4.1.6574.2.1.1.6.14 1.3.6.1.4.1.6574.2.1.1.2.15 1.3.6.1.4.1.6574.2.1.1.3.15 1.3.6.1.4.1.6574.2.1.1.5.15 1.3.6.1.4.1.6574.2.1.1.6.15 1.3.6.1.4.1.6574.2.1.1.2.16 1.3.6.1.4.1.6574.2.1.1.3.16 1.3.6.1.4.1.6574.2.1.1.5.16 1.3.6.1.4.1.6574.2.1.1.6.16 1.3.6.1.4.1.6574.2.1.1.2.17 1.3.6.1.4.1.6574.2.1.1.3.17 1.3.6.1.4.1.6574.2.1.1.5.17 1.3.6.1.4.1.6574.2.1.1.6.17 1.3.6.1.4.1.6574.2.1.1.2.18 1.3.6.1.4.1.6574.2.1.1.3.18 1.3.6.1.4.1.6574.2.1.1.5.18 1.3.6.1.4.1.6574.2.1.1.6.18 1.3.6.1.4.1.6574.2.1.1.2.19 1.3.6.1.4.1.6574.2.1.1.3.19 1.3.6.1.4.1.6574.2.1.1.5.19 1.3.6.1.4.1.6574.2.1.1.6.19 1.3.6.1.4.1.6574.2.1.1.2.20 1.3.6.1.4.1.6574.2.1.1.3.20 1.3.6.1.4.1.6574.2.1.1.5.20 1.3.6.1.4.1.6574.2.1.1.6.20 1.3.6.1.4.1.6574.2.1.1.2.21 1.3.6.1.4.1.6574.2.1.1.3.21 1.3.6.1.4.1.6574.2.1.1.5.21 1.3.6.1.4.1.6574.2.1.1.6.21 1.3.6.1.4.1.6574.2.1.1.2.22 1.3.6.1.4.1.6574.2.1.1.3.22 1.3.6.1.4.1.6574.2.1.1.5.22 1.3.6.1.4.1.6574.2.1.1.6.22 1.3.6.1.4.1.6574.2.1.1.2.23 1.3.6.1.4.1.6574.2.1.1.3.23 1.3.6.1.4.1.6574.2.1.1.5.23 1.3.6.1.4.1.6574.2.1.1.6.23 1.3.6.1.4.1.6574.3.1.1.2.0 1.3.6.1.4.1.6574.3.1.1.3.0 1.3.6.1.4.1.6574.3.1.1.2.1 1.3.6.1.4.1.6574.3.1.1.3.1 1.3.6.1.4.1.6574.3.1.1.2.2 1.3.6.1.4.1.6574.3.1.1.3.2 1.3.6.1.4.1.6574.3.1.1.2.3 1.3.6.1.4.1.6574.3.1.1.3.3 1.3.6.1.4.1.6574.3.1.1.2.4 1.3.6.1.4.1.6574.3.1.1.3.4 1.3.6.1.4.1.6574.3.1.1.2.5 1.3.6.1.4.1.6574.3.1.1.3.5 1.3.6.1.4.1.6574.3.1.1.2.6 1.3.6.1.4.1.6574.3.1.1.3.6 1.3.6.1.4.1.6574.3.1.1.2.7 1.3.6.1.4.1.6574.3.1.1.3.7 1.3.6.1.4.1.6574.3.1.1.2.8 1.3.6.1.4.1.6574.3.1.1.3.8 1.3.6.1.4.1.6574.3.1.1.2.9 1.3.6.1.4.1.6574.3.1.1.3.9 1.3.6.1.4.1.6574.3.1.1.2.10 1.3.6.1.4.1.6574.3.1.1.3.10 1.3.6.1.4.1.6574.3.1.1.2.11 1.3.6.1.4.1.6574.3.1.1.3.11 1.3.6.1.4.1.6574.3.1.1.2.12 1.3.6.1.4.1.6574.3.1.1.3.12 1.3.6.1.4.1.6574.3.1.1.2.13 1.3.6.1.4.1.6574.3.1.1.3.13 1.3.6.1.4.1.6574.3.1.1.2.14 1.3.6.1.4.1.6574.3.1.1.3.14 1.3.6.1.4.1.6574.3.1.1.2.15 1.3.6.1.4.1.6574.3.1.1.3.15 1.3.6.1.4.1.6574.3.1.1.2.16 1.3.6.1.4.1.6574.3.1.1.3.16 1.3.6.1.4.1.6574.3.1.1.2.17 1.3.6.1.4.1.6574.3.1.1.3.17 1.3.6.1.4.1.6574.3.1.1.2.18 1.3.6.1.4.1.6574.3.1.1.3.18 1.3.6.1.4.1.6574.3.1.1.2.19 1.3.6.1.4.1.6574.3.1.1.3.19 1.3.6.1.4.1.6574.3.1.1.2.20 1.3.6.1.4.1.6574.3.1.1.3.20 1.3.6.1.4.1.6574.3.1.1.2.21 1.3.6.1.4.1.6574.3.1.1.3.21 1.3.6.1.4.1.6574.3.1.1.2.22 1.3.6.1.4.1.6574.3.1.1.3.22 1.3.6.1.4.1.6574.3.1.1.2.23 1.3.6.1.4.1.6574.3.1.1.3.23 1.3.6.1.4.1.6574.3.1.1.2.24 1.3.6.1.4.1.6574.3.1.1.3.24 1.3.6.1.4.1.6574.3.1.1.2.25 1.3.6.1.4.1.6574.3.1.1.3.25 1.3.6.1.4.1.6574.1.5.4.0
alsoszaa
Posts: 33 Joined: Fri Sep 21, 2018 10:52 am
Post
by alsoszaa » Wed Nov 07, 2018 4:32 pm
Interesting, too many object identifiers. You suppose this is what is causing the issue? is there a way to change the amount allowed or break it into two separate commands and then concatenate the results?
Code: Select all
Too many object identifiers specified. Only 128 allowed in one request.
USAGE: snmpget [OPTIONS] AGENT OID [OID]...
Version: 5.7.2
Web: http://www.net-snmp.org/
Email: [email protected]
OPTIONS:
-h, --help display this help message
-H display configuration file directives understood
-v 1|2c|3 specifies SNMP version to use
-V, --version display package version number
SNMP Version 1 or 2c specific
-c COMMUNITY set the community string
SNMP Version 3 specific
-a PROTOCOL set authentication protocol (MD5|SHA)
-A PASSPHRASE set authentication protocol pass phrase
-e ENGINE-ID set security engine ID (e.g. 800000020109840301)
-E ENGINE-ID set context engine ID (e.g. 800000020109840301)
-l LEVEL set security level (noAuthNoPriv|authNoPriv|authPriv)
-n CONTEXT set context name (e.g. bridge1)
-u USER-NAME set security name (e.g. bert)
-x PROTOCOL set privacy protocol (DES|AES)
-X PASSPHRASE set privacy protocol pass phrase
-Z BOOTS,TIME set destination engine boots/time
General communication options
-r RETRIES set the number of retries
-t TIMEOUT set the request timeout (in seconds)
Debugging
-d dump input/output packets in hexadecimal
-D[TOKEN[,...]] turn on debugging output for the specified TOKENs
(ALL gives extremely verbose debugging output)
General options
-m MIB[:...] load given list of MIBs (ALL loads everything)
-M DIR[:...] look in given list of directories for MIBs
(default: /root/.snmp/mibs:/usr/share/snmp/mibs)
-P MIBOPTS Toggle various defaults controlling MIB parsing:
u: allow the use of underlines in MIB symbols
c: disallow the use of "--" to terminate comments
d: save the DESCRIPTIONs of the MIB objects
e: disable errors when MIB symbols conflict
w: enable warnings when MIB symbols conflict
W: enable detailed warnings when MIB symbols conflict
R: replace MIB symbols from latest module
-O OUTOPTS Toggle various defaults controlling output display:
0: print leading 0 for single-digit hex characters
a: print all strings in ascii format
b: do not break OID indexes down
e: print enums numerically
E: escape quotes in string indices
f: print full OIDs on output
n: print OIDs numerically
q: quick print for easier parsing
Q: quick print with equal-signs
s: print only last symbolic element of OID
S: print MIB module-id plus last element
t: print timeticks unparsed as numeric integers
T: print human-readable text along with hex strings
u: print OIDs using UCD-style prefix suppression
U: don't print units
v: print values only (not OID = value)
x: print all strings in hex format
X: extended index format
-I INOPTS Toggle various defaults controlling input parsing:
b: do best/regex matching to find a MIB node
h: don't apply DISPLAY-HINTs
r: do not check values for range/type legality
R: do random access to OID labels
u: top-level OIDs must have '.' prefix (UCD-style)
s SUFFIX: Append all textual OIDs with SUFFIX before parsing
S PREFIX: Prepend all textual OIDs with PREFIX before parsing
-L LOGOPTS Toggle various defaults controlling logging:
e: log to standard error
o: log to standard output
n: don't log at all
f file: log to the specified file
s facility: log to syslog (via the specified facility)
(variants)
[EON] pri: log to standard error, output or /dev/null for level 'pri' and above
[EON] p1-p2: log to standard error, output or /dev/null for levels 'p1' to 'p2'
[FS] pri token: log to file/syslog for level 'pri' and above
[FS] p1-p2 token: log to file/syslog for levels 'p1' to 'p2'
-C APPOPTS Set various application specific behaviours:
f: do not fix errors and retry the request