Can't add MiBs to Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rafaelvdberg
Posts: 39
Joined: Fri Aug 24, 2012 1:24 pm

Re: Can't add MiBs to Nagios XI

Post by rafaelvdberg »

It failed again.

I ran that command and there was no output.

Best,

Rafael
rafaelvdberg
Posts: 39
Joined: Fri Aug 24, 2012 1:24 pm

Re: Can't add MiBs to Nagios XI

Post by rafaelvdberg »

See attached log of upgrade.

Error is "NagiosQL failed to update user table!"

Best,


Rafael
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Can't add MiBs to Nagios XI

Post by abrist »

Did you change the default database passwords?
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.
rafaelvdberg
Posts: 39
Joined: Fri Aug 24, 2012 1:24 pm

Re: Can't add MiBs to Nagios XI

Post by rafaelvdberg »

No, I don't think so - do i need to do that?

If so, how.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Can't add MiBs to Nagios XI

Post by sreinhardt »

It actually looks as though sourceguardian has been added twice. Lets look into the php.ini configurations.

Code: Select all

grep -i guard /etc/php.ini

php -i | grep -i guardian

php -m | grep -i guardian
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
rafaelvdberg
Posts: 39
Joined: Fri Aug 24, 2012 1:24 pm

Re: Can't add MiBs to Nagios XI

Post by rafaelvdberg »

Here is the output:

Code: Select all

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.05.08 10:16:23 =~=~=~=~=~=~=~=~=~=~=~=
login as: root
[email protected]'s password: 
Last login: Tue May  7 21:28:06 2013 from 172.20.20.207

]0;root@nagios:~[?1034h[root@nagios ~]# grep -i guard /etc/php.ini
]0;root@nagios:~[root@nagios ~]# grep [K[K[K[K[Kphp -i | grep -i guardian
PHP Warning:  Module 'SourceGuardian' already loaded in Unknown on line 0
/etc/php.d/sourceguardian.ini,
SourceGuardian
SourceGuardian Loader Support => enabled
SourceGuardian Loader Version => 8.2
SourceGuardian Loader Build Number => 0x00000011
sourceguardian.restrict_unencoded => 0 => 0
]0;root@nagios:~[root@nagios ~]# php -m | grep -i guardian
PHP Warning:  Module 'SourceGuardian' already loaded in Unknown on line 0
SourceGuardian
]0;root@nagios:~[root@nagios ~]# exit
Best,

Rafael
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Can't add MiBs to Nagios XI

Post by abrist »

I just talked to one of our sales reps. You may want to backup your config and install 2012. I am not even sure where you found 2011r1.7. The upgrade path for 2011r1.7 to 2012r.18 may not be stable, or the original 2011 install may not have completed correctly.
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.
rafaelvdberg
Posts: 39
Joined: Fri Aug 24, 2012 1:24 pm

Re: Can't add MiBs to Nagios XI

Post by rafaelvdberg »

Okay, I can do that and in fact I've already installed 2012 on a seperate VM.

Can you give me the procedure for backing up and transfering the config file + history information?

Best,

Rafael
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Can't add MiBs to Nagios XI

Post by abrist »

Our backup script should grab everything:

http://assets.nagios.com/downloads/nagi ... ing_XI.pdf
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.
rafaelvdberg
Posts: 39
Joined: Fri Aug 24, 2012 1:24 pm

Re: Can't add MiBs to Nagios XI

Post by rafaelvdberg »

Okay, did that, how do I copy that backup from the old machine to the new machine?

best,


Rafael
Locked