template use for a new setup
Posted: Wed Aug 15, 2012 1:26 pm
Hi all,
I'm relatively new to Nagios and in the process of deploying a new XI server. This server will be monitoring 300+ servers, many of which perform similar functions. In parallel, I'm writing new scripts that'll feed information to Nagios for monitoring purposes.
What I'm trying to prevent is modifying each host entry with new services every time a new script is available. I've read over many posts and it seems templates is the way to go but I can't find any document on how to set them up. I've create host templates and service templates but I'm not sure how to join them.
I had expected to set up a host template, lets call it "ApplicationServer" and then set up multiple hosts using this template. Then, going forward, I could modify the .... something ... related to the "ApplicationServer" template so add the same service to all hosts using that template. Am I on the right track or way off? I can't seem to find that magic something the connects hosts and services.
Any help would be greatly appreciated.
Oh, I'm using Nagios XI (latest version) running in a VM.
Thanks,
I'm relatively new to Nagios and in the process of deploying a new XI server. This server will be monitoring 300+ servers, many of which perform similar functions. In parallel, I'm writing new scripts that'll feed information to Nagios for monitoring purposes.
What I'm trying to prevent is modifying each host entry with new services every time a new script is available. I've read over many posts and it seems templates is the way to go but I can't find any document on how to set them up. I've create host templates and service templates but I'm not sure how to join them.
I had expected to set up a host template, lets call it "ApplicationServer" and then set up multiple hosts using this template. Then, going forward, I could modify the .... something ... related to the "ApplicationServer" template so add the same service to all hosts using that template. Am I on the right track or way off? I can't seem to find that magic something the connects hosts and services.
Any help would be greatly appreciated.
Oh, I'm using Nagios XI (latest version) running in a VM.
Thanks,