Search found 3722 matches

by mcapra
Thu Mar 30, 2017 4:27 pm
Forum: Open Source Nagios Projects
Topic: Can't open web interface (only php code)
Replies: 8
Views: 8282

Re: Can't open web interface (only php code)

Can you share the guide you used? apachectl -M | grep php - Nothing shows. This is likely part of the problem. If you can share the guide you used, it might be easier to identify the correct solution based on the steps presented in the guide. Can you share the output of: ls -al /etc/httpd/modules/ g...
by mcapra
Thu Mar 30, 2017 3:57 pm
Forum: Open Source Nagios Projects
Topic: Can't open web interface (only php code)
Replies: 8
Views: 8282

Re: Can't open web interface (only php code)

Did you follow a particular guide when you set this machine up?

Can you share the output of:

Code: Select all

service httpd restart
apachectl -M | grep php
cat /etc/httpd/conf.d/php.conf
by mcapra
Thu Mar 30, 2017 3:50 pm
Forum: Open Source Nagios Projects
Topic: Department host group
Replies: 5
Views: 9226

Re: Department host group

You could probably do it that way, but if you have separate checks for your Linux and Windows machines you could also just define subgroups of the " department-hosts " Hostgroup. Something like " department-hosts-linux " and " department-hosts-windows ". Here's a sample...
by mcapra
Thu Mar 30, 2017 3:32 pm
Forum: Nagios XI
Topic: HTTP URL monitor not working
Replies: 11
Views: 616

Re: HTTP URL monitor not working

It's pretty hard to say. On a basic CloudFlare plan, I don't have any problems hitting a test site with check_http (sanitizing with example.com and 1.1.1.1): [root@xi-stable ~]# /usr/local/nagios/libexec/check_http -H www.example.com HTTP OK: HTTP/1.1 200 OK - 10283 bytes in 0.532 second response ti...
by mcapra
Thu Mar 30, 2017 3:06 pm
Forum: Open Source Nagios Projects
Topic: Install Check_HTTP_Content
Replies: 25
Views: 14131

Re: Install Check_HTTP_Content

It has no other dependencies than PERL itself and some libraries (Getopt::Std and LWP::UserAgent, latter with optional SSL support). Running this on my vanilla Nagios Core 4 machine produces this error: [root@core4 tmp]# ./check_http_content Can't locate LWP/UserAgent.pm in @INC (@INC contains: /ro...
by mcapra
Thu Mar 30, 2017 2:58 pm
Forum: Nagios XI
Topic: Why is Nagios XI telling me my config files are not correct
Replies: 3
Views: 653

Re: Why is Nagios XI telling me my config files are not corr

Did you follow a particular guide/documentation when you set this machine up? Is SELinux enabled on this machine? What is the output of: getenforce Can you also share the output of these commands: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ls -al /usr/local/nagios/etc cat /etc/...
by mcapra
Thu Mar 30, 2017 2:52 pm
Forum: Nagios XI
Topic: Nagios XI Centos OS is down.
Replies: 21
Views: 4130

Re: Nagios XI Centos OS is down.

This appears to be something specific to the machine. It sounds like the machine doesn't have a root partition mounted, or the file system was damaged. It might be more efficient to start with a fresh machine, or if you're fairly familiar with Linux file systems you'll need to verify that the root p...
by mcapra
Thu Mar 30, 2017 2:47 pm
Forum: Nagios Log Server
Topic: Could not fetch URL http://pypi.python.org/simple/: connecti
Replies: 5
Views: 9288

Re: Could not fetch URL http://pypi.python.org/simple/: conn

Can you try running get-pip.py by itself with the --proxy argument? get-pip.py should exist in the same path as the fullinstall script:

Code: Select all

python get-pip.py --proxy="[user:passwd@]proxy.server:port"
by mcapra
Thu Mar 30, 2017 1:44 pm
Forum: Nagios Log Server
Topic: Log forwarding to other NLS or SIEM
Replies: 1
Views: 1191

Re: Log forwarding to other NLS or SIEM

I discussed some of these topics in this thread: https://support.nagios.com/forum/viewtopic.php?f=37&t=41560 I'll first point out where the sneaky Output rules are hidden: https://support.nagios.com/forum/download/file.php?id=16281&mode=view Assuming port 9300 on the "destination" ...
by mcapra
Thu Mar 30, 2017 1:35 pm
Forum: Nagios XI
Topic: using Nagios XI for Auto restart Jbos Servervice on Linux
Replies: 1
Views: 392

Re: using Nagios XI for Auto restart Jbos Servervice on Linu

You would first need to define your JBoss service check command and use that in a Service check. If you wanted to then run some other script when the Service check returns a "Problem State" such as warning/critical/unknown, you would define an "Event Handler" to handle that behav...