Community discussions

MikroTik App
 
inatec
just joined
Topic Author
Posts: 14
Joined: Wed May 02, 2018 3:47 pm

*partly SOLVED* CRS317-1G-16S: problem with SNMPv3 and libnet-snmp-perl

Mon May 07, 2018 12:43 pm

Hello,

we use the check plugin https://github.com/lausser/check_nwc_health/ for all our network devices and SNMPv3. I can use snmpwalk with -v3, but not the plugin, it complains:
check_nwc_health --protocol 3 --username monitoring --authpassword 'foo' --privpass 'bar' --privprotocol des --authprotocol sha -H 192.168.1.8 --mode uptime
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Net/SNMP.pm line 2620.
CRITICAL - cannot create session object: Time synchronization failed during discovery
One reason could be (tcpdump):
snmpUsmMIB.usmMIBObjects.usmStats.usmStatsUnknownEngineIDs.0=464
It seems like, that the SNMP(v3) is not correct implemented in the latest RouterOS. How can I help, to fix this issue ?

cu denny
Last edited by inatec on Mon May 07, 2018 4:01 pm, edited 2 times in total.
 
inatec
just joined
Topic Author
Posts: 14
Joined: Wed May 02, 2018 3:47 pm

Re: CRS317-1G-16S: problem with SNMPv3 and check_nwc_health (Icinga/Nagios)

Mon May 07, 2018 3:13 pm

hi,

I tried also a different plugin, which is also based on libnet-snmp-perl and no luck :-(:
check_snmp_int.pl -H 192.168.1.8  -l monitoring -x 'foo' -X 'bar' -L sha,des -w 1500,295 -c 2500,400  -k -B --label -k -B --label -n "sfp-sfpplus.*"
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Net/SNMP.pm line 2620.
ERROR opening session: Time synchronization failed during discovery.
same error.

cu denny
 
inatec
just joined
Topic Author
Posts: 14
Joined: Wed May 02, 2018 3:47 pm

Re: CRS317-1G-16S: problem with SNMPv3 and check_nwc_health (Icinga/Nagios)

Mon May 07, 2018 3:49 pm

hi,

I've found a patch ... https://manuel.mausz.at/coding/patches/ ... tch?text=1 to make it possible to use that plugins .... I do not understand (https://rt.cpan.org/Public/Bug/Display.html?id=75191), why I have to do it only for the RouterOS ... but it works.

Who is online

Users browsing this forum: CJWW, EmuAGR, GoogleOther [Bot], Kuitz, NetHorror and 74 guests