Re: [Nagios-users] alert RSS feed possible?

2012-07-27 Thread MAD
Hi, I wrote this a long time ago, so it can clearly be improved. Create a Nagios commands called notify-host-rss and notify-service-rss like this : defined command { command_name notify-host-rss command_line $USER1$/notification_rss.pl -n '$NOTIFICATIONTYPE$' -H $HOSTNAME$ -e $HOSTSTATE$ -o

Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread MAD
Hi, You could also do a SNMPWALK on the hrSWInstalledName table (1.3.6.1.2.1.25.6.3) and extract the latest installed kernel version by doing some regex work. Marc-André On 06/29/2012 08:45 AM, Stuart Browne wrote: Current as in installed, or current as in available? We wrote this a

[Nagios-users] Passive freshness checks go wrong

2012-06-11 Thread MAD
Hi, I have a Nagios 3.2.3 box on an Ubuntu server 11.04 with about 930 hosts and 28500 services. For each host, I have 5 passive checks mapped on SNMP Traps. In order to secure those checks, I set up a freshness checks using check_dummy and a freshness threshold of 15min, as I normally

[Nagios-users] JMX requests without java

2012-05-31 Thread MAD
Hi list, I have to monitor a bunch of JVM by collecting some JMX data. I was wondering if there is a way to submit JMX requests without installing java on my Nagios server. Usually I would use the SNMP Java agent but it doesn't show all the data I need, and I can't install the JMX4Perl agent

Re: [Nagios-users] status-txt: easier for other applications/services to use Nagios data

2012-05-03 Thread MAD
Hi, You could also use the mk_livestatus broker (available here http://mathias-kettner.de/checkmk_livestatus.html) which can be used to fetch information from Nagios in JSON format by forging your own requests. Best regards, Marc-André On 05/03/2012 05:57 AM, Wenhua Zhang wrote: Hi all,

Re: [Nagios-users] use_large_installation_tweaks

2012-04-05 Thread MAD
On 04/04/2012 10:47 PM, Daniel Wittenberg wrote: We did the same, too much over from NDO to justify any benefit. Dan -Original Message- From: C. Bensend [mailto:be...@bennyvision.com] Sent: Wednesday, April 04, 2012 10:18 AM To: nagios-users@lists.sourceforge.net Subject: Re:

[Nagios-users] Integer length too long in NET::SNMP requests

2012-03-22 Thread MAD
Hi list, I'm trying to monitor the CPU load on *nix servers by walking on the OIDs hrProcessorLoad. Unfortunately, on some servers (Solaris one I think) I get the error INTEGER length too long (5 Bytes). If i run snmpwalk -v2c -c mycommunity myserver hrProcessorLoad everything works fine, or

Re: [Nagios-users] Host including services from another host with the same base name

2012-03-01 Thread MAD
On 02/29/2012 07:58 PM, Jason J. W. Williams wrote: Hello, I've got two hosts named: apps-1.example.com mysql_apps-1.example.com For some reason mysql_apps-1.example.com is showing not only services defined for it but also services defined for apps-1.example.com. You must probably have

[Nagios-users] WMI and user account

2012-02-27 Thread MAD
Hi list, I'm have to find a way to get some advanced monitoring metrics for Windows boxes. As SNMP is not really usefull on Windows (sic!) and I really don't want to be messing with locales to get data from the perfmon, I was looking to use WMI requests. However, each doc I've seen seem to

Re: [Nagios-users] Eventlog monitoring through NSClient++

2012-02-24 Thread MAD
On 02/24/2012 05:04 PM, C. Bensend wrote: We actually use check_logfiles with NSClient so haven't seen this, and we have tons of rules. Might be worth looking at. Not that anything is wrong with NSClient :) just check_logfiles also has more regex and options. +1 The consol.de guys are

[Nagios-users] Passive checks are stalled despite freshness check set

2011-12-06 Thread MAD
Hi list, I have a small problem with Nagios's service freshness checks. I'm probably missing something but I don't see what. I have created several passive checks, waiting for SNMP traps and triggering CRITICAL states on reception. I set freshness threshold to 15min (900s) to reset the

Re: [Nagios-users] check_log via check_nrpe problem

2011-11-04 Thread MAD
Hi, If you ran your tests with an other user than the one NRPE is using on your server, may be he can't overwrite your /tmp/messages file and trigger a CRITICAL state (I see in your tests you are logged in as root). Marc-André On 11/04/2011 04:53 AM, Brandstaetter, Sigmund wrote: Hi Guys,

Re: [Nagios-users] programmatic access to nagios state

2011-11-02 Thread MAD
Hi, You can also use NDOUtils or Merlin to store your hosts and services' state and configuration in a database. Marc-André On 11/01/2011 03:18 PM, Daniel Wittenberg wrote: We use the livestatus event broker for that purpose, there is also a JSON web services frontend for livestatus as

[Nagios-users] Next check jumps from 5min to 24h

2011-10-31 Thread MAD
Hi list, Something strange happened last night. At about 23:00 the 30th of October, all checks (hosts and services) were scheduled to run the 31st of October at 23:00 instead of the usual 5min later. I had to rescheduled all checks manually this morning to restart my monitoring. I'm running

Re: [Nagios-users] nagvis requires ndoutils; how stable is ndoutils?

2009-06-10 Thread MAD
I have been using it from 4 months and it works well so far. I only had a little glitch last week while NDO was cleaning up automatically some tables. I deactivate the functionality and everything was back to normal. Marc-André - Mail Original - De: Rahul Nabar rpna...@gmail.com À:

Re: [Nagios-users] Restrict Access

2009-06-10 Thread MAD
Did you mean on the Nagios web interface ? If yes it is possible by adding users in the file htpassdw.users having the same name as contacts in your nagios hosts' defintions... See the Nagios documentation about CGI configuration for more details. Marc-André - Mail Original - De:

[Nagios-users] Nagios does not run any check anymore

2009-06-04 Thread MAD
Sorry if that question was already answered but I wasn't able to find a solution. I have Nagios v3.0.6 running some test to check the access to some URL and supervising some local metrics (cpu load, disk space...). For some reason I can't figure out, Nagios stopped running the test and

Re: [Nagios-users] timeperiod and exclude property

2009-05-26 Thread MAD
You could may be work it out by transforming your exclude into a use and create empty days for your holidays timeperiods, i.e. days starting and finishing at the same hour (25 december 00:00 to 00:00 for example). Here is an example with your Sweden timeperiods. This should work. Marc-André

Re: [Nagios-users] (ndoutils) DB create error

2009-05-26 Thread MAD
Are you sure there is a database called ndoutils? If not, you'll have to create it (create database ndoutils or something similar). Marc-André - Mail Original - De: yokoy...@rd.aisin.co.jp À: nagios-users@lists.sourceforge.net Envoyé: Mardi 26 Mai 2009 11h17:47 GMT +01:00 Amsterdam /

Re: [Nagios-users] Nagios, ndoutils and database indexes

2009-05-13 Thread MAD
I personally added indexes on the following fields : * servicechecks / service_object_id * servicechecks / state * hostcheck / host_object_id * hostcheck / state * objects / objecttype_id * services / host_object_id * statehistory / object_id * statehistory / state_change * statehistory / state *

Re: [Nagios-users] Problem in configuring NSClient ++

2009-05-12 Thread MAD
It seems you used a template when you created your host definition into Nagios, but you hadn't created it. Try create the 'windows-server' template (I think you can also find it in some configuration file samples with your distribution of Nagios) or remove the template of your host definition

Re: [Nagios-users] report : Insufficient Data

2009-05-12 Thread MAD
To create its graphs, Nagios parses its log files. So if you delete them (or they are lost), it will be like Nagios wouldn't have been running for the period missing from the log file. For example, if the log files from May the 2nd to May the 4th are missing, you won't have any data on the

Re: [Nagios-users] report : Insufficient Data

2009-05-12 Thread MAD
have some unknown data from time to time (reboot of your serveur, etc...). Marc-André - Mail Original - De: Meyer Jerome jerome.me...@baldata.ch À: MAD sri.lu...@free.fr Cc: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 15h55:35 GMT +01:00 Amsterdam / Berlin / Berne / Rome

Re: [Nagios-users] check_icmp and check_host

2009-05-06 Thread MAD
Sorry, just realizing The reason you don't have statusmap.cgi, trends.cgi and histogram.cgi is may be becaus you don't have one of the graphic library installed on your server. Check if you have libjpeg-devel, libgd-devel and libpng-devel installed on your server (if your running under

Re: [Nagios-users] PNP swap template HOWTO

2009-05-06 Thread MAD
You could use a template I developped some weeks ago. It works pretty well. Just copy it into the templates directory Marc-André - Original Message - From: Ayotunde Itayemi ayotunde.itay...@zain.com To: nagios-users@lists.sourceforge.net Sent: Wednesday, May 06, 2009 5:09 PM Subject:

Re: [Nagios-users] mouse over it.

2009-04-20 Thread MAD
You will have to modify the 'status.c' file and compile it again. There must be a line with something like that : printf(a href=%s title=%s[...]/a, [...,] temp_host-address[, ...]); All you have to do is changing temp_host-address by temp_host-alias, save the file and then `make make install`.

Re: [Nagios-users] Pppnp4nagios graph customization

2009-04-14 Thread MAD
- De: mohandas k mohanda...@tcs.com À: MAD sri.lu...@free.fr Cc: nagios-users@lists.sourceforge.net Envoyé: Mardi 14 Avril 2009 06h37:45 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] Pppnp4nagios graph customization Hi Mad, I have checked and tried

Re: [Nagios-users] Pppnp4nagios graph customization

2009-04-14 Thread MAD
Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] Pppnp4nagios graph customization MAD schrieb: Hi Mohandas Here is a template for swap utilization performances with colours changing following the service state. I hope this will be what you've been looking

Re: [Nagios-users] Pppnp4nagios graph customization

2009-04-14 Thread MAD
I knew I should have tested it... I assumed check_swap was giving the swap utilization but it gives the free space left. So I had to make some changes to reverse the situation and print the space the swap actually uses. Marc-André - Mail Original - De: MAD sri.lu...@free.fr À: Joerg

Re: [Nagios-users] Pppnp4nagios graph customization

2009-04-09 Thread MAD
I managed to create some templates graphing in different colors according to the threshold defined with your services This will graph in green if the value is under the warning threshold, in yellow if it is between warning and critical threshold and red if it is beyond critical threshold or

[Nagios-users] LOG2NDO doesn't insert anythigng in database

2009-03-26 Thread MAD
Hi all, I'm using NDOUtils to extract logs from Nagios to a MySQL database. Unfortunately, the ndo2db daemon crashed this week-end and I noticed it only on yesterday. I tried to re-inject logs via the log2ndo utility and data where inserted in logentries table but nothing inside the other

[Nagios-users] Using $SERVICESTATEID$ and $LASTSERVICESTATEID$ macros in notes URL

2009-03-23 Thread MAD
Hi all This may be a dummy question. I would like to use the $SERVICESTATEID$ and $LASTSERVICESTATEID$ macros to define a note URL for some services, but for some reasons, these macros are not processed by Nagios. For example, I defined a notes URL as :

Re: [Nagios-users] HELP: To make graphs with plugin output!!!!

2009-03-19 Thread MAD
You can use Pnp4Nagios (www.pnp4nagios.org/pnp/start). This will use the performance data plugin output. A plugin output can be cut in two parts: the message printed in Nagios and the data used to make graphs. Read the Nagios documentation, section Plugin API for more information, or the

[Nagios-users] Migration of a nagios servers and logs

2009-03-06 Thread MAD
Hi everyone, Sorry if that questions was already answered but I browsed the web for a while and didn't find a clear answer (and I now this looks like a newbie question). I had installed Nagios on a server I used to run some tests and now I have validate my developments I have to transfer

[Nagios-users] Using '!' in check_* argument

2009-03-06 Thread MAD
Hi all, I'm monitoring through my Nagios some web pages which need authentication. For some reasons, some passwords use the character '!', the delimiter between the check commands' arguments. So the '!' in the passwords aren't seen as a character but as a delimiter, wich make the password

Re: [Nagios-users] Using '!' in check_* argument

2009-03-06 Thread MAD
? Macr-André - Original Message - From: Marc Powell m...@ena.com To: Nagios Users Nagios-users@lists.sourceforge.net Sent: Friday, March 06, 2009 4:04 PM Subject: Re: [Nagios-users] Using '!' in check_* argument On Mar 6, 2009, at 8:54 AM, MAD wrote: Is there a way to use

Re: [Nagios-users] Problem with web interface

2009-02-13 Thread MAD
May be that's because PHP is not installed on your system ? Marc-André - Original Message - From: Pravin Kumar To: nagios-users@lists.sourceforge.net Sent: Friday, February 13, 2009 10:25 AM Subject: [Nagios-users] Problem with web interface Dear All, I am trying to

Re: [Nagios-users] nagios does not produce performance data forcheck_total_procs

2009-02-13 Thread MAD
May be I'm wrong (I don't know yet all the check present in the nagios-plugins package...) but I think check_total_procs do not produce any performance data. See the service details on your Nagios web interface and look for the performance data field. If it is blank that just means this check

[Nagios-users] AIX monitor

2008-08-10 Thread Mad Unix
I have a linux server RHEL5 64bit running cacti/nagios, I am in process to capture the snmp data of my AIX5.3 clients (10x), any help how to proceed with this. -- Your search - madunix - did not match any documents. - This

Re: [Nagios-users] nagios graph

2008-01-14 Thread Mad Unix
PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Mad Unix Sent: Sunday, January 13, 2008 7:36 AM To: Alex Dehaini Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios graph I installed, but i can get it up [EMAIL PROTECTED] logos]# service nagios restart Running

Re: [Nagios-users] nagios graph

2008-01-13 Thread Mad Unix
, 2008 2:01 PM, Alex Dehaini [EMAIL PROTECTED] wrote: Have you read the nagiosgraph manual. Read that first, when you run into any issues, post your errors and then we can help you. Alex On Jan 12, 2008 2:48 AM, Mad Unix [EMAIL PROTECTED] wrote: am running nagios 2, what would be the best way

Re: [Nagios-users] ***SPAM*** sms from Nagios

2008-01-11 Thread Mad Unix
what about using smstools, any help in this issue? On Jan 11, 2008 10:57 AM, Michael Hüttig [EMAIL PROTECTED] wrote: Hi, i´m using for several years sms_client (http://www.smsclient.org/) . It´s working very stable with german T-Mobile. Please look at Nagios-Faq:

[Nagios-users] NSClient

2008-01-11 Thread Mad Unix
I installed the Nagios client (nsclient ... pNSClient.exe) to extend nagios ability to monitor Windows servers. my nagios server is hosted on RHEL5 64bit Server What should i add on my nagios server to be able to see the CPU/ Disk/RAM/No. Process for the Windows Server? Thanks -- madunix

[Nagios-users] nagios graph

2008-01-11 Thread Mad Unix
am running nagios 2, what would be the best way to add the nagiosgraph.. and other packages should be install inorder to install/run nagiosgraph thanks -- madunix - Check out the new SourceForge.net Marketplace. It's

Re: [Nagios-users] NRPE agent on linux issue after reboot ...

2008-01-09 Thread Mad Unix
try to reconfugure the xinetd service, my cat /etc/xinetd.d/nrpe # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user

Re: [Nagios-users] NRPE agent on linux issue after reboot ...

2008-01-09 Thread Mad Unix
Check iptables ACCEPT tcp -- anywhere anywherestate NEW tcp dpt:nrpe Check netstat -- [EMAIL PROTECTED] libexec]# netstat -at | grep nrpe tcp0 0 *:nrpe *:* LISTEN On 1/10/08, Mad Unix [EMAIL PROTECTED] wrote: try

Re: [Nagios-users] 10g

2008-01-08 Thread Mad Unix
sorry, yes i mean Oracle10g On 1/8/08, Roger [EMAIL PROTECTED] wrote: On Jan 8, 2008 10:16 AM, Mad Unix [EMAIL PROTECTED] wrote: Does Nagios work with 10g ? Are you talking about Oracle 10g? -- madunix - Check

Re: [Nagios-users] SMS gateway

2008-01-06 Thread Mad Unix
#baudrate = 115200 #cs_convert = yes #pin = #mode = nw #baudrate = 115200 #rtscts = yes #pin = what could be wrong? On Jan 5, 2008 10:15 PM, Dario B. Bestetti [EMAIL PROTECTED] wrote: - Original Message - From: Mad Unix [EMAIL PROTECTED] To: Peter Edmonds [EMAIL PROTECTED] Cc

Re: [Nagios-users] SMS gateway

2008-01-05 Thread Mad Unix
in the future am thinking of a good enhancements of SMS (gnokii or smstools) to be 2 way communications, i.e. so the server can be controled via mobile phone. if a server/service goes down, you can reply to the alert SMS message with a reboot command or start an application, to fix a service as

Re: [Nagios-users] SMS gateway

2008-01-04 Thread Mad Unix
.1196286006.0182960.maco%40blava.netforum_name=nagios-users Thanks. On Thu, 3 Jan 2008 10:54:59 +0200, Mad Unix wrote: *I am trying to connect 2N Analog GSM Gateways* to my Linux Server in order to send SMS messages to my admins through nagios. 1. any one installed this device before on RHEL5

