![](https://secure.gravatar.com/avatar/49a790cbbced114473071bf95a4c18d3.jpg?s=120&d=mm&r=g)
As Adam said, look at the community string!
Cheers, Stefano Il 21/ott/2013 10:33 "Gokul Kannan" gokul_ps@yahoo.com ha scritto:
I understand that the snmp log messages are pretty clear where it restarts (stops and starts). But still when i try to add it from Observium, it gives the error saying it couldn't reach device with given credentials.
Thanks, Gokul
On Monday, 21 October 2013 12:33 PM, Gokul Kannan gokul_ps@yahoo.com wrote: What does that mean? Am i doing something wrong?
Thanks, Gokul
On Sunday, 20 October 2013 10:00 PM, Adam Armstrong adama@memetic.org wrote: 0 != O
adam.
On 2013-10-20 17:06, Gokul Kannan wrote:
Hi All,
For some reason, I couldn’t add localhost itself. I guess the problem is with SNMP.
Please find the error messages and logs below. Would be great if anyone could help.
[root@server observium]# ./add_device.php localhost Obs3rv1um v2c Trying v2c community Obs3rv1um ... No reply on community Obs3rv1um using v2c Could not reach localhost with given SNMP community using v2c Trying v2c community Obs3rv1um ... No reply on community Obs3rv1um using v2c Could not reach localhost with given SNMP community using v2c Observium v0.13.10.4585 Add Device
USAGE: add_device.php <hostname> [community] [v1|v2c] [port] [udp|udp6|tcp|tcp6] add_device.php <hostname> [any|nanp|anp|ap] [v3] [user] [password] [enckey] [md5|sha] [aes|des] [port] [udp|udp6|tcp|tcp6]
EXAMPLE: SNMPv1/2c: add_device.php <hostname> [community] [v1|v2c] [port] [udp|udp6|tcp|tcp6] SNMPv3 : Defaults : add_device.php <hostname> any v3 [user] [port] [udp|udp6|tcp|tcp6] No Auth, No Priv : add_device.php <hostname> nanp v3 [user] [port] [udp|udp6|tcp|tcp6] Auth, No Priv : add_device.php <hostname> anp v3 <user> <password> [md5|sha] [port] [udp|udp6|tcp|tcp6] Auth, Priv : add_device.php <hostname> ap v3 <user> <password> <enckey> [md5|sha] [aes|des] [port] [udp|udp6|tcp|tcp6]
Remember to run discovery for the device afterwards.
This is my _/ETC/SYSCONFIG/SNMPD_ file
# snmpd command line options OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a"
This is my _/ETC/SNMP/SNMPD.CONF_ file
com2sec readonly default 0bs3rv1um
group MyROGroup v2c readonly view all included .1 80 access MyROGroup "" any noauth exact all none none
syslocation Rack, Room, Building, City, Country [GPSX,Y] syscontact Your Name your@email.address
#Distro Detection extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro ~ ~
Whenever I do “SERVICE SNMPD RESTART”, I can see the following error message in _/VAR/LOG/MESSAGES_
Oct 20 14:09:47 server snmpd[10038]: Received TERM or STOP signal... shutting down... Oct 20 14:09:47 server snmpd[10055]: NET-SNMP version 5.5
Appreciate your time and assistance.
Thanks, Gokul
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium