Bulk replace $ARG1$ in MySQL
Bulk replace $ARG1$ in MySQL
I'm trying to do change a bunch of services $ARG1$ but can't find the right MySQL table value that needs to be changed.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Bulk replace $ARG1$ in MySQL
First whatever you do, make sure you have a backup of your mysql database..
that said the field is check_command_args in both the nagios_services and nagios_hosts tables of the nagios database.
This field holds all of the $ARGn$ values. $ARG1$ is everything in that field before the first !
that said the field is check_command_args in both the nagios_services and nagios_hosts tables of the nagios database.
This field holds all of the $ARGn$ values. $ARG1$ is everything in that field before the first !