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))
 {

2015-03-23 12:33 GMT+01:00 Basile Bluntschli <basile.bluntschli@gmail.com>:
Hi Thomas

did you get an answer or fixed it by yourself?

Thanks
Basile


2015-02-02 14:38 GMT+01:00 Thomas Raabo - Zitcom A/S <tr@zitcom.dk>:

At some point we had FortiGate support for session graphing and so on.


Now its gone. Does somebody know why?


Thomas

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium