Adding nagios Custom variables to many services at a time.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vtadisina
Posts: 28
Joined: Thu Sep 29, 2016 9:39 am

Adding nagios Custom variables to many services at a time.

Post by vtadisina »

I have to add some custom variables to the services in my nagios xi environment. But the problem is there are more than 3000 services in my environment and adding the variables individually is time consuming. Is there a way where i can add these custom variables at a time to all the services.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Adding nagios Custom variables to many services at a tim

Post by rkennedy »

Currently, there isn't a way to do this in bulk. I filed TWO feature requests though, so possible in the future you'll be able to do so!
- ID 9889 is for allowing adding custom variables through the API
- ID 9890 is for the option to add custom variables through the bulk modifications tool.
Former Nagios Employee
vtadisina
Posts: 28
Joined: Thu Sep 29, 2016 9:39 am

Re: Adding nagios Custom variables to many services at a tim

Post by vtadisina »

Is there an estimate on when this feature will be available?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Adding nagios Custom variables to many services at a tim

Post by rkennedy »

There is not, it's now in the developers hands. If you'd like to request an update feel free to respond to this thread.
Former Nagios Employee
vtadisina
Posts: 28
Joined: Thu Sep 29, 2016 9:39 am

Re: Adding nagios Custom variables to many services at a tim

Post by vtadisina »

Yes please,I would like an update with the below two features as soon as possible.
- ID 9889 is for allowing adding custom variables through the API
- ID 9890 is for the option to add custom variables through the bulk modifications tool.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Adding nagios Custom variables to many services at a tim

Post by rkennedy »

There is no update available yet since they were just submitted today, give it some time and check back.

I'll leave this thread open for you to do so. Please only respond to check back, otherwise it'll pop up on our dashboard.
Former Nagios Employee
btsmnagios
Posts: 49
Joined: Tue Mar 07, 2017 9:19 am

Re: Adding nagios Custom variables to many services at a tim

Post by btsmnagios »

Any update to this thread please as i need to add a custom variable to all services for the same host, thanks
kyang

Re: Adding nagios Custom variables to many services at a tim

Post by kyang »

It looks like this isn't available yet. There is currently only a way to add free variables to a single host/service creation.

By adding something like this as an example,

Code: Select all

&_testfree=yes
You will see the following in the CCM under the Free Variables

Code: Select all

Name        Value    
_testfree   yes
Other feature requests like adding free variables via bulk modifications tool are still in the works.
btsmnagios
Posts: 49
Joined: Tue Mar 07, 2017 9:19 am

Re: Adding nagios Custom variables to many services at a tim

Post by btsmnagios »

kyang wrote:It looks like this isn't available yet. There is currently only a way to add free variables to a single host/service creation.

By adding something like this as an example,

Code: Select all

&_testfree=yes
You will see the following in the CCM under the Free Variables

Code: Select all

Name        Value    
_testfree   yes
Other feature requests like adding free variables via bulk modifications tool are still in the works.
Can you be more specific as to where the

Code: Select all

&_testfree=yes
would be added, and also any time frame to this additon as i have over 7000
services and hosts to update and this was initially passed to the developers back in October 2016 and it nearly 2018, thanks in advance
kyang

Re: Adding nagios Custom variables to many services at a tim

Post by kyang »

The adding of a single free variable for what I posted above would be when using the REST API in XI.

Although, if you had over 7000 hosts/services. The feature request task_id=11775 is still in the works. Which is adding free variables via bulk modifications tool.

You can check back in once XI 5.5 is released in sometime around Q1 of 2018, to get the status of this feature request.
Locked