Closed joschi99 closed 4 years ago
Have you tried the plugin fortimanager ? It should be ok
You are right, it seems working, I need to check only mode=device-status, because output is like:
Device 'xxx' Status : none, Connection Status : unknown, DB Status : unknown, Configuration Status : unknown
Device 'xxx' Status : none, Connection Status : unknown, DB Status : unknown, Configuration Status : unknown
Device 'xxx' Status : none, Connection Status : unknown, DB Status : unknown, Configuration Status : unknown
Device 'xxx' Status : none, Connection Status : unknown, DB Status : unknown, Configuration Status : unknown
Device 'xxx' Status : none, Connection Status : unknown, DB Status : unknown, Configuration Status : unknown
Device 'xxx' Status : none, Connection Status : unknown, DB Status : unknown, Configuration Status : unknown
Device 'xxx' Status : none, Connection Status : unknown, DB Status : unknown, Configuration Status : unknown
Device 'xxx' Status : none, Connection Status : unknown, DB Status : modified, Configuration Status : unknown
Device 'xxx' Status : none, Connection Status : unknown, DB Status : modified, Configuration Status : unknown
I have followed the mib. Look that OID: .1.3.6.1.4.1.12356.103.6.2.1.15
I got these results:
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.1 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.2 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.3 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.4 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.5 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.6 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.7 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.8 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.6.2.1.15.9 = INTEGER: 0
Sure that 0 is "none"?
And it should be interessting to check HA status
It's 'none': Device 'xxx' Status : none
none (0),
unknown (1),
checked-in (2),
in-progress (3),
installed (4),
aborted (5),
sched (6),
retry (7),
canceled (8),
pending (9),
retrieved (10),
changed-conf (11),
sync-fail (12),
timeout (13),
rev-reverted (14),
auto-updated (15)
If you want the ha mode. I need snmpwalk for: .1.3.6.1.4.1.12356.103.9
SNMPv2-SMI::enterprises.12356.103.9.1.1.0 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.9.1.2.0 = INTEGER: 1
SNMPv2-SMI::enterprises.12356.103.9.1.3.0 = INTEGER: 0
SNMPv2-SMI::enterprises.12356.103.9.1.3.0 = No more variables left in this MIB View (It is past the end of the MIB tree)
It's a standalone device. Do you have with ha configured ?
Not at yet
You could open it when you have it!
It should be nice to have a plugin for FortiAnalyzer to monitor
FortiAnalyzer.zip