I have installed observium on Ubuntu 14.04 LTS server.
Now, I am trying to add a windows 7 instance device to observium.
But, when I try to add the device the following message appears:
root@observium:/opt/observium# ./add_device.php debian public
Observium CE 0.14.11.6000
Add Device(s)
Try to add debian:
Trying v2c community public ...
No reply on community public using v2c.
Could not reach debian with given SNMP parameters using v2c.
Trying v1 community public ...
No reply on community public using v1.
Could not reach debian with given SNMP parameters using v1.
Devices skipped: 1.
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]
add_device.php <filename>
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]
FILE : add_device.php <filename>
ADD FROM FILE:
To add multiple devices, create a file in which each line contains one device with or without options.
Format for device options, the same as specified in USAGE.
I have enabled snmp service on Windows 7, the devices ping each other, computer name is added to /etc/hosts on observium but the device cannot be added to observium.
From the above message, I cannot understand what the problem is as I don't see any choice configuring snmp parameters on Windows 7 except community.
Best Answer
You need configure SNMP agent to accept requests from remote hosts. To configure SNMP agent in windows, follow the steps given below:
I hope this help.