bulk services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bashar.abed
Posts: 153
Joined: Tue Oct 11, 2016 1:34 am
Location: Ramallah West Bank Palestine
Contact:

bulk services

Post 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
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: bulk services

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: bulk services

Post 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.
Locked