Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yum install net-snmp
- nano /etc/snmp/snmpd.conf
- rocommunity rocommunityname <server NMS>
- rocommunity rocommunityname localhost
- extend nginx /etc/snmp/nginx-stats
- extend phpfpmsp /etc/snmp/phpfpm-sp
- extend mysql /etc/snmp/mysql
- extend memcached /etc/snmp/memcached
- syslocation Datacenter XX
- systemctl start snmpd
- #dari NMS/localhost
- snmpwalk -v 2c -c rocommunityname -h <localhost/ip server remote>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement