Tags » Nagios

Nagios directory Structure

Nagios Directory Structure

Main Config File

Log File

Object Config Files

Nagios Plugins

/usr/local/nagios/libexec // defined in /usr/local/nagios/etc/resource.cfg file

Nagios Web interface… 48 more words


Creating custom okconfig templates

For this example I have a host (google.com) with HTTP, HTTPS, DNS, and Ping checks.

I’ve customized some of the service checks and want to create a template called “Google Server” from this host and it’s services. 609 more words


Postgresql 9.2 monitoring with Adagios on CentOS 7

On the PostgreSQL server:

Note: You may need to deal with SELinux.

Install some needed perl modules, download the check script and make it executable: 1,052 more words


Varnish 4 monitoring with Adagios on CentOS 7

On the Varnish server:

Note: You may need to deal with SELinux.

Clone the varnish-nagios repo, autogen, configure, and make:

git clone https://github.com/varnish/varnish-nagios.git
cd varnish-nagios
… 488 more words

Nginx 1.6.3 status monitoring with Adagios on CentOS 7

Download check_nginx_status.pl:

cd /usr/lib64/nagios/plugins/
wget https://raw.githubusercontent.com/regilero/check_nginx_status/master/check_nginx_status.pl

Install prerequisites:

yum install perl-libwww-perl nagios-plugins-perl

Create a check command:

pynag add command command_name="2ks-check_nginx_status" command_line='$USER1$/check_nginx_status.pl -H $HOSTADDRESS$ -p $_SERVICE_PORT$ -s $_SERVICE_SERVER_NAME$ $_SERVICE_OPTIONAL_ARGUMENTS$'
… 194 more words

How to check nagios config

In this quick tutorial I will explain how to check the nagios config. As a best practice it is normally advised to do this prior to restarting nagios as restarting nagios will result in any config changes being applied. 94 more words


Accept Self Signed SSL Certificate with Selenium RC and Firefox

Hi all,

I use Selenium RC coupled with the centreon_waa plugin to make tests on my web sites. In some case I use self signed certificates and by default it can not pass trough these sites. 54 more words