Plugin Help

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
michaelsmith110
Posts: 13
Joined: Fri Jul 09, 2010 2:25 pm

Plugin Help

Post by michaelsmith110 »

Hi, I'm new to Nagios. Love what I see so far. Have XI up and running on an ESXi server. I am able to run the monitoring wizard and monitor a windows server with NSclient installed. However, when I add in downloaded plugins I can't get the plugins to work properly. I have added the commands under the command section and set up a service with the specific check, but I can't get any of them to work. Some are .wsf files. Some are zipped. I have tried the ZIP and Extracted files. Everything is loading right, but I just can't get it to work. What am I not doing right?
michaelsmith110
Posts: 13
Joined: Fri Jul 09, 2010 2:25 pm

Re: Plugin Help

Post by michaelsmith110 »

Can anyone help? Do I need to add something to the NSCLIENT ini file? Is there something with the file formats? Just looking for a point in right direction as the documentation is not really that detailed.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Plugin Help

Post by mguthrie »

Could you clarify what you're not able to get working? Is it not getting data for the host or service, or are graphs not working? Or are you getting error message from the core config manager? You can even send screen shots if that's easiest.

Also, which plugins are you having trouble with?
michaelsmith110
Posts: 13
Joined: Fri Jul 09, 2010 2:25 pm

Re: Plugin Help

Post by michaelsmith110 »

mguthrie wrote:Could you clarify what you're not able to get working? Is it not getting data for the host or service, or are graphs not working? Or are you getting error message from the core config manager? You can even send screen shots if that's easiest.

Also, which plugins are you having trouble with?
Sorry. It's not getting data from the server. This is happening with all the plugins I have tried making me think the problem exists between the keyboard and the chair. After some more research it might just be something as obvious as not having the correct arguments. I pulled them all off and am going to try a few more and see if it was just incorrect arguments. I will update with screenshots if it still isn't working.

Thanks!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Plugin Help

Post by mguthrie »

No worries. Hope it goes well. If not, go ahead and post screenshots, we'll take a look at it.

Here's a few documentation links if you need them.

Managing Plugins
http://library.nagios.com/library/produ ... ng-plugins

Monitoring VMware
http://library.nagios.com/library/produ ... -nagios-xi

XI Window Agent
http://library.nagios.com/library/produ ... dows-agent
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Plugin Help

Post by mmestnik »

What plug-ins? Where are your putting them? How do you hope to make use of the results?

I'm only guessing, but perhaps you need to make use of the nsca ageant/daemon that is bundled with nsclient++. What happens when you run the plug-ins from the command line?

You'll have to excuse my limited experience with Windows as well. I would be looking at a blue screen if I was in your chair, so you are actually doing vary well.

We are working to maintain a good relationship with the other projects used with Nagios, like NSClient++. To that end we would like to intercept any support/bug or feature requests so that we can manage the NagiosXI, letting them focus development on Nagios Core.
michaelsmith110
Posts: 13
Joined: Fri Jul 09, 2010 2:25 pm

Re: Plugin Help

Post by michaelsmith110 »

LOL... Thanks... I still a *nix tweener... little past beginner but not to intermediate, although working my around Nagios has really helped me gain some good experience. I appreciate the help.

Originally I posted trying various perfmon plugins because I couldn't get it working with the wizard. Then I found a page where an alternative wizard was posted and between that and upgrading NSCLient++ to a newer version, many of the issues with the builtin checks were fixed. I was trying to get check_openmanage to work using NRPE checks, but was having difficulty and ended up just switching to SNMP, which works much better IMHO... so much easier.

At this point, I think the problem indeed existed between the keyboard and chair for the plugins and a new day and time away allowed me to figure out what was wrong.

I thanks everyone for their help and encouragement... I will be posting again as I work to get all the monitoring up and running. Really loving it though.
michaelsmith110
Posts: 13
Joined: Fri Jul 09, 2010 2:25 pm

Re: Plugin Help

Post by michaelsmith110 »

Well, its not just that plugin. It is anything with that much data. That plugin in particular HAS that much so I was using it as an example. It also does it with a Scheduled Tasks NRPE module.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Plugin Help

Post by mmestnik »

We were just talking about this the other day. The format of the output is vary particular and NRPE may not have been patched to support the extensions added in Nagios 3.x.

Nagios 3.x is still kind-of new and there may not be many ppl working on NRPE these days, if at all.

That is to say it might not be the amount of data, but the format of the data. The 2.x format insisted on a single line, but the extention was to allow bulk data to be added on the following lines, so the output could have multiple lines.

NRPE is known to only transmit a single line.