per VDOM SNMP OID's to monitor CPU, Mem etc

Author
Megatron
New Member
  • Total Posts : 2
  • Scores: 2
  • Reward points: 0
  • Joined: 2018/06/27 08:41:53
  • Status: offline
2018/06/27 10:46:02 (permalink)
5 (1)

per VDOM SNMP OID's to monitor CPU, Mem etc

In case any one is interested figured out how to do per vdom snmp monitoring for CPU, mem etc
 
Took a bit more than finding a standard OID value, as each VDOM needs it own OID value.
 
Below are the main OIDs then add on the end .1 for VDOM 1. Ok so you need to find out which VDOM is number one.
I found out that you can't use the diagnose sys vd list command as it doesn't give the right info. Your best option is do a MIB walker against the firewall and this will return the vdom name against the OID 1.3.6.1.4.1.12356.101.3.2.1.1.2
 
ie  SNMPv2-SMI::enterprises.12356.101.3.2.1.1.2.2 = STRING: "CUSTOMER2" so you know you can then use OID 1.3.6.1.4.1.12356.101.3.2.1.1.5.2  adding the 2 on end as you know this is VDOM 2 now and name your graphs.
 
We used a standard SMNP customer OID sensor in PRTG to graph the CPU %, MEM % and session rate values
 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdInfo.fgVdNumber 1.3.6.1.4.1.12356.101.3.1.1 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdInfo.fgVdMaxVdoms 1.3.6.1.4.1.12356.101.3.1.2 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdInfo.fgVdEnabled 1.3.6.1.4.1.12356.101.3.1.3 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTable.fgVdEntry.fgVdEntIndex 1.3.6.1.4.1.12356.101.3.2.1.1.1 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTable.fgVdEntry.fgVdEntName 1.3.6.1.4.1.12356.101.3.2.1.1.2 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTable.fgVdEntry.fgVdEntOpMode 1.3.6.1.4.1.12356.101.3.2.1.1.3 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTable.fgVdEntry.fgVdEntHaState 1.3.6.1.4.1.12356.101.3.2.1.1.4 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTable.fgVdEntry.fgVdEntCpuUsage 1.3.6.1.4.1.12356.101.3.2.1.1.5 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTable.fgVdEntry.fgVdEntMemUsage 1.3.6.1.4.1.12356.101.3.2.1.1.6 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTable.fgVdEntry.fgVdEntSesCount 1.3.6.1.4.1.12356.101.3.2.1.1.7 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTable.fgVdEntry.fgVdEntSesRate 1.3.6.1.4.1.12356.101.3.2.1.1.8 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTpTable.fgVdTpEntry.fgVdTpMgmtAddrType 1.3.6.1.4.1.12356.101.3.2.2.1.1 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTpTable.fgVdTpEntry.fgVdTpMgmtAddr 1.3.6.1.4.1.12356.101.3.2.2.1.2 
FORTINET-FORTIGATE-MIB:fortinet.fnFortiGateMib.fgVirtualDomain.fgVdTables.fgVdTpTable.fgVdTpEntry.fgVdTpMgmtMask 1.3.6.1.4.1.12356.101.3.2.2.1.3 
 
Hope this might be of use to someone
 
Rob
#1

0 Replies Related Threads

    Jump to:
    © 2021 APG vNext Commercial Version 5.5