![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Hi Frank,
Please don't hijack threads, it screws up everything for those of us with real mail clients.
Possibly the first thing that could go wrong once inside createHost() is getHostOS, I assume snmp_get works otherwise your entire installation would be broken.
addhost.php needs an overhaul, but you can try adding $debug=1; to the top of addhost.php temporarily, then at least the database and snmp functions will return some debug output.
Tom
On Fri, 2013-01-11 at 13:34 +0000, Dudek, Frank wrote:
Hi team,
I am facing a peculiar issue with our Observium instance where I cannot add new devices either through the GUI or the CLI. This has been the case across a few updates now, so I am fairly certain it is not a broken script per se, rather something in our installation.
The symptom is that there is no response from the specified host
[root@observium:/opt/observium]# ./addhost.php myhostname mycommunity v2c Trying community mycommunity ...
[root@observium]
… it just quite without any output, although an snmpwalk with the same parameters succeeds.
My questions are: Are these attempts being logged somewhere? Observium is not very verbose…
So far I have confirmed that "isSNMPable" returns true, but I am unsure how to check "createHost". I have also confirmed that the observium user has the correct SQL grants.
Anyone ever come across this before?
Thanks
Frank
Frank Dudek Skype: frank_dudek
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium