Problems with upgrade to 2012R1.5b

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problems with upgrade to 2012R1.5b

Post by abrist »

Great. Do you have any other unresolved issues with XI?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Problems with upgrade to 2012R1.5b

Post by hhlodge »

The contacts issue is still outstanding.
- Kyle
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problems with upgrade to 2012R1.5b

Post by abrist »

hhlodge wrote:Update - I logged out as myself and back in as nagiosadmin and the contacts stick with the contact groups now, but the configuration won't apply because of this error. Oddly, even as nagiosadmin, the host and service notification commands I add for myself do not stick.

Code: Select all

Checking contacts...
Error: Contact 'ktucker' has no service notification commands defined!
Error: Contact 'ktucker' has no host notification commands defined!
I also see I lost all my wizards! Argggg!
Could you post the output of a config verification?

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Looks like when your contacts got removed and re-setup, some required fields are no longer set. Do you still receive the odd ndomod errors?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Problems with upgrade to 2012R1.5b

Post by hhlodge »

No, I only saw that error yesterday. I went into Legacy CCM and I was able to set my host/service commands and then add contacts to the contact groups. What does this tell you?
- Kyle
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Problems with upgrade to 2012R1.5b

Post by mguthrie »

Can you try adding the notifications command to a contact, and then click the "View Text Config" icon in the contacts page of the Core Config Manager.

Do the notifications commands show up in the text configuraton?

What browser are you viewing this in?
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Problems with upgrade to 2012R1.5b

Post by hhlodge »

This is really odd. If I am logged into CCM as myself, they never show in the View Text Config results. If I am logged into CCM as nagiosadmin, they stick using Firefox 18 on Windows 7, but do not as nagiosadmin if I use Chrome 6 on Ubuntu. Yesterday they would not stick with either browser. I also got the error "Cannot connect to database" when I tried to log out of CCM on Chrome and once when I clicked on the Contacts link in CCM using Firefox. A second attempt at both worked fine. Also, when I went to remove the two commands from the test user, applying the configuration failed for the user having no commands defined. This user didn't require them yesterday when I was working on a different user. There is no "use" template defined for the user and I suspect there was one there before. I'll recover contacts.cfg from backups and see. I will also keep playing with various combinations.
- Kyle
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Problems with upgrade to 2012R1.5b

Post by hhlodge »

Yes, yesterday there was a "use xi_contact_generic" statement for this user, so it was removed by CCM.
- Kyle
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Problems with upgrade to 2012R1.5b

Post by mguthrie »

Ok, I think I might have an idea now. Chrome tends to push the bar forward on web standards, while IE drags way behind. I had to make a few updates last release to keep things working in Chrome that they decided to deprecate. I may have found a few more. Firefox is by far the most reliable on all fronts, so I'd recommend that at the moment.
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: Problems with upgrade to 2012R1.5b

Post by hhlodge »

Alright, I'll stick with Firefox as nagiosadmin for now. On an aside, I looked in the FAQs and release notes and don't see anything about the new CCM versus the Legacy one and why and when you one over the other. Any link you can point me to that goes over this? Thanks.
- Kyle
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problems with upgrade to 2012R1.5b

Post by slansing »

We have no specific documentation, though I believe in the 2012 original release notes the new CCM is mentioned, as well as its features. There are quite a few differences between the two, but they are added features and not required for XI to function properly. This is why the Legacy CCM is still installed, that, and for a buffer against possible bugs as they get rolled out of the dough.
Locked