looks like the option of 'ap' is actually needed to accept the v3 input in addhost.php, otherwise it just pulls the arguments from defaults.inc.php, completely ignoring the arguments you give it.

working example: ./addhost.php my.juniper.router ap v3 USERNAME PASS ENCRYPTPASS sha aes 161 udp

I wasn't using the 'ap' after the hostname. Might be worth fleshing this out in the wiki a bit more, i couldn't find anything.


On 20 May 2013 12:26, Paul Gear <observium@gear.dyndns.org> wrote:
On 05/20/2013 09:19 PM, Jacob Gardiner wrote:
I've got a juniper device i'm trying to add using snmpv3 but running into some issues when running the ./addhost.php script. 
...
Then, when running ./addhost.php:

# ./addhost.php my.juniper.router COMMUNITY v3 gops PASS PASS sha aes 161 udp
Trying v3 parameters observium/noAuthNoPriv ...
No reply on credentials observium/noAuthNoPriv using v3
Could not reach my.juniper.router with given SNMP community using v3

Doing it with -d (debug) turned on might give more info.

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Jacob Gardiner
@jacobgardiner