hosts/services display but in no configuration
Posted: Thu Dec 31, 2015 5:18 pm
I had at least two hosts/services that apeared to be flapping. What was happening is that checks I had modified and checks I could not get to were both checking the same thing. There were phantom hosts/services.
I deleted the hosts/servces, restarted and they do not appear in the CCM.
From Write Files, I deleted all files, wrote all files and restarted.
These hosts/services were not there, but slowly they began to reappear.
In /usr/local/nagios/etc I ran the command grep -ir <hostname>. It returned nothing.
I ran: [nagios@nagios scripts]$ ./nagiosql_delete_service.php --config=nitrogen
URL: http://localhost/nagiosxi/includes/components/ccm/
Unable find services in nagiosql database.
Of course, it wants a config name not a host name. However, the host appears nowhere. In the grep -ri, I checked every configuratoin file I knew about. If it were in any config file, that would have found it. I also looked for IP.
Help me obi won nayogi, you''re my only hope.
I deleted the hosts/servces, restarted and they do not appear in the CCM.
From Write Files, I deleted all files, wrote all files and restarted.
These hosts/services were not there, but slowly they began to reappear.
In /usr/local/nagios/etc I ran the command grep -ir <hostname>. It returned nothing.
I ran: [nagios@nagios scripts]$ ./nagiosql_delete_service.php --config=nitrogen
URL: http://localhost/nagiosxi/includes/components/ccm/
Unable find services in nagiosql database.
Of course, it wants a config name not a host name. However, the host appears nowhere. In the grep -ri, I checked every configuratoin file I knew about. If it were in any config file, that would have found it. I also looked for IP.
Help me obi won nayogi, you''re my only hope.