Nagios Hostgroup lost half of it's devices?
Re: Nagios Hostgroup lost half of it's devices?
there yah go!
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Nagios Hostgroup lost half of it's devices?
Hmm, can you post the file permissions on /usr/local/nagios/etc
Code: Select all
ll /usr/local/nagios/etcRe: Nagios Hostgroup lost half of it's devices?
there yah go!:
ll /usr/local/nagios/etc
total 336
-rw-rw-r-- 1 apache nagios 2501 Nov 30 16:10 cgi.cfg
-rw-rw-r-- 1 apache nagios 24152 Dec 10 13:59 commands.cfg
-rw-rw-r-- 1 apache nagios 1327 Dec 10 13:59 contactgroups.cfg
-rw-rw-r-- 1 apache nagios 3493 Dec 10 13:59 contacts.cfg
-rw-rw-r-- 1 apache nagios 8656 Oct 16 15:47 contacts.cfg.16-oct-2012
-rw-rw-r-- 1 apache nagios 2389 Dec 10 13:59 contacttemplates.cfg
-rw-rw-r-- 1 apache nagios 642 Dec 10 13:59 hostdependencies.cfg
-rw-rw-r-- 1 apache nagios 644 Dec 10 13:59 hostescalations.cfg
-rw-rw-r-- 1 apache nagios 662 Dec 10 13:59 hostextinfo.cfg
-rw-rw-r-- 1 apache nagios 27113 Dec 10 13:59 hostgroups.cfg
drwsrwsr-x 2 apache nagios 86016 Dec 6 15:48 hosts
-rw-rw-r-- 1 apache nagios 16604 Dec 10 13:59 hosttemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Dec 10 12:36 import
-rwxrwxr-x 1 apache nagios 5963 Dec 7 15:44 nagios.cfg
-rwxrwxr-x 1 apache nagios 5764 Sep 4 15:29 nagios.cfg~
-rwxrwxr-x 1 apache nagios 5764 Aug 10 06:02 nagios.cfg.xi
-rwxrwxr-x 1 apache nagios 2229 Aug 10 06:03 ndo2db.cfg
-rwxrwxr-x 1 apache nagios 4723 Aug 10 06:03 ndomod.cfg
-rw-rw-r-- 1 apache nagios 7207 Aug 10 06:04 nrpe.cfg
-rwxrwxr-x 1 apache nagios 5355 Sep 10 12:27 nsca.cfg
-rwxrwxr-x 1 apache nagios 5345 Aug 10 06:04 nsca.cfg.orig
drwsrwsr-x 4 apache nagios 4096 Dec 6 15:48 pnp
-rw-rw-r-- 1 apache nagios 0 Sep 13 09:44 recurringdowntime.cfg
-rwxrwxr-x 1 apache nagios 210 Mar 16 2012 resource.cfg
-rwxrwxr-x 1 apache nagios 210 Aug 10 06:02 resource.cfg.xi
-rwxrwxr-x 1 apache nagios 1627 Aug 10 06:04 send_nsca.cfg
-rwxrwxr-x 1 apache nagios 1627 Aug 10 06:04 send_nsca.cfg.orig
-rw-rw-r-- 1 apache nagios 648 Dec 10 13:59 servicedependencies.cfg
-rw-rw-r-- 1 apache nagios 650 Dec 10 13:59 serviceescalations.cfg
-rw-rw-r-- 1 apache nagios 668 Dec 10 13:59 serviceextinfo.cfg
-rw-rw-r-- 1 apache nagios 776 Dec 10 13:59 servicegroups.cfg
drwsrwsr-x 2 apache nagios 4096 Dec 6 20:23 services
-rw-rw-r-- 1 apache nagios 25691 Dec 10 13:59 servicetemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Dec 6 15:48 static
-rw-rw-r-- 1 apache nagios 2857 Dec 10 13:59 timeperiods.cfg
ll /usr/local/nagios/etc
total 336
-rw-rw-r-- 1 apache nagios 2501 Nov 30 16:10 cgi.cfg
-rw-rw-r-- 1 apache nagios 24152 Dec 10 13:59 commands.cfg
-rw-rw-r-- 1 apache nagios 1327 Dec 10 13:59 contactgroups.cfg
-rw-rw-r-- 1 apache nagios 3493 Dec 10 13:59 contacts.cfg
-rw-rw-r-- 1 apache nagios 8656 Oct 16 15:47 contacts.cfg.16-oct-2012
-rw-rw-r-- 1 apache nagios 2389 Dec 10 13:59 contacttemplates.cfg
-rw-rw-r-- 1 apache nagios 642 Dec 10 13:59 hostdependencies.cfg
-rw-rw-r-- 1 apache nagios 644 Dec 10 13:59 hostescalations.cfg
-rw-rw-r-- 1 apache nagios 662 Dec 10 13:59 hostextinfo.cfg
-rw-rw-r-- 1 apache nagios 27113 Dec 10 13:59 hostgroups.cfg
drwsrwsr-x 2 apache nagios 86016 Dec 6 15:48 hosts
-rw-rw-r-- 1 apache nagios 16604 Dec 10 13:59 hosttemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Dec 10 12:36 import
-rwxrwxr-x 1 apache nagios 5963 Dec 7 15:44 nagios.cfg
-rwxrwxr-x 1 apache nagios 5764 Sep 4 15:29 nagios.cfg~
-rwxrwxr-x 1 apache nagios 5764 Aug 10 06:02 nagios.cfg.xi
-rwxrwxr-x 1 apache nagios 2229 Aug 10 06:03 ndo2db.cfg
-rwxrwxr-x 1 apache nagios 4723 Aug 10 06:03 ndomod.cfg
-rw-rw-r-- 1 apache nagios 7207 Aug 10 06:04 nrpe.cfg
-rwxrwxr-x 1 apache nagios 5355 Sep 10 12:27 nsca.cfg
-rwxrwxr-x 1 apache nagios 5345 Aug 10 06:04 nsca.cfg.orig
drwsrwsr-x 4 apache nagios 4096 Dec 6 15:48 pnp
-rw-rw-r-- 1 apache nagios 0 Sep 13 09:44 recurringdowntime.cfg
-rwxrwxr-x 1 apache nagios 210 Mar 16 2012 resource.cfg
-rwxrwxr-x 1 apache nagios 210 Aug 10 06:02 resource.cfg.xi
-rwxrwxr-x 1 apache nagios 1627 Aug 10 06:04 send_nsca.cfg
-rwxrwxr-x 1 apache nagios 1627 Aug 10 06:04 send_nsca.cfg.orig
-rw-rw-r-- 1 apache nagios 648 Dec 10 13:59 servicedependencies.cfg
-rw-rw-r-- 1 apache nagios 650 Dec 10 13:59 serviceescalations.cfg
-rw-rw-r-- 1 apache nagios 668 Dec 10 13:59 serviceextinfo.cfg
-rw-rw-r-- 1 apache nagios 776 Dec 10 13:59 servicegroups.cfg
drwsrwsr-x 2 apache nagios 4096 Dec 6 20:23 services
-rw-rw-r-- 1 apache nagios 25691 Dec 10 13:59 servicetemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Dec 6 15:48 static
-rw-rw-r-- 1 apache nagios 2857 Dec 10 13:59 timeperiods.cfg
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Nagios Hostgroup lost half of it's devices?
ok I just manually re added those devices, and only 169 showed up out of the 514
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Nagios Hostgroup lost half of it's devices?
who can I pm a copy of my hostgroup files to? I hesitate to put that info out there.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Hostgroup lost half of it's devices?
When you say this do you mean you edited the file, or added them through the CCM?benhank wrote:ok I just manually re added those devices, and only 169 showed up out of the 514
You should only be adding these through the CCM or you can import a file with the modifications, but after an import you CANNOT just modify the config files manually
Re: Nagios Hostgroup lost half of it's devices?
ccm/hostgroups/ the hostgroup and then I manually clicked clicked clicked. I have given up on the import option. the sad thing is that I have to head out, i'll follow up tomorrow good sirs.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Nagios Hostgroup lost half of it's devices?
guy's can I get a support tkt on this? I think it's one of those issues that falls into "a picture is worth a thousand words situation. The biggest concern we have after we get this resolved is to find out how it happened. The HG has been fine for months and then it bombed out.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Nagios Hostgroup lost half of it's devices?
A post to the customer forum gets the same priority as an email support ticket. Here's what I'd like you to send me as a PM, or email [email protected] if you have a problem attaching any of the files.guy's can I get a support tkt on this?
- Apply configuration one more time just to make sure the config files are up to date.
- Your latest configuration snapshot: Access the Admin->Config Snapshots page, and fetch the latest tarball
- Access the CCM->Hostgroups page, and click the "View Config" icon for the hostgroups. Send me that file as well.
Re: Nagios Hostgroup lost half of it's devices?
guys this is all set. you can lock it.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion