I also added a new Zabbix agent item which counts the interfaces without ipv4
It's not as elegant or sturdy as I want it to be, but let's see if this will give me false positives….
ifconfig | grep -A2 'ether ' | grep -c options
0
In Zabbix Agent, they look like this:
UserParameter=net.ipv4.ifs,ifconfig | egrep -c 'inet .*[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ '
UserParameter=net.ipv4.noip, ifconfig | grep -A2 'ether ' | grep -c options
I noticed that check.reload.status really spikes my processor and I have more than a minute no connection after I add an interface or vlan…
Sometimes not all the interfaces come back with an IP
It would be nice if this didn't happen in the final version....