Computer and IT knowledge - things to know
#!/bin/bash
arpentries=`/usr/bin/snmpwalk -c public -v 2c 192.168.99.1 IP-MIB::ipNetToMediaNetAddress |wc -l`
echo "0 arp-entries-192.168.99.1 arp=$arpentries number of arp entries from 192.168.99.1 is $arpentries"
========================
to run the script as a checkmk local job > put this script to directory /usr/lib/check_mk_agent/local of your checkmk agent installation
computer2know :: thank you for your visit :: have a nice day :: © 2025