Re: [Nagios-users] SMS gateway

2008-01-04 Thread Mad Unix
can you send me how did you configure the GSM modem (Serial Port) under linux, and the smstools configuration and also how did you add the sms to your nagios config, would be really appreciated Thanks On 1/4/08, Dennis Hünseler [EMAIL PROTECTED] wrote: Hello Mad Unix, I use smstools to send

[Nagios-users] SMS gateway

2008-01-03 Thread Mad Unix
*I am trying to connect 2N Analog GSM Gateways* to my Linux Server in order to send SMS messages to my admins through nagios. 1. any one installed this device before on RHEL5 server if yes your help appreciated. 2. how can modify the nagios config in order to send SMS messages -- madunix

Re: [Nagios-users] Connection refused or timed out

2008-01-02 Thread Mad Unix
, 2008 10:45 AM, Mad Unix [EMAIL PROTECTED] wrote: the nagios shows Current Users CRITICAL 01-02-2008 11:35:13 0d 0h 47m 47s 4/4 Connection refused or timed out PING CRITICAL 01-02-2008 11:36:20 0d 0h 46m 40s 4/4 Connection refused or timed out Root Partition CRITICAL 01-02-2008 11

[Nagios-users] ping

2008-01-02 Thread Mad Unix
my nagios shows the following check_ping: %s: Warning threshold must be integer or percentage! on the server define service{ use generic-service ; Name of service template to use host_name linux1 service_description

Re: [Nagios-users] ping

2008-01-02 Thread Mad Unix
): command[check_ping]=/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 Mad Unix wrote: my nagios shows the following check_ping: %s: Warning threshold must be integer or percentage! on the server define service{ use

Re: [Nagios-users] ping

2008-01-02 Thread Mad Unix
or the correct local domain Mad Unix wrote: it gave now check_ping: Invalid hostname/address - $ other commands work, only the ping it gave eror i changed the ping the client to command[check_local_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ command[check_local_users

Re: [Nagios-users] ping

2008-01-02 Thread Mad Unix
PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Mad Unix Sent: Wednesday, January 02, 2008 7:52 AM To: [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] ping the error

Re: [Nagios-users] ping

2008-01-02 Thread Mad Unix
, quotes etc). } IP restrictions in nrpe.cfg aren't used if you are using xinetd *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Mad Unix *Sent:* Wednesday, January 02, 2008 10:13 AM *To:* Marc Powell *Cc:* nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios