-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Meraki devices #292
Comments
Hi meni2029, I'm also struggling with Meraki devices and the missing sysUptime for check_nwc_health. Best regards |
Hi @uwereiter
I placed it in the sub my $tic = time;
# Datatype TimeTicks = 1/100s
my $sysUptime = $self->get_snmp_object('MIB-2-MIB', 'sysUpTime', 0);
# Datatype Integer32 = 1s
my $snmpEngineTime = $self->get_snmp_object('SNMP-FRAMEWORK-MIB', 'snmpEngineTime');
# Datatype TimeTicks = 1/100s
my $hrSystemUptime = $self->get_snmp_object_maybe('HOST-RESOURCES-MIB', 'hrSystemUptime');
my $sysDescr = $self->get_snmp_object('MIB-2-MIB', 'sysDescr', 0);
if ((!defined $sysUptime) && ($sysDescr =~ /meraki/i)) {
$sysUptime = 100 * 3600;
}
my $tac = time; Best regards |
Excellent! That solved my issue. Best regards |
Hi @lausser, is possible to add this fix on master for support Meraki devices? |
Hello, is it possible to add support for Meraki devices snmp polling ? Currently it is not working because there's no sysUptime available from Meraki. But if we add a fake sysUptime in the code of check_nwc_health, then interfaces checks are working.
All the details here: https://documentation.meraki.com/General_Administration/Monitoring_and_Reporting/SNMP_Overview_and_Configuration
I just added this code to avoid the missing sysUptime issue:
Thanks for your consideration
Cheers
The text was updated successfully, but these errors were encountered: