Adding nagios Custom variables to many services at a time.
Adding nagios Custom variables to many services at a time.
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.
Re: Adding nagios Custom variables to many services at a tim
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.
- 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
Re: Adding nagios Custom variables to many services at a tim
Is there an estimate on when this feature will be available?
Re: Adding nagios Custom variables to many services at a tim
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
Re: Adding nagios Custom variables to many services at a tim
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.
- 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.
Re: Adding nagios Custom variables to many services at a tim
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.
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
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
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,
You will see the following in the CCM under the Free Variables
Other feature requests like adding free variables via bulk modifications tool are still in the works.
By adding something like this as an example,
Code: Select all
&_testfree=yesCode: Select all
Name Value
_testfree yes-
btsmnagios
- Posts: 49
- Joined: Tue Mar 07, 2017 9:19 am
Re: Adding nagios Custom variables to many services at a tim
Can you be more specific as to where thekyang 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,
You will see the following in the CCM under the Free VariablesCode: Select all
&_testfree=yes
Other feature requests like adding free variables via bulk modifications tool are still in the works.Code: Select all
Name Value _testfree yes
Code: Select all
&_testfree=yesservices 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
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.
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.