Created on
05-15-2024
01:08 AM
Edited on
05-15-2024
01:09 AM
By
Jean-Philippe_P
Description | This article describes how to monitor a Linux machine with SNMPv2. |
Scope | FortiSIEM. |
Solution |
The next steps show how to configure the monitoring on a Linux device with SNMPv2. The following configuration is basic and has to be customized to the needs.
From Red-hat Linux-based machines as root: yum install -y net-snmp net-snmp-libs net-snmp-utils From Debian Linux based machines as root: apt-get install snmpd snmp
cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak
The suggested configuration is basic but can obviously be customized, change 'myCommunity' with the desired community name. echo 'com2sec allConfig default myCommunity' > /etc/snmp/snmpd.conf
systemctl restart snmpd
Now it is possible to check that snmpd is running properly and retrieve some data:
Run the discovery on the node.
|