Re: [Nagios-users] Mac question

2006-10-27 Thread rob . moss
[EMAIL PROTECTED] wrote on 27/10/2006 00:55:27: > I'm trying to compile the NRPE daemon on a Mac OS X box.  Anyone have some > documentation they know of for this? Read the compiling documentation, if there is no Mac OS X documentation, then follow the FreeBSD / *BSD advice Cheers rob This me

Re: [Nagios-users] NRPE compile error

2006-10-27 Thread rob . moss
[EMAIL PROTECTED] wrote on 27/10/2006 00:15:32: > I've seen this mentioned in the mailing list archive; someone mentioned > I might need the SSL development libraries (zlib and others possibly). > Installing OpenSSL alleviated the configure "config: error: could not > find ssl libraries" error bu

Re: [Nagios-users] troubles with check_by_ssh

2006-10-26 Thread rob . moss
[EMAIL PROTECTED] wrote on 25/10/2006 23:30:19: [snip] > Here is the /var/log/messages on host18... >   > Oct 25 15:10:10 host18 sshd2[870]: connection from "10.1.1.1" > Oct 25 15:10:10 host18 sshd2[13080]: DNS lookup failed for "10.1.1.1". > Oct 25 15:10:10 host18 sshd2[13080]: Remote host dis

Re: [Nagios-users] Service Check Timeouts

2006-10-26 Thread rob . moss
[EMAIL PROTECTED] wrote on 25/10/2006 18:08:25: > Hi, > > I've been using Nagios for a while and I love it, but recently I > switched my gateway in the office from old FreeBSD 4 machine to IPcop. > This seems to have had an effect on my Nagios monitoring, most of the > time and most of my servi

Re: [Nagios-users] Antwort: UTF8 Japanese characters in macros

2006-10-18 Thread rob . moss
[EMAIL PROTECTED] wrote on 18/10/2006 09:12:05: > [EMAIL PROTECTED] schrieb am 18.10.2006 04:26:19: > > > /usr/bin/printf "%b" "* Nagios  *\n\nNotification Type: > > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\n

Re: [Nagios-users] checking a counter on a website

2006-10-18 Thread rob . moss
[EMAIL PROTECTED] wrote on 17/10/2006 20:01:28: > This actually hits on what I consider to be one of Nagios'  (few) > weaknesses.  A lot of time, when I do my checks, I'm not nearly as > interested in the value of a check as in the change in the value > since the last check.  This is a good ex

Re: [Nagios-users] check_oracle_instance.pl: Can't locate object method "driver"

2006-10-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 13/10/2006 20:48:45: > I am pretty new to perl, and would like to understand why I am > getting the following error when I run check_oracle_instance.pl > natively from the linux shell: >   > serv:~ > ./check_oracel_instance.pl -u nagios -p password -c mwm -t 51/55 > D

Re: [Nagios-users] Solaris 2.6 nrpe binaries

2006-10-13 Thread rob . moss
[EMAIL PROTECTED] wrote on 13/10/2006 10:11:57: > On Fri, 2006-10-13 at 11:03 +0200, Thomas Sluyter wrote: > > On 13 Oct, 2006, at 10:49, Greg Cope wrote: > > > > > Anyone have v2.5 nrpe binaries for solaris 2.6 available?  With ssl? > > > I have a few hosts that are 2.6 without compliers. > >

Re: [Nagios-users] NRPE oddities

2006-10-13 Thread rob . moss
[EMAIL PROTECTED] wrote on 12/10/2006 21:27:59: > I'm running NRPE 2.5.1 on a number of machines and occasionally I'll > see the processes get stuck just spinning their wheels.  It ends > utilizing the CPU heavily and needs to be killed.  I haven't been able > to track down what is causing this,

Re: [Nagios-users] Problem with check_disk plugin on Solaris 8/9

2006-10-10 Thread rob . moss
[EMAIL PROTECTED] wrote on 10/10/2006 10:05:44: > Hi >    I have recently installed nagios 2.5 and most things have > been working fine. > However, I have found a problem with using the check_disk plugin on > Solaris clients. I have compiled the plugins natively on both Solaris 8 and 9 > machine

Re: [Nagios-users] Monthly Detail Report

2006-10-04 Thread rob . moss
[EMAIL PROTECTED] wrote on 02/10/2006 19:23:02: > Hi all, > > I need to generate a report for a given month (the files in the > archive) that will detail the date, host/service, the start time for > the outage, and the end time for the outage. The CGI does not seem to > give me the full detail tha

Re: [Nagios-users] Working with [contact|host] groups and members

2006-09-28 Thread rob . moss
[EMAIL PROTECTED] wrote on 28/09/2006 14:55:46: > On 28 Sep, 2006, at 15:46, Morris, Patrick wrote: [snip] > Remarkable. What you describe is exactly what I want, but in my case > it appears to complain about the fact that my "define hostgroup" is > lacking a "members" line. Also, the Nagios doc

Re: [Nagios-users] weekly availability reports

2006-09-26 Thread rob . moss
Hi.. [EMAIL PROTECTED] wrote on 22/09/2006 20:45:43: > looks like a good starting place, thanks. > > Curt Shaffer wrote: > > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_v > > iew]=640 > > > > That is what I am working with. I am in the midst of changing it abit to

Re: [Nagios-users] nagios don't send mail

2006-09-22 Thread rob . moss
[EMAIL PROTECTED] wrote on 21/09/2006 22:18:14: [.. snip ..] > Your notification command is not configured correctly. Usually you'd see > a mail program like 'mail' between the "|" and "-s" in the command > definition. I wrote a perl script to send the emails. It's a direct replacement and can

Re: [Nagios-users] check_dhcp doesn't work from server

2006-09-21 Thread rob . moss
[EMAIL PROTECTED] wrote on 21/09/2006 11:19:39: > I've put a dhcp server on the same host as the nagios server, and it's > running but check_dhcp doesn't work from the server. > > /usr/nagios/libexec/check_dhcp -i eth1 -v > DHCP socket: 3 > Hardware address: 00095be058c7 > DHCPDISCOVER to 255.255.

Re: [Nagios-users] can not send email with nagios

2006-09-20 Thread rob . moss
change.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 Enjoy rob moss / mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sende

Re: [Nagios-users] Nagios upgrade from 1.x to 2, 5 - how to keep status and retention data?

2006-09-19 Thread rob . moss
Status and retention data is transient, it's only useful if you're restarting a large install.. I would wipe it but keep it enabled in Nagios 2.x for future restarts. |--> | Internet| | [EMAIL PROTECTED]

Re: [Nagios-users] Host last check time

2006-09-18 Thread rob . moss
[EMAIL PROTECTED] wrote on 18/09/2006 12:29:44: > Hi all, > > I'm managing a small Nagios environment which contains about 30 > hosts. The host detail page in the interface shows me that the last > check time of these hosts is about 234 days ago. Why is it such a > long time ago this host was che

Re: [Nagios-users] notification_interval (per user)

2006-09-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 15/09/2006 10:37:59: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I know that it is possible to limit to 1 the number of sent out messages > with the notification_interval option but as far as I know this is just > possible in the definition of hosts and

Re: [Nagios-users] SYN attacks from nagios

2006-09-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 14/09/2006 19:30:29: > The device that is detecting the "attack" is a content switch, which > sits in front of all the hosts. There isn't a particular command that > is triggering the alert. > > Here are two that I have seen for sure: > > define service { > name

Re: [Nagios-users] Still having problems with check_disk_smb

2006-09-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 14/09/2006 19:14:52: > Does any know how to deal with these issues in this script? > > [EMAIL PROTECTED] /usr/nagios/libexec] 72# ./check_disk_smb -H > fileserver.mvalent.net -s Software -W MVALENT -w 5G -c 2G Use of > uninitialized value in concatenation (.) or string a

Re: [Nagios-users] **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29

2006-09-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 15/09/2006 09:11:01: > Dear Hendro, > > I am writing to thank you for your letter and say, > > On 15/09/06, hendro budianto <[EMAIL PROTECTED]> wrote: > > Thx's Rob, > > for your help, but if i run the command manual is > > working fine. > > Exactly, because what is run

Re: [Nagios-users] SYN attacks from nagios

2006-09-14 Thread rob . moss
[EMAIL PROTECTED] wrote on 14/09/2006 17:00:29: > Good morning, > > I have 2 nagios servers. One is running 1.2 and the other is running > 2.5. Both are running in parallel while I migrate to the 2.5 machine. > Our content switch is detecting that the 2.5 machine is SYN attacking > hosts. Bot

Re: [Nagios-users] Nagios Agents Threat Analysis

2006-09-14 Thread rob . moss
[EMAIL PROTECTED] wrote on 14/09/2006 12:22:30: > Hi, > > Has any one carried out a threat analysis for Nagios Agents ( > NSClient and NRPE). > > Do we have any information regarding them? Probably, but why would you trust someone else's threat analysis? Their criteria may be wildly different to

Re: [Nagios-users] **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29

2006-09-13 Thread rob . moss
Yeah, it's a basic perl error saying that the script hasn't declared the variable before using it. Edit the script and right up the top where you see other entries similar to my $variable; my $othervaraible = "foo"; add in my $script; You could just turn off warnings, but that is bad practice

Re: [Nagios-users] Rsync server test

2006-09-06 Thread rob . moss
[EMAIL PROTECTED] wrote on 06/09/2006 13:29:06: > I only ever use rsync in conjunction with sshd. > > short of generating errors with the check_tcp you could nmap the port > (might that generate more/less noise). > > or you could have a test that retreives a file from rsync, thereby > creating an

Re: [Nagios-users] nagios generated email.

2006-09-05 Thread rob . moss
dress passed to it by Nagios. This script also formats the alert output so it's reasonably easy to change to suit your purposes.. I have just uploaded it to Nagios Exchange here: http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 Enjoy! Rob

Re: [Nagios-users] security & suid/sudo plugins

2006-08-31 Thread rob . moss
Or create a group with the owner of the logfiles + user that NRPE runs under so that the group can read the logfile Internet [EMAIL PROTECTED]@lists.sourceforge.net - 31/08/2006 15:34 Sent by:[EMAIL PROTECTED] To:alexh19740110 cc:nagios-users Subject:Re: [Nagios-users] s

Re: [Nagios-users] passing a $ to nagios

2006-08-30 Thread rob . moss
Use the double-dollar (as written in the docs) services.cfg define service { use generic-service-bk service_description SQLPRD01 SQL Service check_command check_nt_service!mssql$$sqlprd01 freshness_threshold 600 process_perf_data 0 noti

Re: [Nagios-users] Daily status report?

2006-08-17 Thread rob . moss
What exactly is segfaulting? You haven't provided much info to work with.. The script uses some basic Perl modules (libwwwperl) , so if there's anything sefaulting it's related to your local box. Make sure that you can run the reporting CGI's and Perl works, if not, you need to fix them. Int

Re: [Nagios-users] Daily status report?

2006-08-16 Thread rob . moss
Heh, i was about to suggest my Nagios Email reporter :-) but it seems some kind soul did the work for me! Yeah.. use version 1.3.1 Internet [EMAIL PROTECTED]@lists.sourceforge.net - 15/08/2006 17:50 Sent by:[EMAIL PROTECTED] To:sun.jedi cc:Nagios-users Subject:Re: [Nagi

Re: [Nagios-users] NRPE Error

2006-08-11 Thread rob . moss
So there you go.. The problem is that the service isn't listening on the port! That's why you're getting connection refused. I'm not sure if NSClient+++ uses port 5666, but either way, it's a problem with the service. Check your event log and be a windows admin for a while.. You need that service

Re: [Nagios-users] NRPE Error

2006-08-11 Thread rob . moss
Have you checked the config file to make sure it's listening on the right interface, and port? You need to restart the service after changes to the config file are made Also, try this at the cmd prompt to show all open ports netstat -an Internet [EMAIL PROTECTED]@lists.sourceforge.net - 11/

Re: [Nagios-users] NRPE Error

2006-08-11 Thread rob . moss
What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE pro

Re: [Nagios-users] Does anyone on this list actually reply to problems

2006-08-11 Thread rob . moss
I can't see any of your previous postings Maybe you could re-post your message, and ensure that it details the problem and maybe paste in relevant output messages and snippets of your config file. This is a free product, and to use it you are expected to be able to read documentation and figure i

Re: [Nagios-users] Scalable Configuration Strategies?

2006-08-11 Thread rob . moss
Good question, good thinking. I think you are on the right track with the separate files/directories, however if you have over 1,000 servers i think there may be other overheads involved in parsing 1,000 or more individual files on startup, but that can be checked later. I would go for individual

Re: [Nagios-users] Reporting

2006-08-10 Thread rob . moss
Okay, found the problem. Sorry guys, in my haste to bash out a version without the CSS embedding code, i made a schoolboy error. This has now been fixed. You can fix the error by moving line 91 to line 77 (outside of the if statement) The line is "$mailbody = http_request($reporturl);" which fet

Re: [Nagios-users] Reporting

2006-08-10 Thread rob . moss
e sure you only remove those lines. If that doesn't work, then please mail me (directly) the script output, and attatch the file /tmp/nagios-report-htmlout.html Cheers Rob Moss. Internet [EMAIL PROTECTED]@lists.sourceforge.net - 10/08/2006 14:43 Sent by:[EMAIL PROTECTED] To:

Re: [Nagios-users] Reporting

2006-08-10 Thread rob . moss
ECTED] - 10/08/2006 14:24 To:Rob MOSS cc:nagios-users Subject:Re: [Nagios-users] Reporting I've downloaded this plugin! Problem is, as I understand it, its not compatible with the newest version of Nagios - correct? I would certainly like to use it though - and if you can

Re: [Nagios-users] wget attempts / Nagios reports

2006-08-10 Thread rob . moss
Guys if you want to do some reporting in Nagios, I already wrote a perl script to generate reports http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 If it doesn't suit your exact purpose, you can modify it a little bit :-) Cheers Internet [EMAIL PROTECTED]@

Re: [Nagios-users] Reporting

2006-08-10 Thread rob . moss
Hi. This is one that I wrote to achieve just this task http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 It's written in Perl and is pretty easy to read Cheers Internet [EMAIL PROTECTED]@lists.sourceforge.net - 09/08/2006 19:12 Sent by:[EMAIL PROTECTE

Re: [Nagios-users] How to configure CGI in web interface?

2006-08-09 Thread rob . moss
You have posted about this 3 times now, all under different subjects This is a webserver problem, and you clearly haven't done anything to try and diagnose your own problem. 1. Look in your webserver logs, specifically error_log, there are errors there 2. Read your webserver config file, see wher

Re: [Nagios-users] ePN - Strange Problem

2006-08-03 Thread rob . moss
Looks like a problem with your perl script runing under the embedded Perl interpreter. Perhaps one side of the division is a variable which is empty. Internet [EMAIL PROTECTED]@lists.sourceforge.net - 03/08/2006 07:48 Sent by:[EMAIL PROTECTED] To:nagios-users cc: Subject:[

[Nagios-users] Heading off

2005-11-15 Thread Rob Moss
Hi All, Well it's been fun the past couple months on the list.. but now it's time to head off.. Leaving my job and winter in London and heading for some time in the sun in Melbourne.. Take care and good luck to you all rob --- This SF.Ne

Re: [Nagios-users] nagios -v minimal.cfg ???

2005-11-11 Thread Rob Moss
Mehmet Fatih AKBULUT wrote: [EMAIL PROTECTED] nagios]# nagios -v minimal.cfg WHAT SHOULD I DO NOW ??? help please :) This is the third posting of yours which has been a timewaster. You haven't tried anything for yourself and have simply posted the error message, not what you are trying t

Re: [Nagios-users] Multiple Services

2005-11-10 Thread Rob Moss
Evans Kwambai wrote: HTML -Emails with Acknowledge -Link? Hi   I’ve just installed nagios and I’ve been digging around for answers to this question:   Can I monitor more than one service on a host e.g. POP3, SMTP without  having to define them separate

Re: [Nagios-users] Distributed Monitoring woes and performance issues.

2005-11-09 Thread Rob Moss
Jason Rojas wrote: Here is a good one for you guys. I am currently monitoring roughly 4357 services on 700 hosts. Now this is not all the hosts/services I need to be monitoring. From the output of nagios -s -c nagios.cfg it tells me that one complete run checking all mentioned services/hosts wi