Page 1 of 1
Bulk replace $ARG1$ in MySQL
Posted: Wed Jun 27, 2012 8:23 am
by cellact
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.
Re: Bulk replace $ARG1$ in MySQL
Posted: Wed Jun 27, 2012 9:12 am
by scottwilkerson
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 !