Description | This article describes the integration between FortiOS and WhatsUp Gold using SNMPv3 with Authentication/Encryption based on SHA256/AES256 |
Scope |
Environment:
|
Solution |
On FortiGate:
Be careful to select AES256 Cisco as Encryption Algorithm (instead of AES256). WhatsUp Gold uses a different way from what FortiGate supported to extend the size of the localized key of SNMPv3 encryption protocol AES256. WhatsUp Gold can work with CISCO's SNMPv3 AES256.
To configure from the CLI:
On WhatsUp Gold (WEB GUI)
(Start section):
(Expand section):
(Limit section):
(Credential Section):
(Options Section):
(Schedule Section):
(Review & Run Section):
The scan process may take few minutes.
After the scan has been completed something like the below picture will be visible. Switch to the 'Device List' view.
Once the scan is completed the device appears on the list, select the related row and see the right box that appears. Expand the 'Credentials' and 'More Device Information' sections. Be sure that the device has been discovered using SNMPv3.
Select 'Start Monitoring':
After few seconds the device icon should change (a green circle appears). Now the FortiGate is monitored. To confirm this, go to My Network, select the device, and select the Status icon (on the right box).
The status of the device is showed on the ANALYZE screen.
To allow WhatsUp Gold to intercepts traps received from FortiGate, go to Settings -> System Settings -> Passive Monitor Listeners Flag 'Listen for messages' (Port 162) and 'Accept unsolicited SNM traps'.
Select 'Save'.
Assign the monitor to the device under My Network, select the FortiGate, select the 'Properties' button on the right box.
Select the 'Passive monitors' tab and select' +'.
Select 'SNMP Trap' as type and 'Any Trap' as monitor:
Select 'Next'and select '+” on the screen 'Actions for this passive monitor'.
Select 'Default Web Alarm':
Select 'OK' and 'Finish'. The screen should be similar to the following:
WhatsUp Gold is now configured to monitor the FortiGate state. To test the integration, for example, temporarily disable a FortiGate interface, then re-enable it after a few seconds. After some time, WhatsUp Gold will display an alert similar to the one shown in the image below.
Go to Analyze -> Logs -> SNMP Traps to see the details of the trap:
FortiGate Troubleshooting: On FortiGate, it is possible to analyze the SNMP daemon activity with the following commands:
diag debug reset diag debug application snmpd -1 diag debug enable
Or listen the SNMP requests, with the command:
diagnose sniffer packet any 'port 161' 4 0 l
Related documents: FortiOS 7.2.7 Administration Guide (SNMP): https://docs.fortinet.com/document/fortigate/7.2.7/administration-guide/62595/snmp RFC2574: https://www.ietf.org/rfc/rfc2574.txt WhatsUp Gold: https://docs.progress.com/bundle/whatsupgold-user-help-24-0/page/SNMPv3.html |