nagios

What are the best open source Nagios interfaces?

(best in your own eyes) Most features? Coolest Features? Slickest Design? Centreon? NagVis? Other? ...

JMXQuery connection - authentication failed

Hey all. Newbie question time. I'm trying to setup JMXQuery to connect to my MBean, so far this is what I got. java -classpath jmxquery org.nagios.JMXQuery -U service:jmx:rmi:///jndi/rmi://localhost:8004/jmxrmi -O java.lang:type=Memory -A "NonHeapMemoryUsage" Here's what I get. JMX CRITICAL Authentication failed! Credentials required ...

Server monitoring and alerting software?

What software does everyone use to monitor hardware? I know about nagios and cacti, but does anyone use any other software? ...

What is the best way to monitor RAID configuration on a Dell PowerEdge and IBM x335

Hi, We have various servers running Ubuntu and Windows Server 2003 We use Nagios to monitor our systems. What is the best way to monitor the RAID configuration on these servers? I'm pretty sure the RAID is a hardware RAID as it is configured in the BIOS. Thanks ...

How to parse nagios status.dat file?

I'd like to parse status.dat file for nagios3 and output as xml with a python script. The xml part is the easy one but how do I go about parsing the file? Use multi line regex? It's possible the file will be large as many hosts and services are monitored, will loading the whole file in memory be wise? I only need to extract services tha...

Why does ps only return one line of output in my Perl script when I call it with Nagios?

I have this running: if (open(PS_ELF, "/bin/ps -eLf|")) { while (<PS_ELF>) { if ($_ =~ m/some regex/) { # do some stuff } } } If called locally, the loop runs just fine, once for every output line of ps -eLf Now if the same script is called from Nagios via NRPE, PS_ELF does only contain one line (the first line outp...

How to send extra info in nagios email

I have setup a nagios monitoring and configured check_http plugin to check for a specific URL in my application. That url returns either 'ok' or an error message. My nagios sends me an email when it detects something not 'ok'. However what I am getting is only "HTTP CRITICAL - string not found". What I would like to get in email is the ...

Simplest way to access a DB2 database on iSeries from a Linux (ubuntu) machine?

I would like to run an SQL query on an iSeries (...or "System i" or "AS/400"...) machine as part of a Nagios check, but haven't found a suitable way of interfacing the database yet. IBM suggests using the ODBC driver of System i Access for Linux with unixODBC, but since both systems are new to me, I'd like to know if there are other wa...

AT&T SMS gateway changes today- no more 'from' or 'subject'. Anyone know why?

We use nagios for monitoring at work and I got woken up this morning by a not so helpful message: Time: 07:00:01 Info: Connection refused Normally this would have been much more useful, as in the past the AT&T SMS gateway put text like "FRM: nagios SUBJ: servername/servicecheck is CRICITAL" in the message body. Anyone else seeing this...

Nagios (Return code of 255 is out of bounds)

I am getting the error (Return code of 255 is out of bounds) on the http://localhost/nagios But whe I run the command from #bash.. It runs fine any suggestions Regards ...

apache: cgi links lead to a "you have chosen to open foo.cgi", although scriptalias is set

Following this guide on CentOS 5.2, just getting nagios set up for the first time. The main page shows up just fine, but when I try to view any of the pages that should be generated by a cgi process, firefox prompts me to save the .cgi instead, so apache's obviously not understanding that it needs to run the cgi and get back some html f...

monitor Postgres table activity

hi all i need to monitor my postgres server. i need to get an alarm if there is no change in certain tables after a given time. i've been trying to get xymon and nagios to do this and i have not been able to. please help ...

What's the best monitoring framework and tool like Nagios in the MS Windows Environment?

I know Nagios that runs in the UNIX Envirionment. But I can't find one that runs in MS Windows. I prefer freeware or Open Source. But I don't care commercial production. ...

How do I use Nagios to monitor a log file

We are using Nagios to monitor our network with great success. However, we have a syslog for critical application errors and while I set up check_log, it doesn't seem to work as well as monitering a device. The issues are: It only shows the last entry There doesn't seem to be a way to acknowledge the critical error and return the moni...

Having C# application communicate with Nagios

We are using Nagios to monitor our network with great results. There is now a new requirement we are struggling with: We want to notify Nagios of an non fatal but critical application errors. The application does not stop running but there is some sort of issue that needs looking into. Once the issue has been looked into, we need some ...

Nagios - Custom Report Generation

Hi, I want to generate a custom report in "Nagios-3.2.0". I have defined the work-hours in "timeperiods.cfg" as follows: 'workhours' timeperiod definition define timeperiod { timeperiod_name 0800-2000 alias full time monday 08:00-20:00 tuesday 08:00-20:00 wednesday 08:00-20:00 thursday 08:00-20:00 friday 08...

Does Nagios have an API that can control targets?

In Zabbix, there is a well documented (although in Draft status) API for instantiating targets and controlling them. Does such an API exist in Nagios? The need for this is a cloud-based implementation. I would like to be able to scale monitoring targets dynamically so that on Monday it would be monitoring 10 targets and Tuesday it w...

Nagios / check_mysql_query - show variables

I want to make sure all of the mysql servers have a certain configuration (max_connections>1000, innodb_file_per_table=on) and do regular checks via nagios. However the nagios plugin check_mysql_query states Only first column in first row will be read" ... "The result from the query should be numeric Has anybody an idea how to s...

How do I install .pl plugins for nagios?

I am trying to install the "check_mssql_sproc.pl" plug in for nagios. Where and how do I install it? ...

Perl script to dynamically monitor web pages

I'm tweaking a perl script that I use to monitor sites (response times etc.) and I'm running into issues using Nagios::WebTransact. I want to be able to post to a page on one of my sites, get a response, and use the values in that response to post to the next page. It doesn't look like Nagios::WebTransact supports this. I read it has "l...