I managed to get SNMP scanning working. It was not working because I installed the agent from apt-get install ocsinventory-agent. But I removed that and Downloaded the source code for OCSInventory-agent and compiled it and it worked.
But I still do not see "iPDiscover" menu under Network. Also Network -> SNMP is empty.
Why is it empty? And how can I add the discovered host to "All Computers"?
In the Inventory -> IpDiscover, I selected one host and Added a description and also selected a TYPE. And I thought it would show in Networks -> SNMP. But Network -> SNMP is still empty.
Does SNMP scan only discover the host? and nothing can be done with it? What is the purpose of SNMP scan?
I was expecting something like
- SNMP scan
- Add Discover host to All computers
- Run SNMP scan again on the discovered host to get (CPU, OS, Memory etc., using SNM as in step 4).
- Update inventory like CPU, memory using SNMP for the discovered host.
Is that not possible for SNMP? What is the purpose of discovering and doing nothing with it?
Can someone please answer?
My company doesn't allow to install agents on all computers. So I was thinking like create one new hosts for every network subnet and use that host to scan its network SNMP and updated the inventory using SNMP. But I don't why SNMP is not collecting inventory and not adding it to All Computers or why its not showing in Network -> SNMP.
host-agent001 in 172.16.1.0/24 network -> elect as ipDiscover
host-agent002 in 192.168.1.0/24 network -> elect as ipDiscover