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 in

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 do

[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 Nagio

[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 false

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

2009-03-06 Thread MAD
writes the cfg file ? Macr-André - Original Message - From: "Marc Powell" To: "Nagios Users" 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

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 guideli

[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 : /nagios/notes/?host=$HOSTNAME$&service=

[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 tab

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 unk

Re: [Nagios-users] Pppnp4nagios graph customization

2009-04-14 Thread MAD
mation. Marc-André - Mail Original - De: "mohandas k" À: "MAD" 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

Re: [Nagios-users] Pppnp4nagios graph customization

2009-04-14 Thread MAD
terdam / 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'

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" À: "J

Re: [Nagios-users] Pppnp4nagios graph customization

2009-04-15 Thread MAD
nd your answer on rrdtool website (http://oss.oetiker.ch/rrdtool/doc/index.en.html) and on Pnp4Nagios website (http://www.pnp4nagios.org/pnp/start). Sorry I couldn't help you this time. Marc-André - Mail Original - De: "mohandas k" À: "MAD" Cc: nagios-users@li

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("", [...,] 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`. Marc-André -

Re: [Nagios-users] problem to execute some checks on remote hosts

2009-05-05 Thread MAD
Your problem is exactly what the output says : the script you want to execute was not found on your remote hosts, so you'll have to copy/install it on your remote hosts in order to execute your checks. Marc-André - Mail Original - De: "kaouther mechri" À: Nagios-users@lists.sourceforg

Re: [Nagios-users] check_icmp and check_host

2009-05-06 Thread MAD
Hi Jerome Concerning your check_host, this can be anything you want. check_ping is generally used but for some hosts which run only apache server I'm using check_http. Linking check_icmp to check_host should be fine (I assume). If statusmap.cgi, trends.cgi and histogram.cgi don't exist, that me

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 Debia

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" To: Sent: Wednesday, May 06, 2009 5:09 PM Subject: [Nagios-users] PNP swap template HOWTO Hi All, By de

Re: [Nagios-users] check_icmp and check_host

2009-05-06 Thread MAD
I installed from scratch. That's why I told you to install the "devel" package (with 'yum install libjpeg-devel' for example). Once you will have installed every devel package I told you to, just compile again Nagios and install with 'make all && make install' and every thing should be working

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 i

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 statu

Re: [Nagios-users] report : Insufficient Data

2009-05-12 Thread MAD
lly decrease. Besides you will always have some unknown data from time to time (reboot of your serveur, etc...). Marc-André - Mail Original ----- De: "Meyer Jerome" À: "MAD" Cc: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 15h55:35 GMT +01:00 Amsterdam / Ber

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 * s

[Nagios-users] NDOUtils and custom variables

2009-05-19 Thread MAD
Hi all, I'm thinking to use some custom variables in services' definition. As I'm using NDOUtils, I wanted to see how those variables where saved in the database and I found two tables : customvariables and customvariablestatus. I understand what the customvariablestatus' fields are for, but I

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-And

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 / B

[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-sched

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" À: "nagios-users Mail

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: "Edua

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$ -

[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 Na

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 wel

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,

[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 service

[Nagios-users] Eventlog monitoring through NSClient++

2012-02-24 Thread MAD
Hi list, I was trying to monitor events on a Windows server through the CheckEventLog functionnality built in NSClient++. I didn't notice first while I was adding my checks but memory usage and cpu load started raising as I was asking for more and more checks. When I finished adding my 40 rule

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 g

[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 tel

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 probabl

[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,

Re: [Nagios-users] use_large_installation_tweaks

2012-04-04 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] status-txt: easier for other applications/services to use Nagios data

2012-05-02 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, R

[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

[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 receive

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 while

[Nagios-users] Connection refused or timed out

2008-01-02 Thread Mad Unix
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:37:27 0d 0h 45m 33s 4/4 Connection refused or timed out To

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

2008-01-02 Thread Mad Unix
On Jan 2, 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 >

[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
o > > //edit(based on your cfg): > > 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 pe

Re: [Nagios-users] ping

2008-01-02 Thread Mad Unix
ry changing it to localhost 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]=/us

Re: [Nagios-users] ping

2008-01-02 Thread Mad Unix
> -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-us

Re: [Nagios-users] ping

2008-01-02 Thread Mad Unix
= no > > only_from = 127.0.0.1 10.5.1.32 ß You need to make > sure your server IP is listed here – just need a space between the IPs (no > comma, quotes etc). > > } > > > > IP restrictions in nrpe.cfg aren't used if you are using xinetd > &

[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] SMS gateway

2008-01-04 Thread Mad Unix
chive/forum.php?thread_name=iSeXznEC.1196286006.0182960.maco%40blava.net&forum_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 message

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, > &

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 lon

Re: [Nagios-users] SMS gateway

2008-01-06 Thread Mad Unix
sms/sent incoming = /var/spool/sms/incoming logfile = /var/log/smsd.log loglevel = 7 [GSM1] device = /dev/ttyS0 incoming = yes #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. Bestett

[Nagios-users] 10g

2008-01-08 Thread Mad Unix
Does Nagios work with 10g ? -- madunix - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http

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 talk

Re: [Nagios-users] 10g

2008-01-09 Thread Mad Unix
Definition of "Work" i.e. details about multiple databases Database Space, Used Space, Log Size, Used Log Size, CPU Usage, I/O Usage, Locking etc. Regards On Jan 8, 2008 10:43 PM, Mad Unix <[EMAIL PROTECTED]> wrote: > sorry, yes i mean Oracle10g > > > On 1/8

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: >

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: > http://www.nagios.or

[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 the

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: > >

Re: [Nagios-users] nagios graph

2008-01-14 Thread Mad Unix
OTECTED]> wrote: > > > Any time you receive that message, try running "nagios –v > file>". Look for ERROR indications in the output for a better idea of where > > your problems lie. > > > > - Brock > > > > ----

[Nagios-users] AIX monitor

2008-08-09 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 SF