Page 1 of 1

XI demo errors with Monitoring Engine and wizards

Posted: Wed Sep 14, 2011 5:04 am
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

Re: XI demo errors with Monitoring Engine and wizards

Posted: Wed Sep 14, 2011 11:04 am
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.

Re: XI demo errors with Monitoring Engine and wizards

Posted: Wed Sep 14, 2011 11:11 am
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

Re: XI demo errors with Monitoring Engine and wizards

Posted: Fri Sep 16, 2011 7:09 am
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.

Re: XI demo errors with Monitoring Engine and wizards

Posted: Fri Sep 16, 2011 3:09 pm
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.

Re: XI demo errors with Monitoring Engine and wizards

Posted: Mon Sep 19, 2011 3:13 am
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

Re: XI demo errors with Monitoring Engine and wizards

Posted: Mon Sep 19, 2011 10:41 am
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.

Re: XI demo errors with Monitoring Engine and wizards

Posted: Tue Oct 04, 2011 8:41 am
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

Re: XI demo errors with Monitoring Engine and wizards

Posted: Tue Oct 04, 2011 11:04 am
by nscott
ltodd,

Can you remove all the mrtgscan-* files from your /usr/local/nagiosxi/tmp directory and then try the scan again?

Re: XI demo errors with Monitoring Engine and wizards

Posted: Thu Oct 06, 2011 6:49 am
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