Ad Widget

Collapse

snmp problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • riffe
    Junior Member
    • May 2006
    • 18

    #1

    snmp problem

    Hi there, I really love the zabbix 1.1beta new interface and would like to setup one but i'm having a problem in adding snmp hosts.

    It is always saying connection refused when i add an snmp host. I can issue snmpwalk and snmpget and had some values for the host. I also setup snmptrapd and followed the instruction on copying the snmptrap.sh to /home/zabbix/bin. By the way I also have the zabbix_sender, zabbix_agent, zabbix_agentd in this directory.

    This is the snmptrap.sh I've modified. Is this correct?

    ZABBIX_SERVER="192.168.1.1";
    ZABBIX_PORT="10051";

    ZABBIX_SENDER="~zabbix/bin/zabbix_sender";

    KEY="public";
    HOST="192.168.1.1";

    # END OF CONFIGURATION

    read hostname
    read ip
    read uptime
    read oid
    read address
    read community
    read enterprise

    oid=`echo $oid|cut -f2 -d' '`
    address=`echo $address|cut -f2 -d' '`
    community=`echo $community|cut -f2 -d' '`
    enterprise=`echo $enterprise|cut -f2 -d' '`

    I would appreciate any help. Many Thanks.
Working...