Zenoss and NRPE and oh my

Sos I’ve been messing with zenoss, I tried nagios for awhile as well as FAN (fully automated nagios) but so far I have been liking zenoss better.

So, now I’m trying to get nsclient++ to work with zenoss so I can check the ntp.

So far a ran across this https://www.itefix.no/i2/content/basic-monitoring-windows-hosts-winrpe

because I wanted a quick way to check that nsclient++ was working.

Then I got the Received 0 bytes from daemon 

which happened because I was testing from a workstation and it was denying the connection, once I added that ip it was able to connect.

Of course then I got the request contained arguments (not currently allowed) so to turn that on I needed to use

nscp settings –generate –add-defaults –load-all

Then find it in two places!

 

; Section for NRPE (NRPEServer.dll) (check_nrpe) protocol options.
[/settings/NRPE/server]

; COMMAND ARGUMENT PROCESSING – This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = true

; COMMAND ALLOW NASTY META CHARS – This option determines whether or not the we will allow clients to specify nasty (as in |`&><‘”\[]{}) characters in arguments.
allow nasty characters = true

AND

; Section for external scripts configuration options (CheckExternalScripts).
[/settings/external scripts]

; COMMAND ARGUMENT PROCESSING – This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = true

; COMMAND ALLOW NASTY META CHARS – This option determines whether or not the we will allow clients to specify nasty (as in |`&><‘”\[]{}) characters in arguments.
allow nasty characters = true

Hmm so that finally go NRPE working, so now I execute this plugin http://www.appdelivery.com/2012/09/monitoring-windows-time-with-nagios/

So I can wrap it in this zenoss plugin

https://github.com/j053ph4/ZenPacks.community.zenNrpeComponent

but the force was not strong with me, I couldnt’ figure it out. But I have enjoyed messing with zenoss, so know I’m trying to get the WMI plugin to work

http://wiki.zenoss.org/ZenPack:Microsoft_Windows

p.s. I did get it to work with help from the author! https://michaelellerbeck.com/2014/06/10/centos-6-5-nagios-zenoss-monitoring-windows-time/

Advertisement

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s