Bulk Modification Tool
Bulk Modification Tool
How can I make changes across the board to the CPU service using the Bulk Modification Tool? I tried using the "Change Command and Arguments," but it does not work correctly.
My current settings are: check_xi_service_nsclient!!CPULOAD!-l 5,80,90
When I use the previous above mentioned tool, I get the following output: check_xi_service_nsclient!CPULOAD!-1!5!80!99!!!! and then it gives me the following error: check_nt: Could not parse arguments
I'm running version 5.2.0.
My current settings are: check_xi_service_nsclient!!CPULOAD!-l 5,80,90
When I use the previous above mentioned tool, I get the following output: check_xi_service_nsclient!CPULOAD!-1!5!80!99!!!! and then it gives me the following error: check_nt: Could not parse arguments
I'm running version 5.2.0.
Re: Bulk Modification Tool
I'm running XI 5.2.3, and it worked fine for me.
Did you follow the same steps that I did?
I verified that it populated the values correctly after I did this.
Did you follow the same steps that I did?
Code: Select all
Change Command and Arguments
Click on Select Services
Type CPU Usage into the filter
Highlight the one(s) I want to change
Hit add selected
Hit close
For $ARG1$ type in your NSClient password, if applicable.
$ARG2$ type in CPULOAD
$ARG3$ type in whatever you want for thresholds, for example: -l 5,80,90
Save Changes
Apply Configuration
Former Nagios Employee.
me.
me.
Re: Bulk Modification Tool
I just upgraded to 5.2.3 and followed your instructions completely, and I'm still receiving the same issue.
Re: Bulk Modification Tool
Can you post a screenshot showing your configuration where you see check_xi_service_nsclient!CPULOAD!-1!5!80!99!!!!?
Former Nagios Employee
Re: Bulk Modification Tool
I have included two screen shots. This is after I upgraded to the 5.2.3 OS. I the one you want a copy of, was before I followed your directions and I was putting the information in the wrong field. However, I'm still having issues after the upgrade.
You do not have the required permissions to view the files attached to this post.
Re: Bulk Modification Tool
No, there is no password.
Re: Bulk Modification Tool
Can you also post the service definition that shows the $ARG1$ values?
Former Nagios Employee
Re: Bulk Modification Tool
If you compare a working check_cpu_load command that you have generated previously to one that breaks after you use the bulk modifications tool, what is different between the two?
The command we're talking about looks like this from the GUI:
Due to the way that the arguments are interpreted, leaving out a secret will cause the command to fail, because there is still a '-s' in the command definition.
The command we're talking about looks like this from the GUI:
Code: Select all
$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$Try either removing the '-s' from your command definition (if you don't plan on using a password) or enabling a password on your devices (which I do recommend you do for the sake of security).[root@localhost libexec]# ./check_nt -H 192.168.1.1 -s -p 12489 -v CPULOAD -l 5,80,90
check_nt: Could not parse arguments
Re: Bulk Modification Tool
I tried on a different server that was working correctly before. I receive the same error.
You do not have the required permissions to view the files attached to this post.