Mass add hosts... help!

I know there has been some mention of using addhost.php to add multiple hosts. I need to add 100+ Access Points but when I try and use the .php with the below command (like I have seen in posts) it doesn’t work.


[email protected]:~$ ./addhost.php v2c ccgs-public

Could not connect to, please check the snmp details and snmp reachability

Yet if I do it via the GUi.
Adding host community ccgs-public port 161 using udp
Device added (74)

You’ve mixed the community + version order around. Switch them and it should add.

Thanks that worked.