cacti 被监控机器snmp 配置
被監控服務器 需要查看網卡流量, 磁盤空間等信息。修改如下。
vi?/etc/snmp/snmpd.conf
?
1、找到com2sec?notConfigUser??default???????public?
改為:com2sec?notConfigUser???192.168.1.1(改成監控服務器的ip)???????public?
?
2、找到access??notConfigGroup?""??????any???????noauth????exact??systemview??none?none?
改 為:access??notConfigGroup?""??????any???????noauth????exact??all??none??none?
?
3、找到#view?all????included??.1?????????80?
將前面的?#?注釋?去掉。
?
#以下為訪問項目,如果想監控磁盤空間,load等需把注釋去掉
#編譯安裝默認已去掉,自帶安裝的需手動把注釋去掉
#? Make sure mountd is running
proc mountd #去掉前面的"#"
#? Make sure there are no more than 4 ntalkds running, but 0 is oktoo.
proc ntalkd 4
#? Make sure at least one sendmail, but less than or equal to 10 arerunning.
proc sendmail 10 1
# Check the / partition and make sure it contains at least 10 megs.
disk / 10000
# Check for loads:
load 12 14 14
轉載于:https://blog.51cto.com/329994/1889954
總結
以上是生活随笔為你收集整理的cacti 被监控机器snmp 配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 超级终端连接华为交换机_win8系统使用
- 下一篇: Linux学习之exit函数