Page 3 of 4
Re: Nagios Wizards no longer creating hosts
Posted: Wed Jun 09, 2010 11:23 am
by spasq01
Sorry but I'm not a Linux guy. I can only do basic stuff so I am not fluent in Penguin talk. I apologize if my posts aren't clear enough for you but I don't know what other details you need. I explained exactly what I did and what the outcome was. I would happily try what cczp1 did if someone could give me some direction on how to do that.
Re: Nagios Wizards no longer creating hosts
Posted: Wed Jun 09, 2010 2:04 pm
by mmestnik
You just need to relay information to me, I can't see over your shoulder or otherwise read your mind... Honestly I'm not that smart. Why would you even consider that you need to speak some bizarre voodoo language to communicate? The ppl who are spreading this blarney just don't want to see you succeed.
You need a good old fission 3rd quarter prep talk, but you are trying to get one from a 7th level Dungeon master. I've never even talked to my high school football coach.
"You can remember what happened and you know why." You just don't know that you know what's going on because you can't connect what you know and what you see with how things work. I know all about how these things work, so if you share with me the entire hay stack I can pull out the needle that's causing this.
You indicate that if we were to take the 1.1H VM image and then add hosts using the wizard that it would work up to a point and then stop? At what point did it stop, when did you enable "your vary own" /proxy server/(Used as a pronoun in-place of your real problem)?
Re: Nagios Wizards no longer creating hosts
Posted: Wed Jun 09, 2010 2:48 pm
by tonyyarusso
cczcp1 wrote:
After this, the only other issue (which I'm still fighting with) is; after every yum package update I get the error:-
Code: Select all
./1-prereqs: line 15: rpmdev-vercmp: command not found
./1-prereqs: line 15: rpmdev-vercmp: command not found
./1-prereqs: line 15: rpmdev-vercmp: command not found
./1-prereqs: line 15: rpmdev-vercmp: command not found
There doesn't appear to be any errors after this so I hope its safe to ignore it, but thought I better post it just incase.
Installing the rpmdevtools package ('rpm -yq install rpmdevtools') will fix this error. The rpmdev-vercmp command is used to install perl modules, which you may need for certain things.
Re: Nagios Wizards no longer creating hosts
Posted: Fri Jun 11, 2010 4:49 am
by cczcp1
mmestnik wrote:cczp1, so I would have had to configure tsocks to duplicate your problem? or are you just using the environment variables that AFAIK most of the check commands will ignore?
Sorry? I'm not quite following where check commands come into this?
In the long run we've fixed the Nagios wizards by upgrading to Nagios 2009R1.2
During the first upgrade attempt, it did seem to fix this problem however a further issue came about where the "Verifying Configs" would never actually finish leaving a series of .... (despite the host being created).
This last issue was fixed by ensuring that during running the upgrade script, wget wouldn't connect to the proxy servers when trying to pull content from the localhost.
Re: Nagios Wizards no longer creating hosts
Posted: Fri Jun 11, 2010 3:12 pm
by mmestnik
I would like to duplicate your configuration, so I'm inquiring as to how a proxy server could influence applications on the XI server. I'd also like to understand why you are using a proxy, so that future versions would have a proper work around.
Seams like you made a small mistake setting up your proxy server by not omitting localhost, correct?
Re: Nagios Wizards no longer creating hosts
Posted: Fri Jun 11, 2010 4:06 pm
by spasq01
You indicate that if we were to take the 1.1H VM image and then add hosts using the wizard that it would work up to a point and then stop? At what point did it stop, when did you enable "your vary own" /proxy server/(Used as a pronoun in-place of your real problem)?
That exactly what happened. One day it worked and then all of a sudden it no longer worked. I really didn't do much in the ways of altering the default configuration. The only thing I can remember doing is changing the default admin user name and password. Maybe the wizard uses those credentials to create the new hosts and now it's failing because I changed those credentials? Unlikely. But that's the only thing I can think of. I was only using it for a day or two before it stopped working.
Re: Nagios Wizards no longer creating hosts
Posted: Fri Jun 11, 2010 4:14 pm
by mmestnik
That's it, the NagiosQL password might be out of sync. Go to the Reset Credentials screen under Admin.
Re: Nagios Wizards no longer creating hosts
Posted: Mon Jun 14, 2010 10:06 am
by spasq01
Ding Ding Ding...we have a winner.
Re: Nagios Wizards no longer creating hosts
Posted: Tue Jun 15, 2010 9:27 am
by cczcp1
mmestnik wrote:I would like to duplicate your configuration, so I'm inquiring as to how a proxy server could influence applications on the XI server. I'd also like to understand why you are using a proxy, so that future versions would have a proper work around.
Seams like you made a small mistake setting up your proxy server by not omitting localhost, correct?
Yes, you are right. I made the mistake of not omitting the localhost when setting my proxy settings.
Just to give you a bit of insight to our network, we push all of our external HTTP traffic through our proxy servers.
Whilst the config in the proxy pac file (used for Windows clients & servers) does automatically omit the localhost and internal traffic, our *nix servers have their proxy settings configured manually.
During the upgrade, it appears that the script uses wget to pull the config files back (/usr/local/nagios/etc/import/____.cfg) from the localhost which would timeout when trying to access via the proxy.
Thanks so much for your help, hopefully this will go some way to helping anyone else in the same situation (whether it be the same problem as what I had or what spasq01 had.
Cheers
CP.
spasq01 wrote:Ding Ding Ding...we have a winner.
Well done sir

Re: Nagios Wizards no longer creating hosts
Posted: Tue Jun 15, 2010 10:33 am
by cczcp1
tonyyarusso wrote:cczcp1 wrote:
After this, the only other issue (which I'm still fighting with) is; after every yum package update I get the error:-
Code: Select all
./1-prereqs: line 15: rpmdev-vercmp: command not found
./1-prereqs: line 15: rpmdev-vercmp: command not found
./1-prereqs: line 15: rpmdev-vercmp: command not found
./1-prereqs: line 15: rpmdev-vercmp: command not found
There doesn't appear to be any errors after this so I hope its safe to ignore it, but thought I better post it just incase.
Installing the rpmdevtools package ('rpm -yq install rpmdevtools') will fix this error. The rpmdev-vercmp command is used to install perl modules, which you may need for certain things.
I've looked high and low for this package and its a real problem to locate. Anyone have any suggestions?
Cheers
CP