nagios

Integrate different Nagios webservers

I have different sites running with 4 to 5 server at each location. All the locations have one monitoring server with Nagios. Now I want to create a central location and want to combine all the nagios services running at each location. Can anyone please point me to some documentation for these type of jobs. ...

Needed software that uses Hadoop/Nagios.

Hello, I'm wanting to experiment with Hadoop and its related parts like Pig and HBase and I'm trying to think of an interesting (and most importantly useful) project to start on with these tools that would be related to Nagios. I have access to ~200 hosting servers running Apache/MySQL/PHP/Nagios (so I have lots of logs/data that I cou...

Nagios timeout configuration

Hi, How do I set an individual timeout setting per service check. All timeouts default to 60 seconds as per the main configuration but I require that one particular check have a longer timeout due to the execution time. How can this be done? Please help. Thanks ...

Perl Net::SNMP returns noSuchName when snmpwalk works

I am new to perl, but I am trying to write a plug-in for nagios. I have a simple get request that fails, but if I try the same request with snmpwalk it works. My code is: #!/usr/bin/perl -w use strict; use Net::SNMP; my $host = '10.10.10.203'; my $community = 'myComm'; my $session; my $error; my $response = undef; ($s...

How to make nagios not send messages during the night and morning to send all the remaining errors

I have Nagios checking service status and sending SMS messages about service status. Some problems are not important at night and prefer to not send them at night. define timeperiod{ timeperiod_name non_work alias Non work hours sunday 00:00-24:00 monday 00:00-09:00,18:00-24:00 tuesday 00:00-09:0...

RRDTool and projects that use it (cacti etc) - HOWTO, storage, backup etc.

I want to create an application similar to cacti. I would like to store time-series data in a MySQL database (that is rotated on schedule). Where does cacti (nagios, zenoss) store polled data? a) in a MySQL database b) in a RRD database c) both? How does cacti (nagios, zenoss) make room for more data when it runs out of space? Ho...

Nagios Connection

Good Afternoon, Besides SSH, is there another protocol connection to Nagios? Thanks. ...

AWK: Are these statements required?

Hi I have the following line in a Nagios bash script. It is being used to get the up and down error rates for the specified network cards: if=`awk -v interface="$INTERFACE" '$1 ~ "^" interface ":" { split($0, a, /: */); $0 = a[2]; print $3 " " $11 }' /proc/net/dev` I've never worked with awk before today, so I'm finding my way a bit....

Problem Istalling NRPE

Good afternoon everybody, From where can I extract the nrpe-x.x.tar.gz? This question is because I am trying to install NRPE form monitoring remote hosts and when I go to wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz it turns out that file does not exist. Thaks, ...

Puppet and NRPE

Hi! Can I replace NRPE for Puppet, for managing? If the answer if affirmative, could somebody explain me which are the advantages between both of them?. Thanks, ...

nagios password in resource.cfg

in resource.cfg i'm storing the password for mysql nagios user. How can I encrypt the password in resource.cfg ? ...

Is it possible to pause nagios notification escalation?

If i set up a nagios alert notification escalation definition, is it possible to somehow tell nagios to pause escalation while someone who's notified earlier tries to fix the problem? e.g. if the web server starts flapping but someone tries to fix it, there's no need to notify people further up the chain. Thanks ...

Nagios program against alerts or alert api

We use Nagios to send emails when a machine goes down. This works well. We have a self-made alerting system that has an API for issuing alerts. I would like to program against the Nagios alerts and would prefer not to have to parse emails. Can Nagios logs alerts it sees into a file, or can be configured to run a script when it sees an...

Nagios authentication

Good night! I wonder if I could authenticate nagios to ldap, and if the answer is positive to this question. In what way could I do it? Thanks in advance! ...

Nagiosgraph throwing error

When trying to open any graph on Nagios throws below error: Nagiosgraph has detected an error in the configuration file: /etc/nagios/nagiosgraph/nagiosgraph.conf Log: /var/log/nagios/nagiosgraph.log failed to open! ...

How to configure nagios with mysql

HELLO! I have installed nagios 3.2.2 and I am trying to configure it with mysql, but I cannot find the file "create_mysql", this file should have the necessary tables for. Ah! It is over debian lenny. Where is it supposed to be located? Thanks. ...

How can I install DBD::Pg if postgres is not installed?

I have a separate servers running with postgres and Nagios. I want to use "psql_replication_check.pl" with nagios to monitor the postgres replication status. This check script requires DBD::Pg module to connect to database. Installation of DBD::Pg asking for the path of pg_config file. #perl Makefile.PL Configuring DBD::Pg 2.17.1 Path ...

Nagios/NRPE giving a "No output returned from plugin" error

Hi, Getting a "No output returned from plugin" error message from a Nagios/NRPE script 1) Running Nagios v3.2.3 and NRPE v2.12 2) The script: OK_STATE=0 UNAME=/bin/uname -r echo "OK: Kernel Version=$UNAME" exit $OK_STATE 2) Command line results on the Nagios Server using NRPE Same OK results for both the root and nagios user...