Hi all,
Is there a way of restarting the snmp service for bandwidth whiteout restarting the fw
To test the SNMPD (SNMP Daemon) the following CLI commands are useful:
To get to the SNMP Diag menu (non-VDOM):
[ol]The following menu will display:
SNMP Daemon Test Usage 1: display daemon pid 2: display snmp statistics 3: clear snmp statistics 4: generate test trap (oid: 999) 5: generate deploy traps 99: restart daemon
To Restart the Daemon type:
diag test application snmpd 99
For VDOMs: config global diagnose sys top - find PID of snmpd diagnose sys kill 11 <pid>
FWIW
sometime the diag sys top doesn't show the proc id, so a sure way is to query the linux /var/run directory
e.g
FGT110C (global) # fnsysctl ls /var/run/snmpd.pid /var/run/snmpd.pid
FGT110C (global) # fnsysctl cat /var/run/snmpd.pid 123
then kill the proc using diag sys kill or fnsysctl kill -9 <pid>
Just re cat the file to ensure you have a new pid.
http://socpuppet.blogspot...on-or-any-daemons.html
PCNSE
NSE
StrongSwan
Tried that and gave me a new PID, but no response in the snmp
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 |
---|---|
1740 | |
1108 | |
752 | |
447 | |
240 |
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.