Hi,
I've installed zabbix 2.0 rc2 on ubuntu from sources. All work fine except for snmp items: I can only get information by OID number.
For example, I want to get information about Windows Hostname (OID 1.3.6.1.2.1.1.5.0). With OID number all it's ok, but if I configure snmp item as sysName.0 no data was returned.
from command line, if I execute:
snmpget -v 1 -c public {ipaddress} 1.3.6.1.2.1.1.5.0
this is the response:
iso.3.6.1.2.1.1.5.0 = STRING: "myHOSTNAME"
if I execute:
snmpget -v 1 -c public {ipaddress} sysName.0
this is the response:
sysName.0: Unknown Object Identifier (Sub-id not found: (top) -> sysName)
Then I've installed net-snmp 5.7.1 follow this link:
http://www.net-snmp.org/wiki/index.p...Snmp_on_Ubuntu
and now I can get hostname with
snmpget -v 1 -c public {ipaddress} sysName.0
but from zabbix don't work.
What's the problem? There is any configuration parameter on zabbix_server.conf? There is a guide that explain how to install properly net-snmp and configure it on zabbix?
Br,
fabio
I've installed zabbix 2.0 rc2 on ubuntu from sources. All work fine except for snmp items: I can only get information by OID number.
For example, I want to get information about Windows Hostname (OID 1.3.6.1.2.1.1.5.0). With OID number all it's ok, but if I configure snmp item as sysName.0 no data was returned.
from command line, if I execute:
snmpget -v 1 -c public {ipaddress} 1.3.6.1.2.1.1.5.0
this is the response:
iso.3.6.1.2.1.1.5.0 = STRING: "myHOSTNAME"
if I execute:
snmpget -v 1 -c public {ipaddress} sysName.0
this is the response:
sysName.0: Unknown Object Identifier (Sub-id not found: (top) -> sysName)
Then I've installed net-snmp 5.7.1 follow this link:
http://www.net-snmp.org/wiki/index.p...Snmp_on_Ubuntu
and now I can get hostname with
snmpget -v 1 -c public {ipaddress} sysName.0
but from zabbix don't work.
What's the problem? There is any configuration parameter on zabbix_server.conf? There is a guide that explain how to install properly net-snmp and configure it on zabbix?
Br,
fabio
Comment