Conf: cat /etc/ocsinventory/ocsinventory-agent.cfg
ssl=1
ca=/etc/ssl/certs/ca.pem
basevardir=/var/lib/ocsinventory-agent
debug=1
server=https://ocs.xxxx.com.br/ocsinventory/
tag=TI
logger=Stderr
logfile=/var/log/ocsinventory-agent/ocsinventory-agent.log
SNMP_SWITCH=ON
SNMP_NETWORK=192.168.5.0/24 , 192.168.21.0/27
log ocs agent
[Mon May 11 15:22:41 2020][debug] =END=SERVER RET======
[Mon May 11 15:22:41 2020][debug] Calling handlers : `end_handler'
[Mon May 11 15:22:41 2020][debug] [snmp] Calling snmp_end_handler
[Mon May 11 15:22:41 2020][debug] [snmp] Snmp: Scanning network
[Mon May 11 15:22:41 2020][debug] [snmp] Snmp: Ending Scanning network
[Mon May 11 15:22:41 2020][debug] [snmp] Scanning 172.16.1.86 device
[Mon May 11 15:23:05 2020][debug] [snmp] Failure in scanning Device 172.16.1.86: no snmp communication
[Mon May 11 15:23:05 2020][debug] [snmp] Scanning 172.16.1.24 device
[Mon May 11 15:23:29 2020][debug] [snmp] Failure in scanning Device 172.16.1.24: no snmp communication
[Mon May 11 15:23:29 2020][debug] [snmp] Scanning 172.16.1.70 device
[Mon May 11 15:23:53 2020][debug] [snmp] Failure in scanning Device 172.16.1.70: no snmp communication
[Mon May 11 15:23:53 2020][debug] [snmp] Scanning 172.16.1.53 device
[root@ocs ~]# ocsinventory-agent -V
Ocsinventory unified agent for UNIX, Linux and MacOSX (2.4.2)
Even with the subnet registered manually, the Agent cannot scan the network in question 192.168.21.0/27