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
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
You can use the following command to get the snmp-index value of each VDOM to use in the OID:
config system vdom-property
https://docs.fortinet.com/document/fortigate/6.4.0/cli-reference/105620/system-vdom-property
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1720 | |
1094 | |
752 | |
447 | |
234 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.