Re: [Nagios-users] check_disksuite2 (to 'warewolf')

2006-11-07 Thread Alexander Harvey
e .= " and $device has only one submirror!";     $exitcode = CRITICAL;     }    undef $submirrors; # clear our flags     undef $device;    next;   }}close METASTAT; $message =~ s/^ and //; if    ( $exitcode == OK )   { print "OK - No disk failures detected\n" } elsif ( $exi

[Nagios-users] check_disksuite2 (to 'warewolf')

2006-11-06 Thread Alexander Harvey
Hi to Warewolf--or anyone else using the check_disksuite2 plugin from the NagiosExchange--if you're out there!I have been using your plugin and have discovered a "bug" / feature depending on what you intended: in the event that a submirror is detached, the plugin returns a value of OK. Just wonderi

Re: [Nagios-users] becoming a plugin developer

2006-10-25 Thread Alexander Harvey
On 10/25/06, Thomas Sluyter <[EMAIL PROTECTED]> wrote: On 25 Oct, 2006, at 14:07, Alexander Harvey wrote:> I have written a number of plugins, some of which I believe others> might> find very useful, and I was wondering if anyone can advise me on> where I'll > find

Re: [Nagios-users] becoming a plugin developer

2006-10-25 Thread Alexander Harvey
On 10/25/06, Thomas Sluyter <[EMAIL PROTECTED]> wrote: On 25 Oct, 2006, at 14:07, Alexander Harvey wrote:> I have written a number of plugins, some of which I believe others> might> find very useful, and I was wondering if anyone can advise me on> where I'll > find

[Nagios-users] becoming a plugin developer

2006-10-25 Thread Alexander Harvey
Greetings List,I have written a number of plugins, some of which I believe others might find very useful, and I was wondering if anyone can advise me on where I'll find what I need to know about becoming a Nagios plugin developer? Kind Regards,Alex Harvey ---

Re: [Nagios-users] monitoring for IO in Nagios

2006-10-18 Thread Alexander Harvey
ce statisticsdevice   r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b sd0  0.0    1.4    0.3    9.4  0.0  0.0   31.6   0   1 sd1  0.0    0.0    0.0    0.0  0.0  0.0    3.4   0   0sd6  0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0st12     0.0    0.0    0.0    0

Re: [Nagios-users] monitoring for IO in Nagios

2006-10-16 Thread Alexander Harvey
mpares that the next time. As i said, it's just for mrtg now so dunno if it will work for nagios, but soon i'll play with it and find out. AugustOn 10/15/06, Alexander Harvey < [EMAIL PROTECTED]> wrote: Hi All,I wonder if anyone out there is using Nagios to monitor disk I/O on UNI

[Nagios-users] monitoring for IO in Nagios

2006-10-15 Thread Alexander Harvey
Hi All,I wonder if anyone out there is using Nagios to monitor disk I/O on UNIX servers and if so I'm curious as to how they're doing it, what plugins they're using, are they calling iostat from a shell script? What options of iostat are they calling etc? Many thanks in advance,Alex HarveyUNIX Admi

[Nagios-users] to upgrade or not to upgrade?

2006-10-15 Thread Alexander Harvey
Hi All,I was wondering if anyone out there has any opinions / experiences about whether or not it's worth my while upgrading my Nagios 1.2 server to the latest version on a Solaris 9 / Sparc server. Many thanks in advance, Alex HarveyUNIX AdministratorSydney, Australia -

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

2006-09-04 Thread Alexander Harvey
it hearsay--but sure enough, it was the only way I could get my plugin to work. If I get a chance to reproduce the problem, I'll see what I can dig out about it. AlexOn 9/4/06, Hari Sekhon <[EMAIL PROTECTED]> wrote: Thomas Sluyter wrote: On 4 Sep, 2006, at 12:09,

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

2006-09-02 Thread Alexander Harvey
julien Touche <[EMAIL PROTECTED]> wrote: Alexander Harvey wrote on 31/08/2006 16:10:> I have a difficult customer who won't sign off changes based on the > security> risk using suid plugins, for example, check_logfiles. What does one do> about> this situation?$ cat /usr/loc

[Nagios-users] security & suid/sudo plugins

2006-08-31 Thread Alexander Harvey
Hi,I have a difficult customer who won't sign off changes based on the security risk using suid plugins, for example, check_logfiles. What does one do about this situation?Regards,Alex - Using Tomcat but need to do more? Need t

Re: [Nagios-users] NRPE binary for HP-UX 10.20

2006-08-16 Thread Alexander Harvey
e used the binaries on this page for our 10.20 and 11.00 systems without any problems.     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Alexander Harvey Sent: Wednesday, August 16, 2006 8:47 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] NRPE bina

[Nagios-users] NRPE binary for HP-UX 10.20

2006-08-16 Thread Alexander Harvey
Hi All,I realise this is a long shot, but does anyone out there have a precompiled NRPE binary (any version I don't mind) for HP-UX 10.20 or know of where I can get one from? And no, there's no ssh on this box and by the looks of it, that'll be even harder to get to work than NRPE.. Thanks muchly,A

Re: [Nagios-users] log checking plugins?

2006-08-14 Thread Alexander Harvey
. CPU load critical; disk space at 0% free etc.). Anyhow, no big deal; thanks again.Best,AlexOn 8/14/06, Jason Martin < [EMAIL PROTECTED]> wrote:On Mon, Aug 14, 2006 at 12:31:27PM +1000, Alexander Harvey wrote: > handling this scenario? Ideally, the alert should remain until an> a

[Nagios-users] log checking plugins?

2006-08-13 Thread Alexander Harvey
Hi All,I am having a problem with log checking scripts, e.g. check_errpt for AIX and check_logfiles-1.4.3 (great plugins BTW). However, I'm not actually receiving any alerts to my mobile phone because these plugins only ever fail the first time a new error message is found. However, Nagios requires

[Nagios-users] have written a check_sendmail in Solaris plugin

2006-08-08 Thread Alexander Harvey
Hi All,I've just written a check_sendmail plugin shell script for Solaris; I'm wondering if anyone has any thoughts for improving it (be as pedantic as you like), problems with it, etc. Alternatively, if anyone wants to use it themselves. To use the plugin via nrpe** you must give the nagios user o

Re: [Nagios-users] issues with nrpe 2.5.1 starting correctly with AIX5.3 using inetd.conf

2006-07-18 Thread Alexander Harvey
Mark,May I ask, when you run your NRPE in daemon mode as you've shown us here, what happens when you just run:# ./check_nrpe -H x.x.x.xon the host, i.e. with no other arguments than the hostname? Could you check to see if you get an error message sent do daemon.error in your syslog:Jul 14 16:36:52

Re: [Nagios-users] check_disk 1.4.3 (1.64) for AIX not working?

2006-07-17 Thread Alexander Harvey
IX. One of our developers is trying to fix it. We'll post the code if we make any progress. AlexOn 7/18/06, Mark Worrad <[EMAIL PROTECTED]> wrote: Alexander Harvey gmail.com> writes:>>> I'm reluctant to use -w ... -c ... -p / -p /usr ... BTW as I'm often havingto

Re: [Nagios-users] check_disk 1.4.3 (1.64) for AIX not working?

2006-07-17 Thread Alexander Harvey
I'm reluctant to use -w ... -c ... -p / -p /usr ... BTW as I'm often having to add or remove filesystems from these boxes unfortunately. That would mean each time I add a filesystem I'd also have to change the Nagios check. That wouldn't really be ideal. AlexOn 7/17/06, Alexa

Re: [Nagios-users] check_disk 1.4.3 (1.64) for AIX not working?

2006-07-17 Thread Alexander Harvey
ll show as fail, but are expected). TonOn 17 Jul 2006, at 07:05, Alexander Harvey wrote: Actually, it still doesn't really work in AIX5L as it always finds the /proc filesystem to be of size -1%.I've rewritten this plugin as a shell script for anyone else who might find this useful: #!/bin/ksh #

Re: [Nagios-users] Using SNMP as an alternative to NRPE

2006-07-17 Thread Alexander Harvey
I'm not sure I can shed much light onto the subject, but I can say that we were going to use a product called 'SolarWinds' that called upon the net-snmp package and we found that the documentation for that project was quite hopeless and we gave up in despair. This is how we came to be pushing for N

Re: [Nagios-users] check_disk 1.4.3 (1.64) for AIX not working?

2006-07-16 Thread Alexander Harvey
echo "DISK OK"  exit 0  ;;   1) STATE_MESS=WARNING  ;;   2) STATE_MESS=CRITICAL   ;;esacmess=`echo $mess | sed -e 's/^, //'`mess="DISK $STATE_MESS [$mess]"echo $messexit $STATEKind Regards,AlexOn 7/10/06, Alexander Harvey <[EMAIL PROTECTED]>

Re: [Nagios-users] NRPE in AIX5L...?

2006-07-14 Thread Alexander Harvey
lugins on the older *nix boxes. But now even those are outdated and have be to redone for AIX5L. Some of us needs(probably i will sometime soon) to take ownership on the aix front. This is the only way we will ever get stable plugins for aix/hpux/solaris. Is there a plugin roadmap on the risc fro

Re: [Nagios-users] NRPE in AIX5L...?

2006-07-13 Thread Alexander Harvey
the host instead of getting:/usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes.  Are we allowed to connect to the host?we get/usr/local/nagios/libexec/check_nrpe -H cairnsNRPE v1.9as expected?On 7/14/06, Alexander Harvey <[EMAIL PROTECTED]> wrote: Hi,I found som

Re: [Nagios-users] NRPE in AIX5L...?

2006-07-13 Thread Alexander Harvey
    if(packet_crc32!=calculated_crc32){    syslog(LOG_ERR,"Error: Request packet had invalid CRC32.");    return ERROR;     }Anyone have any idea why this would happen? (My configure options etc were given in previous post).Thanks,AlexOn 7/13/06, Alexander Harvey &

[Nagios-users] NRPE in AIX5L...?

2006-07-13 Thread Alexander Harvey
Hi List,I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1 and 2.5 as well) work in AIX5.3.From the Nagios host I'm getting:# /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes.  Are we allowed to connect to the host?and on the client I just see th

Re: [Nagios-users] check_disk 1.4.3 (1.64) for AIX not working?

2006-07-10 Thread Alexander Harvey
Well, I got this to work using the earlier version:# ./plugins/check_disk -w 10% -c 5% -p /homeDISK OK - free space: /home 508 MB (99%);| /home=5MB;460;486;0;512# ./plugins/check_disk --versioncheck_disk (nagios-plugins 1.4.2) 1.57Perhaps this is a bug?Regards,AlexOn 7/10/06, Alexander Harvey

[Nagios-users] check_disk 1.4.3 (1.64) for AIX not working?

2006-07-10 Thread Alexander Harvey
Hi,Has anyone else had any problems using the latest check_disk v1.64 plugin in AIX5.3?Here's my list of filesystems:# df -kFilesystem    1024-blocks  Free %Used    Iused %Iused Mounted on /dev/hd4 10747904   1515560   86% 1975 1% //dev/hd2  2883584   1653188   43%    28