Search found 8201 matches

by abrist
Thu Jul 09, 2015 11:10 am
Forum: Nagios XI
Topic: NRPE: Automatic restart of multiple services
Replies: 49
Views: 5618

Re: NRPE: Automatic restart of multiple services

My bad, let me pull in [someone] who is a Batch A** mutha!
by abrist
Thu Jul 09, 2015 11:05 am
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24361

Re: check_memory nrpe Unable to read output

The "Unable to read output" error is only caused by a few things: 1. NRPE not running. 2. Incorrect plugin path in nrpe.cfg 3. Permission issues with the plugin. Lets take a look at these: 1. NRPE not running. This is obviously not the case as other nrpe plugins are check-able through nrpe...
by abrist
Thu Jul 09, 2015 10:55 am
Forum: Open Source Nagios Projects
Topic: Nagios integration with freeIPA
Replies: 9
Views: 6206

Re: Nagios integration with freeIPA

As long as the FreeIPA user is passed through to apache so that the cgi auth can be checked, this should be possible. But it is untested and undocumented with Nagios. I would start by backing up your current apache vhost and auth files before pushing forward with a test. You will need to configure a...
by abrist
Thu Jul 09, 2015 10:47 am
Forum: Open Source Nagios Projects
Topic: CGI Error created by "enable_environment_macros=1"
Replies: 17
Views: 8693

Re: CGI Error created by "enable_environment_macros=1"

The environment may be sooooo big that the cgi is timing out waiting for it to return. You may need to increase the apache TimeOut directive value:
http://httpd.apache.org/docs/2.0/mod/core.html#timeout
This may cause issues with long waits with the core frontend though.
by abrist
Thu Jul 09, 2015 10:43 am
Forum: Nagios XI
Topic: New Install, Apache & mysql checks fail
Replies: 25
Views: 2984

Re: New Install, Apache & mysql checks fail

locked.
by abrist
Thu Jul 09, 2015 10:19 am
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24361

Re: check_memory nrpe Unable to read output

Restart the nrpe daemon on the remote host: service nrpe restart Or: service xinetd restart Then try to just connect to nrpe: /usr/lib64/nagios/plugins/check_nrpe -H <remote host ip> /usr/lib64/nagios/plugins/check_nrpe -H <remote host ip> -c check_memory echo $? Also, where did you acquire the chec...
by abrist
Wed Jul 08, 2015 4:46 pm
Forum: Open Source Nagios Projects
Topic: check_memory nrpe Unable to read output
Replies: 13
Views: 24361

Re: check_memory nrpe Unable to read output

You may find this doc useful: https://assets.nagios.com/downloads/nagiosxi/docs/NRPE-Troubleshooting-and-Common-Solutions.pdf Try running the check from the remote host directly: /usr/lib64/nagios/plugins/check_mem -f -w 30 -c 10 echo $? Next, try running it through nrpe locally: /usr/lib64/nagios/p...
by abrist
Wed Jul 08, 2015 4:40 pm
Forum: Nagios XI
Topic: NRPE: Automatic restart of multiple services
Replies: 49
Views: 5618

Re: NRPE: Automatic restart of multiple services

Try wrapping all instances of %%F with quotes: @echo off SET SERVICES=%1 :: Loop through services and restart them :LOOP FOR /F "tokens=1,* delims=," "%%F" IN (%SERVICES%) DO ( net stop "%%F" net start "%%F" SET SERVICES="%%G" GOTO LOOP ) @exit 0 [/...
by abrist
Wed Jul 08, 2015 11:06 am
Forum: Nagios XI
Topic: Nagvis URL not found
Replies: 39
Views: 4398

Re: Nagvis URL not found

Try to reinstall nagvis from the xi tarball.

Code: Select all

cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/2014/xi-2014r2.6.tar.gz
tar vfxz xi-2014r2.6.tar.gz
cd /tmp/nagiosxi/subcomponents/xicomponents/components/
unzip nagvis.zip
cd nagvis
chmod +x install.sh
./install.sh
by abrist
Wed Jul 08, 2015 11:01 am
Forum: Nagios XI
Topic: New Install, Apache & mysql checks fail
Replies: 25
Views: 2984

Re: New Install, Apache & mysql checks fail

Can you post the remote hosts nrpe.cfg and npre/common.cfg (if it exists)? I want to check to see how the check_init_service and check_mem commands are defined.