Monitoring IIS and httpd connections
Re: Monitoring IIS and httpd connections
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.
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
That document is for XI and Nagios Core doesn't include it by default. Here are the instructions for installation:
NRPE DOCUMENTATION
NRPE DOCUMENTATION
Previous Nagios employee
-
rbizzell39
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: Monitoring IIS and httpd connections
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.
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
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
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.
*** 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
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
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
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
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]#
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
What is your OS and version?
Please attach your /usr/local/nagios/etc/nrpe.cfg.
Please attach your /usr/local/nagios/etc/nrpe.cfg.
Previous Nagios employee