Got a few servers that when you look at them in Service Details, you get this:
But when you pull it up in CCM, you get:
Wanted to check with you first before I start hacking on the config files. I just need to delete these hosts and services.
Mahalo;
Host/Services in Service Detail, but not CCM
Host/Services in Service Detail, but not CCM
You do not have the required permissions to view the files attached to this post.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Re: Host/Services in Service Detail, but not CCM
1.)What version are you running?
2.) If you write and then verify the config, do you get an error?
2.) If you write and then verify the config, do you get an error?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Host/Services in Service Detail, but not CCM
Also, if you search for "AntiVirus", are any of the results attached to that host? It could be that they are just not named after the host but are still a part of it.
Former Nagios employee
Re: Host/Services in Service Detail, but not CCM
Thanks to all.
Currently we're on 2012 R2.9, I'm trying to clean things up so I can update to the most current.
When writing the config, I don't get an error on these phantom hosts, but I do get warnings. I posted earlier about the "No default contact or contact group associated with blah blah blah" on this host as well as a few others. Please keep in mind that when we first went on Nagios XI we imported config files from our very old Version 1 system.
On our Version 1 system, if I wanted to remove a host, I edited 3 files, hostgroup.cfg, host.cfg, and services.cfg. I would then run the verify from the command line and then restart Nagios if there were no errors.
Since I have about 8 or so phantom hosts like this, what would be the comparable way of removing them in Nagios XI by editing config files? Just a reminder, I can't remove or modify them in CCM because CCM can't find them. "No Matching Record Found".
Mahalo
Currently we're on 2012 R2.9, I'm trying to clean things up so I can update to the most current.
When writing the config, I don't get an error on these phantom hosts, but I do get warnings. I posted earlier about the "No default contact or contact group associated with blah blah blah" on this host as well as a few others. Please keep in mind that when we first went on Nagios XI we imported config files from our very old Version 1 system.
On our Version 1 system, if I wanted to remove a host, I edited 3 files, hostgroup.cfg, host.cfg, and services.cfg. I would then run the verify from the command line and then restart Nagios if there were no errors.
Since I have about 8 or so phantom hosts like this, what would be the comparable way of removing them in Nagios XI by editing config files? Just a reminder, I can't remove or modify them in CCM because CCM can't find them. "No Matching Record Found".
Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Host/Services in Service Detail, but not CCM
You should be able to remove the phantom hosts by deleting their respective .cfg files:
OR you could move them to /tmp just in case you need them again:
Then write the config and see if the warnings appear.
Code: Select all
rm /usr/local/nagios/etc/services/SvrMMMC11.cfg
rm /usr/local/nagios/etc/hosts/SvrMMMC11.cfgCode: Select all
mv /usr/local/nagios/etc/services/SvrMMMC11.cfg /tmp/SvrMMMC11_services.cfg
mv /usr/local/nagios/etc/hosts/SvrMMMC11.cfg /tmp/SvrMMMC11_hosts.cfgAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Host/Services in Service Detail, but not CCM
OK thanks, I'll give that a shot.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Re: Host/Services in Service Detail, but not CCM
Phantom hosts gone. (And I didn't break anything)
As always, much appreciated, you guys are great!!
Mahalo
As always, much appreciated, you guys are great!!
Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates