Hello everyone,
I have configured nagios so far with 300 Hosts an several Services. So far, only small problems, and most of them could be fixed with a little help from this forum.
But now I have some serious question: I want Nagios to list the MAC address. That for I want to use the shell command: arp -a $HOSTADDRESS$ |awk ‘{print $4}’. This returns something like 00:aa:bb:cc:dd:ee.
I have no idea of writing own plugins, so I tried to use this as command_line. Sorrily it just returns (no output!). I have no idea what to do, I thought Nagios would just take the returned data and post it in the web-interface, maybe critical, but with the content. What do I have to do? :shock: