Search found 13 matches

by i386
Tue Aug 26, 2014 12:51 pm
Forum: Open Source Nagios Projects
Topic: Installing Cisco UCSM Plugin for Nagios 3.x
Replies: 5
Views: 2923

Re: Installing Cisco UCSM Plugin for Nagios 3.x

I don't have it working but I can try to help out. It should be just like any other plugin. Did you find the nagios.cfg file? You will need to enter in the full path in place of "NAGIOS_GOME" when defining the cfg_dir line. I am trying to get it working. The problem is that the instructio...
by i386
Tue Aug 26, 2014 11:49 am
Forum: Open Source Nagios Projects
Topic: Installing Cisco UCSM Plugin for Nagios 3.x
Replies: 5
Views: 2923

Re: Installing Cisco UCSM Plugin for Nagios 3.x

Are you referring to this doc? https://cisco-marketing.hosted.jivesoftware.com/servlet/JiveServlet/download/52673-6-68422/cisco_imc_v0.9.1_nagios_user_guide.pdf If so you are just editing the nagios.cfg file in the same directory where the rest of your nagios config files are (for hosts, services, ...
by i386
Tue Aug 26, 2014 10:55 am
Forum: Open Source Nagios Projects
Topic: Installing Cisco UCSM Plugin for Nagios 3.x
Replies: 5
Views: 2923

Installing Cisco UCSM Plugin for Nagios 3.x

Any one have experience installing CISCO UCSM plugin? I am having problem with 2.2 Install Nagios Monitoring Plugin Check and add the following property to nagios.cfg in the Nagios home etc directory cfg_dir= NAGIOS_HOME/cisco The instructions are unclear with whats suppose to be in this directory? ...
by i386
Tue Jul 08, 2014 9:18 am
Forum: Open Source Nagios Projects
Topic: Defining new nagios service
Replies: 21
Views: 9421

Re: Defining new nagios service

Lots of problems in this file: You have no closing "}" for the first definition. You have no closing "}" for the second definition. You use "command_name" in the last definition - should be "check_command" In the same one, "check_disk!/" is not a va...
by i386
Tue Jul 08, 2014 12:20 am
Forum: Open Source Nagios Projects
Topic: Defining new nagios service
Replies: 21
Views: 9421

Re: Defining new nagios service

eloyd wrote:Please post as an attachment your entire clientone.cfg file. Click on "upload attachment" below the "Save | Preview | Submit" buttons.

Please find the file attached.
by i386
Mon Jul 07, 2014 2:27 pm
Forum: Open Source Nagios Projects
Topic: Defining new nagios service
Replies: 21
Views: 9421

Re: Defining new nagios service

I have the following, but I want to be sure its correct: Nope. You can't have a "command_line" in a service check. The service check definition uses "check_command" to specify the command and arguments. "check_command" is defined in commands.cfg The commands.cfg has a ...
by i386
Mon Jul 07, 2014 2:26 pm
Forum: Open Source Nagios Projects
Topic: Defining new nagios service
Replies: 21
Views: 9421

Re: Defining new nagios service

For fun, try this: strings clientone.cfg > clientone_new.cfg mv clientone.cfg clientone.cfg.sav mv clientone_new.cfg clientone.cfg See if it passes the sanity check no go. [root@nagios1 servers]# strings clientone.cfg > clientone_new.cfg [root@nagios1 servers]# mv clientone.cfg clientone.cfg.sav [r...
by i386
Mon Jul 07, 2014 2:21 pm
Forum: Open Source Nagios Projects
Topic: Defining new nagios service
Replies: 21
Views: 9421

Re: Defining new nagios service

...However, that does not explain why it works when I comment out the new definitions. If you're commenting out a line that has a non-printable character in it, then that does explain it. :-) Oh, sorry, I should have been clear. I comment out the new definition, which is at the bottom. when I try a...
by i386
Mon Jul 07, 2014 2:19 pm
Forum: Open Source Nagios Projects
Topic: Defining new nagios service
Replies: 21
Views: 9421

Re: Defining new nagios service

Does Trevor's comment shed any light? This is often seen when copying a file from a Windows environment If it were me, I'd delete lines 1-8 and recreate them by manually typing the information back in. You know? I did copy the original code from a web site. Then I modified it with my server details...
by i386
Mon Jul 07, 2014 2:09 pm
Forum: Open Source Nagios Projects
Topic: Defining new nagios service
Replies: 21
Views: 9421

Re: Defining new nagios service

Does Trevor's comment shed any light? This is often seen when copying a file from a Windows environment If it were me, I'd delete lines 1-8 and recreate them by manually typing the information back in. You know? I did copy the original code from a web site. Then I modified it with my server details...