Search found 11 matches

by attilay2k
Sat Mar 07, 2020 5:49 am
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

'ur right again, sorry :) pi@rpi4b:/usr/local/nagios/libexec $ ./check_snmp -H 192.168.1.101 -P 2c -C CORRADO -o sysUpTimeInstance -t 60 SNMP OK - Timeticks: (121088893) 14 days, 0:21:28.93 | DISMAN-EVENT-MIB::sysUpTimeInstance=121088893 Then now the question is, based on snmpwalk20200305.txt previo...
by attilay2k
Fri Mar 06, 2020 2:34 pm
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

you're right again, but the result is the same, also adding the -t parameter

pi@rpi4b:/usr/local/nagios/libexec $ ./check_snmp -H 192.168.1.101 -P 2c -c CORRADO -o sysUpTimeInstance -t 60
CRITICAL - Plugin timed out while executing system call
by attilay2k
Thu Mar 05, 2020 2:36 pm
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

p.s.: sorry, the message was sent before the end :)

if i try to run
./check_snmp -H 192.168.1.101 -c CORRADO -o sysUpTimeInstance
i got the same error :evil: :evil: :twisted:
CRITICAL - Plugin timed out while executing system call
by attilay2k
Thu Mar 05, 2020 2:33 pm
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

hi @scottwilkerson, thanks for your kind and quick reply you're right, snmpwalk to apInfo seems to be a wrong OID apInfo: Unknown Object Identifier (Sub-id not found: (top) -> apInfo) but then I just can't understand how it works, Alcatel says it doesn't provide support for Nagios and to ask you how...
by attilay2k
Wed Mar 04, 2020 11:18 am
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

hi @scottwilkerson finally i found the relation in the mib structure by asking to the vendor. Now there's another problem pi@rpi4b:/usr/local/nagios/libexec $ ./check_snmp -H xxx.xxx.xxx.xxx -P 2c -C myPrivate -o apInfo -v /usr/bin/snmpget -Le -t 3 -r 5 -m ALL -v 2c [context] [authpriv] xxx.xxx.xxx....
by attilay2k
Wed Feb 26, 2020 2:20 pm
Forum: Open Source Nagios Projects
Topic: SNMP - There is no such variable name in this MIB
Replies: 4
Views: 4565

Re: SNMP - There is no such variable name in this MIB

Hi i have the same problem: running snmpwalk i get a big list of OIDs but it seems strange to me that i must create a service for each of the OIDs, (it's also difficult to relate two distinct OIDs) .1.3.6.1.2.1.2.2.1.6.4 = STRING: xx:xx:xx:xx:xx:xx .1.3.6.1.2.1.2.2.1.6.5 = STRING: xx:xx:xx:xx:xx:xx ...
by attilay2k
Mon Feb 24, 2020 5:40 pm
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

thanks for your reply, last question:

based on snmpwalk log file previously attached, how can i relate a vlan, a network interface, and all the devixes connected with theyr ip?

there must be a way to relate them togheter
by attilay2k
Mon Feb 24, 2020 5:26 pm
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

ok it's clear that this OID is not valid but ho can i check my access point with a single check_snmp? which is the tree root?
by attilay2k
Mon Feb 24, 2020 3:40 pm
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

mmm .. maybe my previous post was not so clear, sorry using snmpwalk -v 2c -On -c MyPrivate xxx.xxx.xxx.xxx > snmpwalk.log i get a list of over 4800 OIDs, but i dont understand the hierarchy if y run ./check_snmp -H xxx.xxx.xxx.xxx -C MyPrivate -o .1.3.6.1.2.1.25.1.4.0 i can get this result SNMP OK ...
by attilay2k
Mon Feb 24, 2020 2:57 pm
Forum: Open Source Nagios Projects
Topic: help on check_snmp
Replies: 18
Views: 5809

Re: help on check_snmp

Hi @scottwilkerson this is the output of the command snmpwalk -v 2c -On -c 'MyPrivate' xxx.xxx.xxx.xxx .1.3.6.1.4.1.6486.802.1.1.2.1.2.1 .1.3.6.1.4.1.6486.802.1.1.2.1.2.1 = STRING: "XX:XX:XX:XX:XX:XX" Error: OID not increasing: .1.3.6.1.4.1.6486.802.1.1.2.1.2.1 >= .1.3.6.1.4.1.6486.802.1.1...