Nagios XI and VMware - It appears as though you have not ins

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

Re: Nagios XI and VMware - It appears as though you have not

Post by markers »

You got to be f**ing kidding me.

It actually works!

Thank's very much for your help, sirs!

This has made my day, and it's only early in the morning (sort of) where I live. I won't tell you where I am from, but if you ever come to "Narway" I'll buy you beer!

Thanks again lads. It's nice to make it work at last!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios XI and VMware - It appears as though you have not

Post by Box293 »

Great stuff, glad to be able to help you out :mrgreen:
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

Re: Nagios XI and VMware - It appears as though you have not

Post by markers »

When the going get's tough, the tough get's going...

I have managed to add one of the vm-servers.

But when I try to add a vmware guest that is currently residing in a virtual way inside that magic, I get An error occurred while attempting to apply your configuration to the monitoring engine. Contact your Nagios administrator if this problem persists.

Since I am the Nagios administrator I don't really know what to do. I can see all servers when adding, but get the same error whether I add 1 or 40.

Any ideas?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios XI and VMware - It appears as though you have not

Post by mguthrie »

Does the message say you have a "configuration error", or something else. If it's a configuration error, see the wiki below.
http://support.nagios.com/wiki/index.ph ... leshooting

Otherwise, run:

Code: Select all

cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> output.txt
and post the output.txt file.
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

Re: Nagios XI and VMware - It appears as though you have not

Post by markers »

This is what I get from the config files:

Most of the errors consists of The description string for service ' DB%2fWEBSERVER w2003 CPU Usage' on host 'mc.dorkid.com' contains one or more illegal characters

output.txt says:
The description string for service..... input / Output Status on host 'mc.dorkid.com' contains one or more illegal characters.
The description string for service..... Memory Status on host 'mc.dorkid.com' contains one or more illegal characters.
The description string for service.....Networking Status on host 'mc.dorkid.com' contains one or more illegal characters.
The description string for service.....VM Status on host 'mc.dorkid.com' contains one or more illegal characters.

Totalt Warnings: 0 Total Errors: 5

Any idea?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI and VMware - It appears as though you have not

Post by lmiltchev »

markers,

Get rid of the illegal characters and you will be able to apply configuration. Nagios cannot start or restart with a bad configuration:

http://support.nagios.com/wiki/index.ph ... leshooting
Be sure to check out our Knowledgebase for helpful articles and solutions!
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

Re: Nagios XI and VMware - It appears as though you have not

Post by markers »

Maybe I fixed it? What I did, was going the Core Config Manager route, deleting all services and hosts.

Now I added a few vmware-guests and the vm-server itself.

But I can't see them in Nagios. How come not?

The config ok though. Thanks a lot!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI and VMware - It appears as though you have not

Post by lmiltchev »

Did you forget to apply the configuration? Try using the Write Config Tool again. Go to: Nagios Core Config Manager->Tools->Write Config Files and click on all four "Go" buttons. It should show up if you have any errors.
Be sure to check out our Knowledgebase for helpful articles and solutions!
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

Re: Nagios XI and VMware - It appears as though you have not

Post by markers »

THAT I wasn't aware of.

Now it seems that some of my guests are actually showing up at my door.

I am more than eager the let them in.

Thanks again for all your help, everyone.

I am most grateful, and if you ever come to the western part of Norway, I'll even buy you a beer. Even though it's extremely expensive here :-)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI and VMware - It appears as though you have not

Post by lmiltchev »

I'm glad I could help! I don't think I'll make it to Norway anytime soon, but it sounds good! :D
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked