Created on
11-29-2024
06:40 AM
Edited on
12-04-2024
05:59 AM
By
Jean-Philippe_P
Description | This article describes how to test FortiManager and FortiAnalyzer SNMPv3 from a Linux machine. |
Scope | FortiAnalyzer 7.0 and above and FortiManager 7.0 and above. |
Solution |
Download iReasoning MIB Browser http://ireasoning.com/.
Example:
snmpwalk -mALL -v3 -u fortinet -l authPriv -a SHA -A fortinet -x AES -X fortinet 192.168.254.101
Test SNMP v3 FAZ 7.x SHA1 AES - from Linux Ubuntu: Technical Tip: Download FortiManager, FortiAnalyzer and FortiCore SNMP MIBs.
Install snmpwalk to Linux and upload both Fortinet MIB files to /usr/share/snmp/mibs/ (UBUNTU), then use name instead of OID.
root@SRV-Ubu:~# snmpwalk -v 2c -c test12345 10.109.19.9 1.3.6.1.4.1.12356.101.4.1.1.0
root@SRV-Ubu:~# snmpwalk -v 2c -c test12345 10.109.19.9 fgSystem
root@SRV-Ubu:~# snmpwalk -v 2c -c test12345 10.109.19.9 fgSysVersion
root@SRV-Ubu:~# snmpwalk -v 2c -c test12345 10.109.19.9 -m +FORTINET-CORE-MIB:FORTINET-FORTIGATE-MIB fgSysUpTime
root@SRV-Ubu:~# snmpwalk -v 2c -c test12345 10.109.19.9 -m +FORTINET-CORE-MIB:FORTINET-FORTIGATE-MIB fgSysVersion
snmpwalk -t60 -v 3 -u u 172.16.78.45 1.3.6.1.4.1.12356.103.2.1.8.0
Related article: Technical Tip: How to configure and test SNMPv3 and SNMPv2 config on FortiManager/FortiAnalyzer |