![](https://secure.gravatar.com/avatar/42d9edbe2df229bd7f590c4f289ba563.jpg?s=120&d=mm&r=g)
On 18.07.2013 12:14, Daniel Preussker wrote:
haha adam,
also I just found 2(maybe more to come?) bugs in addhost.php and discovery/poller/backend(?).
You are a genius. But sorry, we do not award the prizes.
- Input is not stripped properly in addhost.php If I add a passphrase containing a '$'-char, it's taken as variable in PHP and it will try to substitute it (mostly to a blank string unless you hit an existing (internal) var)
It's not PHP, it's shell. Use quotes for passwords and keys in command line!
- Passphrases are chopped! I saw in the discovery debug output that all passphrases are chopped so (ofc) my snmpv3 auth-fails... I'm not sure where this happens though, addhost.php works fine using the entire passphrases...
Best regards,
Daniel Preussker
[ Security Consultant, Network & Protocol Security and Cryptography [ LPI & Novell Certified Linux Engineer and Researcher [ +49 178 600 96 30 [ Daniel@Preussker.Net [ http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x87E736968E490AA1
On 18.07.2013, at 10:08, Adam Armstrong wrote:
On 2013-07-18 10:05, Daniel Preussker wrote:
Hi, I recently set up another host. This time using SNMPv3. addhost.php worked fine and both Auth and Priv passed. discovery.php can't discover the host. poller.php can't poll the host. via snmpget I get responces to sysUpTime.0 but not to .1, .0, ... The snmpd.conf should grand the user full Readonly rights as I didn't specify any SubID to the user. Is this known? Is there a way around? Is there any example of a working snmpv3-only setup?
SNMPv3. Not even once.
adam. _______________________________________________ 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