Solved

Deleted hosts in resource status

  • 7 July 2023
  • 9 replies
  • 345 views

Badge +3

I’ve deleted some hosts and the pollers that monitored them. Unfourtunatelly they are still visible in the resource status and I cannot do anything to remove them. Any suggestions?

icon

Best answer by WrozbitaMaciej 11 July 2023, 10:29

View original

9 replies

Userlevel 2
Badge +3

Hi !

I’m not an expert but maybe I can help.

I think I had this issue but with Nagvis.

 

I believe you already exported the configuration like so :

If you haven’t already, try restarting centreon

sudo systemctl restart centreon

 

Tell me if the problem still persists, I think there’s a folder on your central server you can clear. I just don’t remember which one.

Cheers

Badge +3

Cleaing the cache freezed the app, restart poller and centreon do not help.

Userlevel 2
Badge +3

Is it not working anymore ? I deleted that part in my message after I wrote it as I do not fully understand it’s effect.

 

if not, try restarting apache and then centreon

Userlevel 2
Badge +3

Can you send the output of these commands ?

systemctl status gorgoned
systemctl status centengine
ls -l /etc/centreon-engine

 

Badge +3

Is it not working anymore ? I deleted that part in my message after I wrote it as I do not fully understand it’s effect.

 

if not, try restarting apache and then centreon

It was restored from backup.

Badge +3

Can you send the output of these commands ?

systemctl status gorgoned
systemctl status centengine
ls -l /etc/centreon-engine

 

 

Userlevel 2
Badge +3

Alright, permissions seem correct here, there are some pretty old files in there, what version of Centreon are you using ?

 

And if you

nano /etc/centreon-engine/hosts.cfg

or

vi /etc/centreon-engine/hosts.cfg

Do you see these deleted hosts ?

Badge +3

Alright, permissions seem correct here, there are some pretty old files in there, what version of Centreon are you using ?

 

And if you

nano /etc/centreon-engine/hosts.cfg

or

vi /etc/centreon-engine/hosts.cfg

Do you see these deleted hosts ?

No, poller that monitored these hosts doesn’t exist yet.

Badge +3

PROBLEM SOLVED
Deleted hosts in SQL from table hosts in centreon_storage DB.

Reply