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