NagiosXI 5.5.9 - service dependency issue...
Posted: Wed Jan 30, 2019 7:11 am
Hi Nagios Team,
We are manually managing a bunch of Service Dependencies under static folder.
However, we noticed while deleting service using CCM, apply changes failed due to Service Dependency.
I understand this is the expected.
So we manually removed all the files using rm -f static/*
And followed the below steps :
1. CCM > Tools > Config File Management > Delete Files
2. CCM > Tools > Config File Management > Write Configs
3. CCM > Tools > Config File Management > Verify Files
4. All was good.
Now, we noticed that Service Dependency .cfg files were back under static/*
afaik, this is not expected.
And due to this we are unable to Delete any Host/Service & Apply Changes, it always error out with weird Dependency of Host/Service errors. It seems like these manually managed Service Dependency has somehow has got into the database and is causing issues.
Also, I do not see any Service Dependency under CCM->Host Dependencies or CCM->Service Dependencies
How can I check if there is any host/service dependency data in the DB ?
How to get rid of it ?
Kindly assist.
Regards,
Vish.
We are manually managing a bunch of Service Dependencies under static folder.
However, we noticed while deleting service using CCM, apply changes failed due to Service Dependency.
I understand this is the expected.
So we manually removed all the files using rm -f static/*
And followed the below steps :
1. CCM > Tools > Config File Management > Delete Files
2. CCM > Tools > Config File Management > Write Configs
3. CCM > Tools > Config File Management > Verify Files
4. All was good.
Now, we noticed that Service Dependency .cfg files were back under static/*
afaik, this is not expected.
And due to this we are unable to Delete any Host/Service & Apply Changes, it always error out with weird Dependency of Host/Service errors. It seems like these manually managed Service Dependency has somehow has got into the database and is causing issues.
Also, I do not see any Service Dependency under CCM->Host Dependencies or CCM->Service Dependencies
How can I check if there is any host/service dependency data in the DB ?
How to get rid of it ?
Kindly assist.
Regards,
Vish.