I am very new to Nagios..managed to install nagios on fedora 9 and successfully setup to monitor a test window pc as per guide..
I came across nagios marco....sound simple..however i dont know where to place all this macro..
based on this example below, if u want to monitor 3 hosts, i would need to define 3 times "define host...." where do i place the "define command..."? inside window.cfg?
command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 100.0,90% -c 200.0,60%
Please assist. Thank you.