I monitoring about 400 hosts and 4000 services. Nagios server havent performance problems. I used for helps for helpdesk variable notes:
Code: Select all
define host {
use xxx-template-vmw-windows-server;
host_name XXX-XXXWIN62SVAD00;
alias XXX-XXXWIN62SVAD00;
address 192.168.1.10;
notes <p align=left><b>Big Express AD</b><br />$_HOSTXXX_HOST_HLP_00$</p>
notification_period PO-PA_6:00-18:00
check_command check-host-alive
}
Code: Select all
define host {
name help-hosts
register 0
XXX_HOST_HLP_00 In time PO-PA_6:00-18:00 call to Mr. Smith
}
I want to have 1 help (notes) for 20 hosts the same (another help for 100 services etc..), how can I do it without macro, which slows down cgi scripts?