Not able to do rename
-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Not able to do rename
Hello Team,
I need to rename for multiple servers but I have tried to rename only 2 servers using bulk renaming tool but apply config is getting failed.
so I need to do rename more than 400 servers .how to resolve this issue.
I am facing this issue multiple times so manually it's impossible .
Could you please help to resolve ?
I need to rename for multiple servers but I have tried to rename only 2 servers using bulk renaming tool but apply config is getting failed.
so I need to do rename more than 400 servers .how to resolve this issue.
I am facing this issue multiple times so manually it's impossible .
Could you please help to resolve ?
-
syang
Re: Not able to do rename
Hello Mani,
I was able to rename 2 servers using the Bulk Renaming Tool.
Please make sure there are no special characters in the new names, and there are no 2 identical names.
I was able to rename 2 servers using the Bulk Renaming Tool.
Please make sure there are no special characters in the new names, and there are no 2 identical names.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to do rename
Can we also verify that you can Apply Configuration before starting the rename process
-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Re: Not able to do rename
Hello Scott,
identical names means for example my existing host name is "new-1" I want to change i.e. new name "new"
is it also comes under identical name ?
otherwise we need to change completely different names or what ?
identical names means for example my existing host name is "new-1" I want to change i.e. new name "new"
is it also comes under identical name ?
otherwise we need to change completely different names or what ?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to do rename
It means it you want to rename it to "new" you need to make sure the host "new" doesn't already exist.
-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Re: Not able to do rename
Thanks Scott.
yes before renaming I have checked that new host name so that is not exist but my apply is getting failed only
and I have checked tail -f /usr/local/nagiosxi/var/cmdsubsys.log it's showing below error
"Another reconfigure process is still running, sleeping...
.Another reconfigure process is still running, sleeping...
yes before renaming I have checked that new host name so that is not exist but my apply is getting failed only
and I have checked tail -f /usr/local/nagiosxi/var/cmdsubsys.log it's showing below error
"Another reconfigure process is still running, sleeping...
.Another reconfigure process is still running, sleeping...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to do rename
Lets run the following
Code: Select all
rm -f /usr/local/nagiosxi/scripts/reconfigure_nagios.lock-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Re: Not able to do rename
Hello Scott,
In my case after renaming if I give apply configuration that's will fail. next again click that try again option then apply configuration is successful.
I have run the below command as well but still issue is persist.
first time fail next I given the try again option it's successfully done.
But still I am getting below error
"Another reconfigure process is still running, sleeping..."
In my case after renaming if I give apply configuration that's will fail. next again click that try again option then apply configuration is successful.
I have run the below command as well but still issue is persist.
first time fail next I given the try again option it's successfully done.
But still I am getting below error
"Another reconfigure process is still running, sleeping..."
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to do rename
Can I have you run
then immediately run
And post the results
Code: Select all
rm -f /usr/local/nagiosxi/scripts/reconfigure_nagios.lockCode: Select all
/usr/local/nagiosxi/scripts/reconfigure_nagios.shRe: Not able to do rename
Hello Scott,
Just let me know if we rename a particular host with new name for eg- XXXX is old name and XXXX-PROD is new name and for old name already we have scheduled it for downtime so once we rename what entries we have for old name in downtime will be deleted? And again we have to manually scheduled it with new name? This is how it works?
Just let me know if we rename a particular host with new name for eg- XXXX is old name and XXXX-PROD is new name and for old name already we have scheduled it for downtime so once we rename what entries we have for old name in downtime will be deleted? And again we have to manually scheduled it with new name? This is how it works?