Re: [Nagios-users] How to monitor windows software raid (solution)

2008-06-24 Thread Rene Fertig
Anthony Montibello wrote:

> With that said, I recommend NC_Net (not only because I wrote it but also
> since it provides mechanism for retrieval using several of the methods
> hinted to in this thread.
>
> 1) using Windows Event log, there are several plugins that allow for
> checking windows event log (including NC_NEt)

I've done this.

I'm using Logparser 2.2 
(http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en)
 
which parses the eventlog for some IDs, e.g.:

logparser "SELECT * FROM System where EventID IN(500;501;503;509;510)" -i:EVT 
-o:csv > "c:\Programme\Log Parser 2.2\output.csv"

One can use FIND to look if one of the IDs was found. I do this with the 
following batch/cmd file which is called itself by NRPE_NT (see 
Nagios-Exchange):

@ECHO OFF
"C:\Programme\Log Parser 2.2\logparser" "SELECT * FROM System where EventID 
IN(500;501;503;509;510)" -i:EVT -o:csv > d:\Logparser\output.csv
FIND "Elements output:    0" "C:\Programme\Log Parser 2.2\output.csv" > NUL
IF %ERRORLEVEL% GTR 0 (
  REM FIND "System," "C:\Programme\Log Parser 2.2\output.csv"
  echo Fehlermeldung im System-Eventlog gefunden
  exit 1
)
echo OK
exit 0

Probably using NC_Net is much smarter but I did it this way, since we already 
use NRPE_NT on this server.

Greetings, Rene

 
--
Tipps & Tricks für Linux, MySQL & Webdesign
  -> http://home.telebel.de/~referti/blog/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] using Linux for a specific Windows Event

2008-06-24 Thread Rene Fertig
Hello Michael.

Michael Dalton wrote:
> I am using Fedora 6 with nagios 2.9 monitoring multiple windows 2003
> servers. I have looked on the message boards for a solution and have not
> come up with one.
>
> What I would like to do is monitor a specific windows event.event
> id=55(a disc failure or beginning to fail).
>
> Has anyone else done this?

I've just done this. There are several ways. You can use NC_Net 
(http://shatterit.com/nc_net/) which has the ability to monitor the eventlog. 
But I haven't tested it.

I'm using Logparser 2.2 
(http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en)
 
which parses the eventlog for some IDs, e.g.:

logparser "SELECT * FROM System where EventID IN(500;501;503;509;510)" -i:EVT 
-o:csv > "c:\Programme\Log Parser 2.2\output.csv"

One can use FIND to look if one of the IDs was found. I do this with the 
following batch/cmd file which is called itself by NRPE_NT (see 
Nagios-Exchange):

@ECHO OFF
"C:\Programme\Log Parser 2.2\logparser" "SELECT * FROM System where EventID 
IN(500;501;503;509;510)" -i:EVT -o:csv > d:\Logparser\output.csv
FIND "Elements output:0" "C:\Programme\Log Parser 2.2\output.csv" > NUL
IF %ERRORLEVEL% GTR 0 (
  REM FIND "System," "C:\Programme\Log Parser 2.2\output.csv"
  echo Fehlermeldung im System-Eventlog gefunden
  exit 1
)
echo OK
exit 0

Probably using NC_Net is much smarter but I did it this way, since we already 
use NRPE_NT on this server.

Greetings, Rene

--
Tipps & Tricks für Linux, MySQL & Webdesign
  -> http://home.telebel.de/~referti/blog/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] How to monitor windows software raid

2008-06-17 Thread Rene Fertig
Hello Hari.

> Have you checked NagiosExchange.org? I didn't see anything but then I
> didn't look too closely. Otherwise you could just write one. VBS is an
> easy language and universal enough for this. I'd write this in fact, if
> I had any servers poor enough to have windows software raid...

Of cause I've checked NagiosExchange, but there are only plugins for hardware 
raids.

I've found a VB script which uses DISKPART 
(http://www.anchor.com.au/hosting/dedicated/monitoring_windows_software_raid). 
Unfortunately DISKPART didn't work on Windows 2000 (only Win 2000 Pro, Win 
2000 server, Win 2003 ...)

But I've got a list of event IDs so I can monitor the event log and do passive 
checks - more than nothing...

Greetings,

Rene

-- 
--
Tipps & Tricks für Linux, MySQL & Webdesign
  -> http://home.telebel.de/~referti/blog/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] How to monitor windows software raid

2008-06-16 Thread Rene Fertig
Hello.

Can someone tell me how to check a software raid on a windows server? I can't 
find anything - am I blind?

Greetings,

  Rene

-- 
--
Tipps & Tricks für Linux, MySQL & Webdesign
  -> http://home.telebel.de/~referti/blog/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE_NT and Win NT 4.0 Problem

2006-12-28 Thread Rene Fertig
Hi Hugo.

Am Donnerstag, 28. Dezember 2006 11:28 schrieb Hugo van der Kooij:
> > Is there a known issue with nrpe_nt (0.8b) and Windows NT 4.0??
> > The service is running and responding, but the exit code/errorlevel is
> > not transmitted. I always receive 0 (OK). On a Win2k-box everything works
> > fine.
>
> Retire the NT 4 boxes. (Should have been done quite a while ago in fact.)
> I guess this is not what you like to hear but NT4 is ancient and not
> supported by Microsoft for quite a while now. (Unless you pay extorsion
> level prices to get support on obsolete software.)

Unfortunately the application running on this PC need NT4, it didn't run under 
Win2k.

So if there is no solution for the above mentioned NRPE_NT/WinNT-problem I 
will try if a passive check can do the job.

Bye, Rene

-- 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] NRPE_NT and Win NT 4.0 Problem

2006-12-28 Thread Rene Fertig
Hello.

Is there a known issue with nrpe_nt (0.8b) and Windows NT 4.0??
The service is running and responding, but the exit code/errorlevel is not 
transmitted. I always receive 0 (OK). On a Win2k-box everything works fine.

The check-command is the known test script test.cmd:
@echo off
echo hallo from cmd
exit 1

Has someone an idea, how to get checks with winNT? The aim is to check if a 
share is successfully connected.

Greetings, Rene

--

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Charts and Graphs and Nagios Oh My!

2006-10-26 Thread Rene Fertig
I use nagiostat (see http://sourceforge.net/projects/nagiostat/ or 
http://www.nagiosexchange.org/Charts.42.0.html?&tx_netnagext_pi1[p_view]=118)

It's ok for some hosts/services. But if you like to monitor a lot of 
hosts/services it may be not the right choice, because of the amount for 
configuration. There is AFAIK no configuration tool.

Bye,

Rene

--
Tipps & Tricks für Linux, MySQL & Webdesign
  -> http://home.telebel.de/~referti/blog/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Suse 10.0 - perl plugin return "No outpput"

2006-09-05 Thread Rene Fertig
Hi Andreas.

Am Dienstag, 5. September 2006 16:39 schrieb Andreas Brandino:
> i am using Suse 10.0 with nagios 1.2.x
> All perl plugins i try to use return "No output" message.  However, all
> other plugins work just fine.
> When i run the plugins from command line (as "root" or "daemon") work
> without problem.
> Using perl full path in front of the plugin (checkcommands.cfg) still
> doesnt make any difference.
>
> I think this has to do with perl on my system.
> Any idea?

Please check wether all plugings have execution rights for everyone (0755).
As far as I remember the SuSE installation didn't set these properly.

Rene

-- 
--
Tipps & Tricks für Linux, MySQL & Webdesign
  -> http://home.telebel.de/~referti/blog/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] How to monitor complex websites?

2006-06-07 Thread Rene Fertig
Hi Richard.

> We need to monitor this website, but check_http cannot (afaik) send a
> specified User-Agent string. Is anybody aware of another solution, or
> should I create one? If the latter: I was thinking about creating a check
> based on wget, since wget is able to send User-Agent strings and can do
> something with cookies as well. Can someone with enough knowledge on this
> matter tell me if this is doable, or should I walk another path?

check_http version 1.89 (which comes with nagios-plugins 1.4.3) can set a 
User-Agent-String:

 -A, --useragent=STRING
   String to be sent in http header as "User Agent"

But there's a problem with agent-names like "Mozilla/4.0 (compatible; MSIE 
6.0; Windows NT 5.1; .NET CLR 1.1.4322)" - nagios didn't like the semicolon 
';'. It seems, that everything after it is ignored (like a comment).
One solution for this can be to define a own macro (e.g. $USER3$) with the 
escaped semicolon and then use this macro within the agent name, this should 
help.

e.g.:
in resource.cfg:
$USER3$="\;"

in commands.cfg:
command_line$USER1$/check_http -H $HOSTADDRESS$ -A "Mozilla/4.0 
(compatible$USER3$ MSIE 6.0$USER3$ Windows NT 5.1$USER3$ .NET CLR 1.1.4322)"

But probably you should make your own plugin if you need special cookie 
support.

bye, Rene



___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Ping works but check_ping doesnt

2006-05-31 Thread Rene Fertig
Hi Olly.

> Any ideas why I would be able to ping a box from the nagios server, but
> not get a positive result from the check-host-alive test ?

Did you use the same hostaddress for both the manual ping and nagios 
check_ping? Especially using hostnames in stead of addresses can be a 
problem. And of cause one may make a small mistake by typing an address into 
the config (me often ;-)

Bye, Rene


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Check_NTP issues

2006-05-05 Thread Rene Fertig
Am Freitag, 5. Mai 2006 14:36 schrieb Tiago Cruz:
> Now, I'm just try find a way to monitory all the servers and discover how
> have a unsynchronized clock, but I'm not sure that what I have to do :)

I've made a script (long before I began to use nagios) which is run by cron 
twice a day on every host which runs xntpd. It checks if ntpd is running, if 
the host has a reference clock and if it is synchronized to it and so on. It 
logs to syslog and send a Mail on failure.
Maybe it is useful to you:

-- snipp -
#!/usr/bin/perl
# #!/usr/nsue/contrib/perl/bin/perl
# $Header: /usr/local/share/cvs/Tools/chktime,v 1.6 2006/03/08 14:14:36 
rfertig Exp $
# (c)2001 Rene Fertig <[EMAIL PROTECTED]>
# Dieses Script prüft
# 1. ob der xntpd läuft
# 2a. ob dieser eine Reference-Clock hat
# 2b. ob eine Verbindung zu dieser aufgebaut werden kann
# 3. ob die System-Zeit von der Referenz-Zeit abweicht
# 4. ob die System-Zeit von der CMOS-Uhr abweicht
# Das Ergebnis wird an den syslog-Demon mit dem Facility local3.info
# übergeben.
# 
use Getopt::Std;
use Sys::Hostname;
my $host = hostname();


$facility = "local3.info";

# Absender für die Mail
my $sender = "chktime";

# Mailprogramm:
my $mailer = "/usr/sbin/sendmail -t";

# BCC:
my $bcc = "[EMAIL PROTECTED]";

# Reply-to
my $replyto = "[EMAIL PROTECTED]";

#  Parameter verarbeiten 
$usage = "USAGE: $0 [-d] [-m mail_to]\n\t-d\tdebug-mode\n\t-m\tsend 
error-messages via mail\n";

unless(getopts("m:dh?", \%option)) {
  die "$usage";
}

if(defined $option{m}) {
  $mailto = $option{m};
} else {
  $mailto = "";
}

if(defined $option{d}) {
  $debug = 1;
} else {
  $debug = 0;
}

if(defined $option{h} or defined $option{"?"}) {
  die "$usage";
}
# ---
my $error = 0;

if($peers = `ntpq -p`) {
  $_ = $peers;
  /\n\*([\w-]+)[\s\.]/;

  if($1 ne "") {
$refclk = $1;
  } else {
$refclk = "No RefClk!";
$error = 1;
  }
} else {
  $refclk = "Unable to run ntpq! Is xntpd running?";
  $error = 1;
}

print "Reference-Clock: $refclk\n" if($debug);

if($refclk ne "No RefClk!") {
  open NDATE, "ntpdate -qd $refclk 2>/dev/null |"
or die "�ger mit ntpdate: $!\n";

  while() {
chomp;
  #  print "NDATE: $_\n";
SWITCH: {
  /^originate timestamp:/ && do {
  /^.+:\s+(\w+\.\w+)\s+([\w ,:.]+)$/;
  if($1 eq ".") {
$reftime = "not available";
$error = 1;
  } else {
$reftime = $2;
  }
  last SWITCH;
};

  /^transmit timestamp:/ && do {
  /^.+:\s+(\w+\.\w+)\s+([\w ,:.]+)$/;
  if($1 eq ".") {
$systime = "not available";
$error = 1;
  } else {
$systime = $2;
  }
  last SWITCH;
};

  /^offset /  && do {
  /^offset\s+([\w .-]+)$/;
  $offset = $1;
  last SWITCH;
};

}

  }
}


if($debug) {
  print "Ref-Time: $reftime\n";
  print "Sys-Time: $systime\n";
  print "Offset  : $offset sec.\n";
}

if($hwclock=`hwclock`) {
  # nix
} else {
  $hwclock="not available";
  $error = 1;
}

print "HW-Time: $hwclock\n" if($debug);

if($refclk ne "No RefClk!") {
  $logstr = "RefClk=$refclk; RefTime=$reftime; SysTime=$systime; 
Offset=$offset; HWClk=$hwclock;"
} else {
  $logstr = "RefClk=$refclk (cannot determine RefTime, SysTime and Offset); 
HWClk=$hwclock;"
}
system("/bin/logger -p $facility -t TIMECHECK \"$logstr\"") == 0
  or die "Upps, kann logger nicht ausführen! $?\n";

if($error && $mailto ne "") {
  open(MAIL,"|$mailer") or die "Upps, konnte Shell für Mail nicht �öffnen!";

  print MAIL "From: $sender\n";
  print MAIL "To: $mail_to\n";
  print MAIL "

[Nagios-users] Re: Printable Documentation

2006-05-05 Thread Rene Fertig
Hello Seb.

> I've repackaged the Official Nagios documentation to generate a
> "pretty" printable version of the doc.
>
> Comments are welcome ...

Verry good work! Nagios is already very well documented but I've missed a 
pretty and searchable one-document manual. Now I have one! Many thanks!!

Bye, René


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Monitor DHCP Server []

2006-04-21 Thread Rene Fertig
Am Freitag, 21. April 2006 10:23 schrieb Melkiades:
> # make check_dhcp
> gcc  -g -O2  -L. -o check_dhcp  check_dhcp.o netutils.o utils.o
> ../lib/libnagiosplug.a ../lib/libcoreutils.a  -lnsl -lresolv -I/usr/include
>
> # ls -ls|grep dhcp
> 56 -rwxr-xr-x   1 root root 56028 Apr 21 10:21 check_dhcp
> 36 -rw-r--r--   1 root root 34869 Jan 25  2005 check_dhcp.c
> 32 -rw-r--r--   1 root root 31540 Mar 14 14:57 check_dhcp.o
>
> # sudo /opt/nagios/nagios-plugins-1.4.2/plugins/check_dhcp -s
> my.dhcp.server -v DHCP socket: 3
> Error: Could not bind to DHCP socket (port 68)!  Check your privileges...

You're still in the compliation directory. check_dhcp is not set suid.
If you do "make install" it will be copied to the plugin directory 
(usually /usr/local/nagios/libexec) and will get suid

BUT as it seems you're execute check_dhcp as root in the example above 
(according to the '#'). This should work! Perhaps the problem isn't 
check_dhcp, but there's missing something...
Please try to run check_dhcp directly as root without sudo.
If this work, try
chmod u+s check_dhcp
and then run it as a normal user like
su - rene
cd /opt/nagios/nagios-plugins-1.4.2/plugins
./check_dhcp -s my.dhcp.server

In the meantime I have compiled and updated to plugins 1.4.3. There are no 
problems with check_dhcp, execpt that make install didn't set the execution 
permissions for all users. So if nagios runs as user daemon one need to make
chmod a+x check_dhcp

Bye, Rene


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Monitor DHCP Server []

2006-04-21 Thread Rene Fertig
Hi.

Am Freitag, 21. April 2006 08:31 schrieb Melkiades:
> More info:
> NAGIOS: SuSE Linux 10 OSS (kernel 2.6.13-15.8-smp) && Nagios v2.1
> DHCP: Win2003 + MS DHCP Server
>
I am running nagios on SuSE 10, too, and without problems like this.

check_dhcp is set suid (by make install, AFAIR):

ll check_dhcp
-rwsr-xr-x  1 root root 56032 Mar 20 15:16 check_dhcp

./check_dhcp -s 192.168.130.200
DHCP ok: Received 1 DHCPOFFER(s), 1 of 1 requested servers responded, max 
lease time = 3600 sec.

I don't know if that matters, but I have compiled nagios an the plugings 
(still 1.4.2) by myself. I'm not using the rpm's comming with SuSE.

Perhaps you have played with /etc/permissions? Check /var/log/messages if 
there is any hint.

Bye, Rene


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread Rene Fertig
Hi.

Am Dienstag, 18. April 2006 15:40 schrieb Sandeep Narasimha Murthy:
> I am trying to monitor a Web Service and I am able to send a GET request
> via a browser and obtain a result appropriate for Nagios.
>
> I am not exactly sure how to integrate this with Nagios. I could print
> the output to a file and make nagios read the file but this doesn't seem
> to be a very clean solution.
Of cause.

But I'm not sure what you really waht do do %-(
With the check_http pluging you can do a lot of tests, including check the 
response of the web-server for a specific string.
Give "check_http --help" a try to see a complete list of the posibilities.

Or descibe more precisely what you like to check.

Bye, Rene


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] ASCII-Characters >127 stripped in macros

2006-04-18 Thread Rene Fertig
Hi.

Since I updated to nagios 2.0 I don't see german "umlaute" (ASCII-Characters 
greater than 127, e.g. ä ö ü) in the notifications no more. With nagios 1.1 
this worked.
The characters are stripped only in the marcos (e.g. $HOSTALIAS$ or 
$SERVICEDESC$). In nagios.cfg the variable illegal_macro_output_chars is set 
to `~$&|'"<>

I have just updated to nagios 2.2, but it didn't helped.
Do I do anything wrong or ist it a real bug?

Bye, Rene


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] howto prevent notifications on network outages

2006-04-04 Thread Rene Fertig
Hi.

If a network with e.g. 10 hosts becomes unreacable because the router to this 
network fails, nagios recognize a netwok outage. I get 1 DOWN notification 
for the router and by and by 10 UNREACHABLE notification for the hosts.

How do I prevent these 10 notifications best? Better by setting up 
host-dependencies (and how) or better by configure the hosts in host.cfg not 
to send unreachable notification (set notification_options to "d,r,f" instead 
of "d,u,r,f").
Am I right with my assumption, that nagios only mark a host as unreachable if 
its parent host is down (I've searched the documentation but didn't find a 
description about that)? If not, the latter way wouldn't work propperly.

And is there a posibility to generate a "network outage" notification?

Bye, Rene


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: which nagios config gui are you using?

2006-03-29 Thread Rene Fertig
Am Mittwoch, 29. März 2006 01:02 schrieb Robert Story:
> So, of those of you who are using a GUI to configure nagios, which one did
> you select? Not looking to start a flame-war on which is the best, I'm just
> trying to narrow down the field of candidates.

I've just started using fruity. It is not complete, but works for me. I'd also 
gave NagiosQL a try, but fruity suit better to me. Probably I'm wrong ;-)

Bye, Rene


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Problems with HTTP-Authorization/Authentication

2006-03-22 Thread Rene Fertig
Hi Hendrik.

On 2006-03-22 Hendrik Baecker wrote:

> have a deep look into
>
> http://nagios.sourceforge.net/docs/2_0/installweb.html
>
> In this example the documentation doesn't work with .htaccess files but
> directly with the apache configs within the directory specs.

Ah, I see.  Sometimes it is not as conducive as one think to have a running 
but older nagios installation.
I'll change to this configuration just to be closer to the dokumentation ;-)

Many Thanx,

Rene


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Problems with HTTP-Authorization/Authentication

2006-03-22 Thread Rene Fertig
Hi Hendrik.

On 2006-03-21Hendrik Baecker wrote:
> do you have a .htaccess file in your cgi directory? (f.e.
> /usr/local/nagios/sbin/)

That's it! I overlooked this directory. 8-)
Thank you very much for this hint!

BTW: The need and setup of the .htaccess file is not mentioned in the 
documentation. Perhaps someone should add this information.

Bye, Rene



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Problems with HTTP-Authorization/Authentication

2006-03-21 Thread Rene Fertig
Hello.

I have set up a new server with Nagios 2.0 and Apache 2. Both are running, CGI 
and authorization are set up. When I access the web-interface I have been 
asked for authentication. I can enter user and password and get access, but 
nagios tells me always "Logged in as ?". So I cannot see anything.
In the apache-log-files I can see, that I logged in successfully, but it 
seems, that nagios didn't get these information.

Of cause, in cgi.cfg "use_authentication=1" is set, I have put a .htaccess 
file into /usr/local/nagios/share with the following content:

AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user

The file /usr/local/nagios/etc/htpasswd.users has been created with htpasswd2 
and the users are in contacts.cfg

If I enter a wrong user and/or password at the login I get an error message 
and if I cancel the login I get "Authentication required!" So far everything 
works as expected, except the nagios didn't recognize me :-(

I've set up nagios (1.x) more than once, so I think I can handle that...

BTW: the server runs SuSE Linux 10.0 with an apache2 from the distribution, 
nagios is compiled by myself from the tarball.

Please, can someone help me to find the problem?

Bye, Rene



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: performance data - RRDTool

2006-02-03 Thread Rene Fertig
Am Freitag, 3. Februar 2006 08:07 schrieb Richard Gliebe:
> Hi all,
>
> I want to store the service_perfdata into RRD-tool to read it with MRTG.
>
> Is there a RTFM available ?

There is a tool like that: http://nagiostat.sourceforge.net/
It use the RRD-tool, too. Perhaps you can use the db-files it generates 
together with MRTG.

Ciao, René



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null