Ad Widget

Collapse

zabbix monitor Linux servers by SNMP way

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ghost068
    Junior Member
    • Aug 2016
    • 9

    #1

    zabbix monitor Linux servers by SNMP way

    hi guys
    some Linux server cannot install zabbix agent,and I am working with monitoring those by SNMP way. I would like to use the prepared template:Template SNMP OS Linux, but when i create a host link with it, it gives errors like this:

    Cannot find host interface on "10.16.x.x" for item key "ifDescr".

    I wonder if I make some mistake with /etc/snmp/snmpd.conf, here is it:

    com2sec notConfigUser default public
    group notConfigGroup v1 notConfigUser
    group notConfigGroup v2c notConfigUser
    view systemview included .1.3.6.1.2.1.1
    view systemview included .1.3.6.1.2.1.25.1.1
    view all included .1
    access notConfigGroup "" any noauth exact all none none

    any ideas would help,thx.
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by ghost068
    hi guys
    some Linux server cannot install zabbix agent,and I am working with monitoring those by SNMP way. I would like to use the prepared template:Template SNMP OS Linux, but when i create a host link with it, it gives errors like this:

    Cannot find host interface on "10.16.x.x" for item key "ifDescr".

    I wonder if I make some mistake with /etc/snmp/snmpd.conf, here is it:

    com2sec notConfigUser default public
    group notConfigGroup v1 notConfigUser
    group notConfigGroup v2c notConfigUser
    view systemview included .1.3.6.1.2.1.1
    view systemview included .1.3.6.1.2.1.25.1.1
    view all included .1
    access notConfigGroup "" any noauth exact all none none

    any ideas would help,thx.
    first of all,
    before adding a host to snmp zabbix you should run from you zabbix server
    this:

    snmpwalk -v 2c -c$COMMUNTYNAME $HOSTIP

    and see if it runs.
    after it done running add this to zabbix.

    Comment

    • ghost068
      Junior Member
      • Aug 2016
      • 9

      #3
      Originally posted by batchenr
      first of all,
      before adding a host to snmp zabbix you should run from you zabbix server
      this:

      snmpwalk -v 2c -c$COMMUNTYNAME $HOSTIP

      and see if it runs.
      after it done running add this to zabbix.
      hi, I have checked this, and it runs ok.
      I can get CPU and memory values, but when I set a auto-discovery for disk and interface with prepared template, it gives this error:

      key value: hrStorageDescr
      oid: discovery[{#SNMPVALUE},HOST-RESOURCES-MIB::hrStorageDescr]

      Comment

      • ghost068
        Junior Member
        • Aug 2016
        • 9

        #4
        Originally posted by ghost068
        hi, I have checked this, and it runs ok.
        I can get CPU and memory values, but when I set a auto-discovery for disk and interface with prepared template, it gives this error:

        key value: hrStorageDescr
        oid: discovery[{#SNMPVALUE},HOST-RESOURCES-MIB::hrStorageDescr]

        I have finished this problem,and it‘s just a little stupid mistake~~

        Comment

        Working...