Page 1 of 1

bulk services

Posted: Sun Aug 27, 2017 2:23 am
by bashar.abed
Hi,

we have Nagiox XI version 5.4.4 VM machine ,we have a server "solairs 11" with large number of disks " SAN disks " and we need to monitor them as below command

[[email protected] ~]$ /usr/local/nagios/libexec/check_nrpe -H 10.x.x.x -t 180 -c check_iostat -a '-d c2t500009755807104Bd3 -w 80000,80000,500000,80000,80000,80000,50,50,50,50 -c 85000,85000,600000,85000,85000,85000,70,70,70,70 -p'


in order to set the configuration quickly and accurately we need to provide us with the method to edit to insert the needed information in bulk way from the back end of the Nagios using either commands line or scripts

thanks

Re: bulk services

Posted: Mon Aug 28, 2017 8:19 am
by tacolover101
you could import a static configuration, use a wizard, copy configuration of a service, or use services with templates.

i'm guessing the -d is going to be unique each time though so you'll want to keep that in mind when you go through.

Re: bulk services

Posted: Mon Aug 28, 2017 1:36 pm
by dwhitfield
Thanks @tacolover101!

OP, I think you'll find https://support.nagios.com/kb/article.php?id=539 useful. Please let us know if you have any questions about the document.