Skip to main content
Solved

Deleted hosts in resource status

  • July 7, 2023
  • 9 replies
  • 1233 views

Forum|alt.badge.img+5

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?

Best answer by WrozbitaMaciej

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

9 replies

Yllake
Forum|alt.badge.img+3
  • Steward *
  • July 10, 2023

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


Forum|alt.badge.img+5

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


Yllake
Forum|alt.badge.img+3
  • Steward *
  • July 10, 2023

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


Yllake
Forum|alt.badge.img+3
  • Steward *
  • July 10, 2023

Can you send the output of these commands ?

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

 


Forum|alt.badge.img+5

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.


Forum|alt.badge.img+5

Can you send the output of these commands ?

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

 

 


Yllake
Forum|alt.badge.img+3
  • Steward *
  • July 11, 2023

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 ?


Forum|alt.badge.img+5

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.


Forum|alt.badge.img+5
  • Author
  • Steward **
  • Answer
  • July 11, 2023

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