Daft question,
why would you be restarting the SNMP service anyways?
As it only restarts on server reboot anyways?
Regards
Simon
On 25 May 2019, at 06:52, Chris Macneill via observium observium@observium.org wrote:
I started digging in the PHP code............
/opt/observium/includes/polling/system.inc.php lines 122 & 123
if ($device['os'] != 'windows' && $device['snmp_version'] != 'v1' && is_device_mib($device, 'HOST-RESOURCES-MIB'))
This condition statement specifically excludes Windows from using HOST-RESOURCES-MIB::hrSystemUptime.0, but I have no idea why.
I guess if I remove the !windows and it fixes my problem, then that's a solution.
Maybe this OID is only present in some versions of MS Windows?? So condition statement needs to be more granular and only exclude those versions which don't have this OID.
Regards
Chris Macneill Web: www.cmit.nz
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium