Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to get current bandwidth of firewall policy via SNMP
Hi all,
Can help me to get current bandwidth of firewall policy like below picture via OID SNMP.
Now, I have retrieved the value of fgFwPolByteCount, but it count is from the time the policy became active. Do you have any ideas for getting current bandwidth? Thank you for any feedback
Labels:
- Labels:
-
Firewall policy
-
FortiGate
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello tomi_it,
Could please review this document:
Technical Support Engineer,
Anthony.
Anthony.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry. According to your guidance, I couldn't find any OID returning the value of bytes collected over 1 minute. The fgFwPolStatsEntry doesn't return any unique numerical value?!
The MIB file that I downloaded from the device only interprets like this:
FgFwPolStatsEntry ::= SEQUENCE {
fgFwPolID FnIndex,
fgFwPolPktCount Counter32,
fgFwPolByteCount Counter32,
fgFwPolLastUsed DisplayString,
fgFwPolPktCountHc Counter64,
fgFwPolByteCountHc Counter64
}
fgFwPolID OBJECT-TYPE
SYNTAX FnIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Firewall policy ID. Only enabled policies are present in this table. Policy IDs are only unique within a virtual domain."
::= { fgFwPolStatsEntry 1 }
fgFwPolPktCount OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of packets matched to policy (passed or blocked, depending on policy action). Count is from the time the policy became active."
::= { fgFwPolStatsEntry 2 }
fgFwPolByteCount OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of bytes in packets matching the policy. See fgFwPolPktCount."
::= { fgFwPolStatsEntry 3 }
