xi demo errors with Monitoring Engine and wizards

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
ltodd2
Posts: 16
Joined: Mon Aug 09, 2010 9:07 am

xi demo errors with Monitoring Engine and wizards

Post by ltodd2 »

Morning

I have downloaded the xi demo and have it running. I am having a re issues with it that I cant find an answer to.
1. I tried to add a device and when it got to the end and was adding it and saving it was submitted ok but then failed on config. I tried a few times but nothing. I rebooted the server and now the Monitoring Engine is stopped and will not start. Any ideas

2. Can I monitor port usage on a cisco switch and have it graphed every min. I think the default is 5 but I need some to be faster.

3. Can It monitor vmware esx and the vms on them

thanks

Lee
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: xi demo errors with Monitoring Engine and wizards

Post by nscott »

I'll jump in and answer question 2 here:

Its __possible___ to set the updating of ports to be every minute with the standard switch wizard, however that would take some doing with MRTG as it is hardcoded to be every 5 minutes. If its not a across the board and you just need a few it wouldn't be too much trouble setup an SNMP check on the selected ports and run those checks every minute.
Nicholas Scott
Former Nagios employee
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: xi demo errors with Monitoring Engine and wizards

Post by lmiltchev »

1. Nagios cannot start or restart successfully with a bad configuration. In the Core Config Manager, click on "Write Config Files" under "Tools", go through all 4 steps and post the output if it contains error messages. Read more about this on our wiki page:

http://support.nagios.com/wiki/index.ph ... leshooting

3. Yes, you can monitor vmware esx with our VMware Nagios xi Monitoring Wizard:

http://library.nagios.com/library/produ ... -nagios-xi
Be sure to check out our Knowledgebase for helpful articles and solutions!
ltodd2
Posts: 16
Joined: Mon Aug 09, 2010 9:07 am

Re: xi demo errors with Monitoring Engine and wizards

Post by ltodd2 »

lmiltchev

Thanks for the reply.
Check config files errors with the below message. There are 64 in total. Im guessing its the * thats the issue? but can you confirm please.
Error: The description string for service '*** Access Control Point *** Bandwidth' on host '172.16.16.21' contains one or more illegal characters.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: xi demo errors with Monitoring Engine and wizards

Post by nscott »

Yes the star is an illegal character, remove it from the Service/Host name in the Core Config Manager and then you should be able to apply your config again.
Nicholas Scott
Former Nagios employee
ltodd2
Posts: 16
Joined: Mon Aug 09, 2010 9:07 am

Re: xi demo errors with Monitoring Engine and wizards

Post by ltodd2 »

nscott

I fixed that but now having issues with the vmware checking. I have followed the link given by lmiltchev. I have installed the vmware sdk and had to manual install some perl mods.
The following installed ok
wget http://assets.nagios.com/downloads/nagi ... noarch.rpm
yum install -yq perl-Class-Accessor perl-Config-Tiny perl-Math-Calc-Units perl-Params-Validate

rpm -Uvh perl-Nagios-Plugin-*.rpm fails with
[root@localhost ~]# rpm -Uvh perl-Nagios-Plugin-*.rpm
error: Failed dependencies:
perl(:MODULE_COMPAT_5.8.8) is needed by perl-Nagios-Plugin-0.33-2.noarch
[root@localhost ~]#
I have had a look around all all I found was on the centos forum saying that centos 6 uses perl 5.10.1 and xi uses 5.8.8.
http://www.centos.org/modules/newbb/vie ... 0&forum=55
Any ideas as I would love to get vmware monitoring working
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: xi demo errors with Monitoring Engine and wizards

Post by nscott »

I updated the PDF at http://assets.nagios.com/downloads/nagi ... ios_xi.pdf

It uses yum so you will no long have to use perl-Nagios-Plugin.rpm for the install. Please follow the instructions from the top as I completely restructured the install procedure.
Nicholas Scott
Former Nagios employee
ltodd2
Posts: 16
Joined: Mon Aug 09, 2010 9:07 am

Re: xi demo errors with Monitoring Engine and wizards

Post by ltodd2 »

nscott

Been a while getting back but its been crazy here the last few weeks. I now have the vmware part working. Thanks for the help.

I have got a strange one with the switch wizard. I pointed it at a switch and forgot about the issue from my earlier post about * being invalid but the scan found all the ports with descriptions containing *. I applied it and yes I got an error so I removed it and renamed all the ports. Scanned again and it only shows the ports with a description of GigabitEthernet2/1 for example and not the description. I pointed it at another switch that I have not changed the descriptions on and it picks up the name with the * in it. Cant figure it, does that make any sense to you guys?

Thanks
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: xi demo errors with Monitoring Engine and wizards

Post by nscott »

ltodd,

Can you remove all the mrtgscan-* files from your /usr/local/nagiosxi/tmp directory and then try the scan again?
Nicholas Scott
Former Nagios employee
ltodd2
Posts: 16
Joined: Mon Aug 09, 2010 9:07 am

Re: xi demo errors with Monitoring Engine and wizards

Post by ltodd2 »

I have done that and was thinking it had not worked but have noticed some ports show the descriptions. The ones that dont all have # at the beginning so im guessing that # is not invalid but comments out? i will remove them and see. This will be annoying as we have another tool we are testing that will except both * and #

Lee