Hi Adam and Team
I found the issue with the Fortigate sessions.
Please see the svn diff below.
Thanks
Basile
/opt/observium/includes/polling/os# svn diff
Index: fortigate.inc.php
===================================================================
--- fortigate.inc.php (revision 6350)
+++ fortigate.inc.php (working copy)
@@ -11,9 +11,12 @@
*
*/
-$fnSysVersion = snmp_get($device, "FORTINET-FORTIGATE-MIB::fgSysVersion.0", "-Ovq");
-$serial = snmp_get($device, "FORTINET-FORTIGATE-MIB::fnSysSerial.0", "-Ovq");
+$mib = 'FORTINET-FORTIGATE-MIB';
+echo(" $mib ");
+$fnSysVersion = snmp_get($device, "fgSysVersion.0", "-OvQ", $mib, mib_dirs('fortinet'));
+$serial = snmp_get($device, "fnSysSerial.0", "-OvQ", $mib, mib_dirs('fortinet'));
+
$version = preg_replace("/(.+),(.+),(.+)/", "\\1||\\2||\\3", $fnSysVersion);
list($version,$features) = explode("||", $version);
@@ -23,7 +26,7 @@
}
$sessrrd = "fortigate_sessions.rrd";
-$sessions = snmp_get($device, "FORTINET-FORTIGATE-MIB::fgSysSesCount.0", "-Ovq");
+$sessions = snmp_get($device, "fgSysSesCount.0", "-OvQ", $mib, mib_dirs('fortinet'));
if (is_numeric($sessions))
{