Monitoring IIS and httpd connections

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Monitoring IIS and httpd connections

Post by tgriep »

Below is a link for installing the NRPE Agent on to a Linux System.
https://support.nagios.com/kb/article.php?id=515
When compiling and installing the Agent, it will also install the check_nrpe plugin on your server.
Take a look at it and if you have any questions, post them here.
Be sure to check out our Knowledgebase for helpful articles and solutions!
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Monitoring IIS and httpd connections

Post by avandemore »

That document is for XI and Nagios Core doesn't include it by default. Here are the instructions for installation:

NRPE DOCUMENTATION
Previous Nagios employee
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Monitoring IIS and httpd connections

Post by rbizzell39 »

This link doesn't exist but I copied this https://github.com/NagiosEnterprises/nr ... 3.0.tar.gz. But I get an error when I do ./configure and make all
checking for type of socket size... size_t
checking for Kerberos include files... configure: WARNING: could not find include files
checking for pkg-config... pkg-config
checking for SSL headers... configure: error: Cannot find ssl headers
[root@splab-nagios nrpe-3.0]# make all
make: *** No rule to make target `all'. Stop.
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Monitoring IIS and httpd connections

Post by rbizzell39 »

I figured that part out I needed the openssl package
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Monitoring IIS and httpd connections

Post by rbizzell39 »

I am getting another error missing the make file

*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
............................................................................................................................................................................................................................................................+......+.....+............................................................................................................................................................................................................................................................................................................+........................+.......................................................................................................................................................................................+................................................................................................................................................................+.......................................+....................................................................................................................................................................................................................................................................+....................................................................................+....+........................................+............................................+...............................................................................................................+...+........................................................................+............................................................................................................................................................................................++*++*
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
[root@splab-nagios nrpe-3.0.1]# ^C
[root@splab-nagios nrpe-3.0.1]# make
make: *** No targets specified and no makefile found. Stop.
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Monitoring IIS and httpd connections

Post by rbizzell39 »

I fix the last issue with installing and compiling nrpe
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Monitoring IIS and httpd connections

Post by rbizzell39 »

I have nrpe installed and working on the nagios box what do I need to do on the windows machine to get it to talk to nagios box. I tried to run this command /usr/local/nagios/libexec/check_nrpe -H with the ip of one of my IIS 8.5 servers and I received Could not complete SSL handshake
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Monitoring IIS and httpd connections

Post by rbizzell39 »

I can't get nrpe to start I made sure that I have my ip correct for my nagios box the allowed_host is the ip of my nagios box
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Monitoring IIS and httpd connections

Post by rbizzell39 »

Nov 10 15:06:18 splab-nagios systemd[1]: Started Nagios Remote Program Executor.
Nov 10 15:06:18 splab-nagios systemd[1]: Starting Nagios Remote Program Executor...
Nov 10 15:06:18 splab-nagios systemd[1]: nrpe.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Nov 10 15:06:18 splab-nagios systemd[1]: Unit nrpe.service entered failed state.
Nov 10 15:06:18 splab-nagios systemd[1]: nrpe.service failed.
Nov 10 15:06:23 splab-nagios systemd[1]: Stopped Nagios Remote Program Executor.
[root@splab-nagios xinetd.d]#
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Monitoring IIS and httpd connections

Post by avandemore »

What is your OS and version?

Please attach your /usr/local/nagios/etc/nrpe.cfg.
Previous Nagios employee
Locked