nagios not sending sms through gnokii

J.VC jvc_dvl557 at hotmail.com
Wed Jan 7 10:01:57 CET 2009


Fernando,

Which Nagios version are you using? 3.0.3? I've had the same problem untill 
i updated my Nagios installation to the latest version (december, 3.0.6).

Kind regards,

Dennis de Vries.

--------------------------------------------------
From: <nagios-users-request at lists.sourceforge.net>
Sent: Tuesday, January 06, 2009 7:43 PM
To: <nagios-users at lists.sourceforge.net>
Subject: Nagios-users Digest, Vol 32, Issue 2

> Send Nagios-users mailing list submissions to
> nagios-users at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> or, via email, send a message with subject or body 'help' to
> nagios-users-request at lists.sourceforge.net
>
> You can reach the person managing the list at
> nagios-users-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nagios-users digest..."
>
>
> Today's Topics:
>
>   1. Setting up NRPE on HP UX (Christian I?iguez)
>   2. Re: Setting up NRPE on HP UX (jmoseley at corp.xanadoo.com)
>   3. Re: Setting up NRPE on HP UX (Kaplan, Andrew H.)
>   4. Re: Setting up NRPE on HP UX (Kyle O'Donnell)
>   5. Nagios 3.x spews debug output on configuration verify on
>      RHEL3 systems (jmoseley at corp.xanadoo.com)
>   6. Re: Setting up NRPE on HP UX (C. Bensend)
>   7. check_by_ssh for new linxux users.. shed some light...
>      (Mirza Dedic)
>   8. Re: check_by_ssh for new linxux users.. shed some light...
>      (Patrick Morris)
>   9. Re: check_by_ssh for new linxux users.. shed some light...
>      (Satish Kumar P)
>  10. Return code of 141 is out of bounds - SMTP Monitor (Duane Hill)
>  11. Re: Return code of 141 is out of bounds - SMTP Monitor
>      (jmoseley at corp.xanadoo.com)
>  12. nagios not sending sms through gnokii (fernando renegado)
>  13. Re: nagios not sending sms through gnokii (Hugo van der Kooij)
>  14. Re: Availability report: What does scheduled/unscheduled OK
>      time mean (Uwe Kubosch)
>  15. Email priority (Layne Meier)
>  16. Re: Email priority (jmoseley at corp.xanadoo.com)
>  17. Re: Return code of 141 is out of bounds - SMTP Monitor
>      (Duane Hill)
>  18. Re: Email priority (Paul Weaver)
>  19. Re: icons not displaying on Nagios 3.0.6 status map
>      (Cherrington Stuart)
>  20. Re: Return code of 141 is out of bounds - SMTP Monitor
>      (jmoseley at corp.xanadoo.com)
>  21. $SERVICEOUTPUT$ empty in e-mail notifications (Gavin Henry)
>  22. install (nadia kheffache)
>  23. Re: $SERVICEOUTPUT$ empty in e-mail notifications (Marc Powell)
>  24. Re: install (Marc Powell)
>  25. Re: install (jmoseley at corp.xanadoo.com)
>  26. Critical - Socket Timeout After 10 Seconds (Frank M)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 5 Jan 2009 09:13:57 -0800 (PST)
> From: Christian I?iguez <challenger_joseph at yahoo.com.mx>
> Subject: [Nagios-users] Setting up NRPE on HP UX
> To: nagios-users at lists.sourceforge.net
> Message-ID: <650705.35606.qm at web36501.mail.mud.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi All!
>
> I have 2 machines with Unix HP UX, and I'd like to monitoring 
> them?installing nrpe, but I haven't found documentation or how to's about 
> it.
>
> On Linux plataform is working very well, but it's a kind of difficult to 
> do it on UNIX (HP UX)
>
> Does any body know how can perform this?
>
> Thanks in advance
>
>
>      ?Todo sobre Amor y Sexo!
> La gu?a completa para tu vida en Mujer de Hoy.
> http://mx.mujer.yahoo.com/
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 5 Jan 2009 12:03:54 -0600
> From: jmoseley at corp.xanadoo.com
> Subject: Re: [Nagios-users] Setting up NRPE on HP UX
> To: Christian I?iguez <challenger_joseph at yahoo.com.mx>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID:
> <OF47DD0A19.D8212565-ON86257535.006239DD-86257535.006339E8 at corp.xanadoo.com>
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Good documentation can be found at:
>
> http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
>
> Basically, you have to install NRPE on the host you want monitored *and*
> any plugins that NRPE daemon on that host will call.  If you want to
> monitor things specific to HP UX, then you'll have to write custom 
> plugins.
> You will also have to configure nrpe.cfg on the monitored host in order to
> define check commands, which Nagios hosts(s) are allowed to talk to the
> NRPE daemon, etc.
>
> Then you have to install the check_nrpe plugin on the Nagios host doing 
> the
> monitoring.
>
> Next, in the services config on the Nagios host, you have to define that
> you are checking a particular service via NRPE.  For example:
>
> check_command                   check_nrpe!<host.abc.com>!check_nagios
>
> That tells Nagios that you want to check host 'host.abc.com' via NRPE and
> that the NRPE daemon on remote host.abc.com should call the check_nagios
> plugin (in order to see if Nagios is running on the remote host).
>
> This should get you started...
>
>
> James Moseley
>
>
>
>
>
>             Christian I?iguez
>             <challenger_josep
>             h at yahoo.com.mx>                                            To
>                                       nagios-users at lists.sourceforge.net
>             01/05/2009 11:13                                           cc
>             AM
>                                                                   Subject
>                                       [Nagios-users] Setting up NRPE on
>                                       HP UX
>
>
>
>
>
>
>
>
>
>
> Hi All!
>
> I have 2 machines with Unix HP UX, and I'd like to monitoring
> them?installing nrpe, but I haven't found documentation or how to's about
> it.
>
> On Linux plataform is working very well, but it's a kind of difficult to 
> do
> it on UNIX (HP UX)
>
> Does any body know how can perform this?
>
> Thanks in advance
>
>
>      ?Todo sobre Amor y Sexo!
> La gu?a completa para tu vida en Mujer de Hoy.
> http://mx.mujer.yahoo.com/
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 5 Jan 2009 13:16:29 -0500
> From: "Kaplan, Andrew H." <AHKAPLAN at PARTNERS.ORG>
> Subject: Re: [Nagios-users] Setting up NRPE on HP UX
> To: Christian I?iguez <challenger_joseph at yahoo.com.mx>,
> <nagios-users at lists.sourceforge.net>
> Message-ID:
> <F76F46ADD6410C4BBBB7F0A6E4A331A3016993B6 at PHSXMB26.partners.org>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi there --
>
> I would check out the following URL:
>
> http://www.bennyvision.com/projects/nagios/index.php
>
> I have used the files that are available there with great success.
>
> -----Original Message-----
> From: Christian I?iguez [mailto:challenger_joseph at yahoo.com.mx]
> Sent: Monday, January 05, 2009 12:14 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Setting up NRPE on HP UX
>
> Hi All!
>
> I have 2 machines with Unix HP UX, and I'd like to monitoring 
> them?installing
> nrpe, but I haven't found documentation or how to's about it.
>
> On Linux plataform is working very well, but it's a kind of difficult to 
> do it
> on UNIX (HP UX)
>
> Does any body know how can perform this?
>
> Thanks in advance
>
>
>      ?Todo sobre Amor y Sexo!
> La gu?a completa para tu vida en Mujer de Hoy.
> http://mx.mujer.yahoo.com/
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
> The information in this e-mail is intended only for the person to whom it 
> is
> addressed. If you believe this e-mail was sent to you in error and the 
> e-mail
> contains patient information, please contact the Partners Compliance 
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in 
> error
> but does not contain patient information, please contact the sender and 
> properly
> dispose of the e-mail.
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 5 Jan 2009 13:41:57 -0500
> From: "Kyle O'Donnell" <kyleodonnell at gmail.com>
> Subject: Re: [Nagios-users] Setting up NRPE on HP UX
> To: "Kaplan, Andrew H." <AHKAPLAN at partners.org>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID:
> <2274b9c30901051041s1a8b2caah1d5a532a8029b152 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> ive compiled them for 10.20 and 11.00 (works with 11.11)
>
> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2559.html;d=1
> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2556.html;d=1
>
>
>
> On 1/5/09, Kaplan, Andrew H. <AHKAPLAN at partners.org> wrote:
>> Hi there --
>>
>> I would check out the following URL:
>>
>> http://www.bennyvision.com/projects/nagios/index.php
>>
>> I have used the files that are available there with great success.
>>
>> -----Original Message-----
>> From: Christian I?iguez [mailto:challenger_joseph at yahoo.com.mx]
>> Sent: Monday, January 05, 2009 12:14 PM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] Setting up NRPE on HP UX
>>
>> Hi All!
>>
>> I have 2 machines with Unix HP UX, and I'd like to monitoring
>> them installing
>> nrpe, but I haven't found documentation or how to's about it.
>>
>> On Linux plataform is working very well, but it's a kind of difficult to 
>> do
>> it
>> on UNIX (HP UX)
>>
>> Does any body know how can perform this?
>>
>> Thanks in advance
>>
>>
>>       ?Todo sobre Amor y Sexo!
>> La gu?a completa para tu vida en Mujer de Hoy.
>> http://mx.mujer.yahoo.com/
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>>
>> The information in this e-mail is intended only for the person to whom it 
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you in
>> error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 5 Jan 2009 13:12:07 -0600
> From: jmoseley at corp.xanadoo.com
> Subject: [Nagios-users] Nagios 3.x spews debug output on configuration
> verify on RHEL3 systems
> To: Nagios Users List <nagios-users at lists.sourceforge.net>
> Message-ID:
> <OFE67FBEBE.53FD16A4-ON86257535.0066AE48-86257535.006978DC at corp.xanadoo.com>
>
> Content-Type: text/plain; charset=US-ASCII
>
> This same issue was posted on the users list back in March, but didn't
> generate any interest.  Essentially, the problem doesn't exist on RHEL 4 
> or
> 5 systems and shows up only when Nagios is compiled with ePN support.
>
> On RHEL3, when verifying configuration, I get:
>
> Nagios 3.0.6
> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
> Last Modified: 12-01-2008
> License: GPL
>
> Reading configuration data...
>
> LEN: 79, END: 77,
> BUF=##############################################################################
> BUFNOW:
> ##############################################################################
> LEN: 2, END: 0, BUF=#
> BUFNOW: #
> LEN: 51, END: 49, BUF=# NAGIOS.CFG - Sample Main Config File for Nagios
> BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios
> *
> *
> *
>
> The original poster posted a patch that seemed to fix the issue:
>
> include/epn_nagios.h
>
>   #include <fcntl.h>
> ++ #undef DEBUG
>   #undef ctime    /* don't need perl's threaded version */
>   #undef printf   /* can't use perl's printf until initialized */
>
> Not sure if this works...
>
> Anyone have any insight?
>
> Thanks,
>
>
> James Moseley
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 5 Jan 2009 13:50:51 -0600 (CST)
> From: "C. Bensend" <benny at bennyvision.com>
> Subject: Re: [Nagios-users] Setting up NRPE on HP UX
> To: nagios-users at lists.sourceforge.net
> Message-ID:
> <4799b41de22019ac740542b294830d02.squirrel at webmail.stinkweasel.net>
> Content-Type: text/plain;charset=iso-8859-1
>
>
> :)
>
> Please keep in mind, the versions there are *old*.  I don't work
> at that job any longer, so I do not have an environment to build
> new ones.
>
> Benny
>
>
>> Hi there --
>>
>> I would check out the following URL:
>>
>> http://www.bennyvision.com/projects/nagios/index.php
>>
>> I have used the files that are available there with great success.
>>
>> -----Original Message-----
>> From: Christian I?iguez [mailto:challenger_joseph at yahoo.com.mx]
>> Sent: Monday, January 05, 2009 12:14 PM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] Setting up NRPE on HP UX
>>
>> Hi All!
>>
>> I have 2 machines with Unix HP UX, and I'd like to monitoring
>> them?installing
>> nrpe, but I haven't found documentation or how to's about it.
>>
>> On Linux plataform is working very well, but it's a kind of difficult to
>> do it
>> on UNIX (HP UX)
>>
>> Does any body know how can perform this?
>>
>> Thanks in advance
>>
>>
>>       ?Todo sobre Amor y Sexo!
>> La gu?a completa para tu vida en Mujer de Hoy.
>> http://mx.mujer.yahoo.com/
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you in
>> error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
> -- 
> "This is /my/ kung fu.  And it is strong."     -- Rat, "The Core"
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 5 Jan 2009 18:06:44 -0800
> From: Mirza Dedic <mirde at oppy.com>
> Subject: [Nagios-users] check_by_ssh for new linxux users.. shed some
> light...
> To: "'Nagios-users at lists.sourceforge.net'"
> <Nagios-users at lists.sourceforge.net>
> Message-ID:
> <CF757435B64CD64798912313712C7B32591329C256 at van-mail01.vand1.oppy.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> I have a Nagios system running (3.0.X) along with Nagios Plug-ins; while I 
> am able to get Nagios to monitor all the things I need on a Win32 box 
> (using NSClient++ & Check_NT); I am having difficulty getting check_by_ssh 
> to work for me.
>
> I have previously never used check_by_ssh; I am also fairly new to the 
> linux OS. My OS is Ubuntu and many of the servers I want to monitor are 
> RHEL4 or Fedora.
>
> I know that to get check_by_ssh to work, I need to create a private/public 
> certificate on the client/server; anyone shed some light on how to create 
> this?
>
> Do I create the key on my Nagios box? Under the same user that was used 
> when compiling Nagios?
>
> For the remote host (monitored linux server); what do I need to do? Create 
> the same user-id? How do I apply the certificate from my Nagios Host to 
> the monitored Host so that my shell scripts can connect to the Host B 
> without a password prompt?
>
> Please if you could, shed some light for a beginner.
>
> Also, our environment is using Kerberos, all the servers use SSH/Kerberos, 
> this way when users are created in Active Directory they are replicated 
> across the linux servers (is this why I can't find authorized_keys file?)
>
> Thank you.
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 8
> Date: Mon, 5 Jan 2009 18:41:49 -0800
> From: Patrick Morris <patrick.morris at hp.com>
> Subject: Re: [Nagios-users] check_by_ssh for new linxux users.. shed
> some light...
> To: Mirza Dedic <mirde at oppy.com>
> Cc: "'Nagios-users at lists.sourceforge.net'"
> <Nagios-users at lists.sourceforge.net>
> Message-ID: <20090106024149.GB26044 at bakgwai.americas.hpqcorp.net>
> Content-Type: text/plain; charset=us-ascii
>
>
> On Tue, 06 Jan 2009, Mirza Dedic wrote:
>
>> Hello,
>>
>> I have a Nagios system running (3.0.X) along with Nagios Plug-ins; while 
>> I am able to get Nagios to monitor all the things I need on a Win32 box 
>> (using NSClient++ & Check_NT); I am having difficulty getting 
>> check_by_ssh to work for me.
>>
>> I have previously never used check_by_ssh; I am also fairly new to the 
>> linux OS. My OS is Ubuntu and many of the servers I want to monitor are 
>> RHEL4 or Fedora.
>>
>> I know that to get check_by_ssh to work, I need to create a 
>> private/public certificate on the client/server; anyone shed some light 
>> on how to create this?
>>
>> Do I create the key on my Nagios box? Under the same user that was used 
>> when compiling Nagios?
>>
>> For the remote host (monitored linux server); what do I need to do? 
>> Create the same user-id? How do I apply the certificate from my Nagios 
>> Host to the monitored Host so that my shell scripts can connect to the 
>> Host B without a password prompt?
>>
>> Please if you could, shed some light for a beginner.
>>
>> Also, our environment is using Kerberos, all the servers use 
>> SSH/Kerberos, this way when users are created in Active Directory they 
>> are replicated across the linux servers (is this why I can?t find 
>> authorized_keys file?)
>
> This doc's not bad. You'll want to create a key for the user Nagios runs
> as on the Nagios box. The user on the other end doesn't matter so much,
> as long as the Nagios user's key is authorized to log in on the other side
> as that user.
>
> http://www.sshkeychain.org/mirrors/SSH-with-Keys-HOWTO/
>
>
>
> ------------------------------
>
> Message: 9
> Date: Tue, 6 Jan 2009 09:48:54 +0530
> From: "Satish Kumar P" <satishkumarp2k1 at gmail.com>
> Subject: Re: [Nagios-users] check_by_ssh for new linxux users.. shed
> some light...
> To: "Mirza Dedic" <mirde at oppy.com>
> Cc: "Nagios-users at lists.sourceforge.net"
> <Nagios-users at lists.sourceforge.net>
> Message-ID:
> <e41fb1350901052018v7fcfd3bekb706365ac1c46f9d at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Jan 6, 2009 at 7:36 AM, Mirza Dedic <mirde at oppy.com> wrote:
>> Hello,
>>
>> I have a Nagios system running (3.0.X) along with Nagios Plug-ins; while 
>> I
>> am able to get Nagios to monitor all the things I need on a Win32 box 
>> (using
>> NSClient++ & Check_NT); I am having difficulty getting check_by_ssh to 
>> work
>> for me. I have previously never used check_by_ssh; I am also fairly new 
>> to the linux
>> OS. My OS is Ubuntu and many of the servers I want to monitor are RHEL4 
>> or
>> Fedora.  I know that to get check_by_ssh to work, I need to create a 
>> private/public
>> certificate on the client/server; anyone shed some light on how to create
>> this?
>>
>>  Do I create the key on my Nagios box? Under the same user that was used 
>> when
>> compiling Nagios? For the remote host (monitored linux server); what do I 
>> need to do? Create
>> the same user-id? How do I apply the certificate from my Nagios Host to 
>> the
>> monitored Host so that my shell scripts can connect to the Host B without 
>> a
>> password prompt? Please if you could, shed some light for a beginner.
>>
>> Also, our environment is using Kerberos, all the servers use 
>> SSH/Kerberos,
>> this way when users are created in Active Directory they are replicated
>> across the linux servers (is this why I can't find authorized_keys file?)
>
> The key based authentication works if you enable RSAAuthentication (or
> equivalent) in your SSH server's configuration on Linux servers. I am
> not really sure how things work out if you enable both Kerberos and
> Key based authentication. But you could give it a try with one server.
>
> You could create the private and public key pair using a command,
> ssh-keygen (from a Linux machine) or puttygen (on windows). Next the
> user account that runs Nagios should use the private and public key
> pairs generated. You can create a new user account on the target Linux
> server or use existing account also. Place the newly generated public
> key in the ~<useraccount>/.ssh/authorized_keys file on the target
> Linux server,
>
> Then you could verify the setup by trying a SSH session from the
> Nagios server to the target Linux server. If you are not being asked
> for a password etc. and if you get the remote shell immediately, the
> setup should be proper. Then you can configure a new command
> definition by specifying the login identity etc. for check_by_ssh
> command.
>
> If you do not to get into the hassles of these things, I would suggest
> to try out check_ssh plugin to check the sanity of SSH daemons running
> on Linux servers. HTH.
>
>
>
> ------------------------------
>
> Message: 10
> Date: Tue, 6 Jan 2009 04:31:49 +0000 (UTC)
> From: Duane Hill <d.hill at yournetplus.com>
> Subject: [Nagios-users] Return code of 141 is out of bounds - SMTP
> Monitor
> To: Nagios-users at lists.sourceforge.net
> Message-ID:
> <alpine.BSF.2.00.0901060420090.13937 at duane.dbq.yournetplus.com>
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
>
> Every once in a while I will get a critical alert stating:
>
>     Notification Type: PROBLEM
>
>     Service: SMTP
>     Host: Secondary Spam Filter
>     Address: 192.168.1.50
>     State: CRITICAL
>
>     Date/Time: Tue Jan 6 00:43:01 UTC 2009
>
>     Additional Info:
>
>     (Return code of 141 is out of bounds)
>
> I have the SMTP service defined as such:
>
>     define service {           ; smtp port 25
>         use                    ynp-services-duane
>         host_name              sec_spam_filt
>         service_description    SMTP
>         check_command          check_smtp!-p 25 -t 60
>     }
>
> I've checked list archives and have not found anything that closely
> resembles the issue at hand.
>
> What should I be looking for to correct this? Perhaps this is a FreeBSD
> port issue that needs to be reported to the port maintainer.
>
> Nagios version is v3.0.5 running on FreeBSD v6.3.
>
> -d
>
>
>
> ------------------------------
>
> Message: 11
> Date: Mon, 5 Jan 2009 22:48:11 -0600
> From: jmoseley at corp.xanadoo.com
> Subject: Re: [Nagios-users] Return code of 141 is out of bounds - SMTP
> Monitor
> To: d.hill at yournetplus.com
> Cc: Nagios-users at lists.sourceforge.net
> Message-ID:
> <OF90522055.EDCF22A8-ON86257536.001A101C-86257536.001A603D at corp.xanadoo.com>
>
> Content-Type: text/plain; charset=US-ASCII
>
> First, the syntax of the check_command should be:
>
> check_smtp!25!60
>
> And for that to work, the entry in your checkcommands.cfg would look like:
>
> # 'check_smtp' command definition
> define command{
>        command_name    check_smtp
>        command_line    $USER1$/check_smtp -H $HOSTADDRESS$ -p $ARG1$ -t
> $ARG2$
>        }
>
>
> James Moseley
>
>
>
>
>
>             Duane Hill
>             <d.hill at yournetpl
>             us.com>                                                    To
>                                       Nagios-users at lists.sourceforge.net
>             01/05/2009 10:31                                           cc
>             PM
>                                                                   Subject
>                                       [Nagios-users] Return code of 141
>             Please respond to         is out of bounds - SMTP Monitor
>             d.hill at yournetplu
>                   s.com
>
>
>
>
>
>
>
>
> Every once in a while I will get a critical alert stating:
>
>     Notification Type: PROBLEM
>
>     Service: SMTP
>     Host: Secondary Spam Filter
>     Address: 192.168.1.50
>     State: CRITICAL
>
>     Date/Time: Tue Jan 6 00:43:01 UTC 2009
>
>     Additional Info:
>
>     (Return code of 141 is out of bounds)
>
> I have the SMTP service defined as such:
>
>     define service {           ; smtp port 25
>         use                    ynp-services-duane
>         host_name              sec_spam_filt
>         service_description    SMTP
>         check_command          check_smtp!-p 25 -t 60
>     }
>
> I've checked list archives and have not found anything that closely
> resembles the issue at hand.
>
> What should I be looking for to correct this? Perhaps this is a FreeBSD
> port issue that needs to be reported to the port maintainer.
>
> Nagios version is v3.0.5 running on FreeBSD v6.3.
>
> -d
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
>
>
>
> ------------------------------
>
> Message: 12
> Date: Tue, 6 Jan 2009 14:23:56 +0800
> From: "fernando renegado" <flrenegado at gmail.com>
> Subject: [Nagios-users] nagios not sending sms through gnokii
> To: Nagios-users at lists.sourceforge.net
> Message-ID:
> <543c8f860901052223x130c9a06j35082a6a50061f09 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> It's been weeks since I've been experimenting on gnokii to send sms alerts
> from nagios. I'm using nokia 5210 xpress music cell connected to my nagios
> on Centos box. When I tried to send sms at the terminal it works fine. But
> when I enable nagios to send sms, it doesn't. I tried to chmod and chown 
> the
> port being used by gnokii but to no avail. Please help!
>
> fearnone
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 13
> Date: Tue, 06 Jan 2009 07:47:45 +0100
> From: Hugo van der Kooij <hvdkooij at vanderkooij.org>
> Subject: Re: [Nagios-users] nagios not sending sms through gnokii
> To: Nagios Users Mailinglist <nagios-users at lists.sourceforge.net>
> Message-ID: <4962FE91.3090605 at vanderkooij.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> fernando renegado wrote:
>> Hi,
>>
>> It's been weeks since I've been experimenting on gnokii to send sms
>> alerts from nagios. I'm using nokia 5210 xpress music cell connected to
>> my nagios on Centos box. When I tried to send sms at the terminal it
>> works fine. But when I enable nagios to send sms, it doesn't. I tried to
>> chmod and chown the port being used by gnokii but to no avail. Please 
>> help!
>
> What other ways did you test this?
> Did you test as the nagios user?
>
> Hugo.
>
> - --
> hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
>
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
>
> Bored? Click on http://spamornot.org/ and rate those images.
>
> Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkli/pAACgkQBvzDRVjxmYHBNQCgo10gVnRbl8+dMPuNDvkWZz/n
> lBIAnAvAwZRmhxPpfbUS2WvzEBRY/acG
> =SYjJ
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 14
> Date: Tue, 06 Jan 2009 08:56:11 +0100
> From: Uwe Kubosch <uwe at kubosch.no>
> Subject: Re: [Nagios-users] Availability report: What does
> scheduled/unscheduled OK time mean
> To: Lars Kristian Klykken <lars.k.klykken at met.no>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <1231228571.4239.1.camel at pippin>
> Content-Type: text/plain; charset="us-ascii"
>
> On Mon, 2009-01-05 at 08:30 +0100, Lars Kristian Klykken wrote:
>> Hi Uwe!
>>
>> > In the availability report there are rows for scheduled and unscheduled
>> > uptime (OK).  What does this actually mean?  I schedule downtime for a
>> > service, and I expect the availability report to list warning and
>> > critical times in a scheduled downtime period in the "scheduled" rows
>> > for warning and critical, but I have no idea what the "scheduled" and
>> > "unscheduled" times for OK mean.
>>
>> If your service is in an OK state in a scheduled downtime window, I
>> would expect this state to be logged as OK in the "scheduled" row.
>
> Does anybody need this?  It would simplify the report if the OK state
> was on one row only.
>
> -- 
> With kind regards,
> Uwe Kubosch
> Kubosch Consulting
> Norway
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 197 bytes
> Desc: This is a digitally signed message part
>
> ------------------------------
>
> Message: 15
> Date: Tue, 6 Jan 2009 08:34:58 -0500
> From: Layne Meier <lmeier at ajc.com>
> Subject: [Nagios-users] Email priority
> To: Nagios Users Mailinglist <nagios-users at lists.sourceforge.net>
> Message-ID: <CAF4B5C2-644D-4850-A4A2-6E274B76AFCB at ajc.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Is there a way to define in Nagios to send email alerts with high or
> low priority notification?  Several of our users want to be able to
> set their Blackberries to alert them a different way if a high
> priority email comes in, rather than just a regular email.
>
> Layne Meier
> Atlanta Journal-Constitution
> A Cox Newspaper
>
>
>
>
>
>
> ------------------------------
>
> Message: 16
> Date: Tue, 6 Jan 2009 08:24:04 -0600
> From: jmoseley at corp.xanadoo.com
> Subject: Re: [Nagios-users] Email priority
> To: Layne Meier <lmeier at ajc.com>, Nagios Users Mailinglist
> <nagios-users at lists.sourceforge.net>
> Message-ID:
> <OFE4A2934F.B76643DF-ON86257536.004F0769-86257536.004F198C at corp.xanadoo.com>
>
> Content-Type: text/plain; charset=US-ASCII
>
>
>
>
>
>>Is there a way to define in Nagios to send email alerts with high or
>>low priority notification?  Several of our users want to be able to
>>set their Blackberries to alert them a different way if a high
>>priority email comes in, rather than just a regular email.
>>
>>Layne Meier
>
> Not that I am aware of, no.
>
> James
>
>
>
>
>
> ------------------------------
>
> Message: 17
> Date: Tue, 6 Jan 2009 14:41:49 +0000 (UTC)
> From: Duane Hill <d.hill at yournetplus.com>
> Subject: Re: [Nagios-users] Return code of 141 is out of bounds - SMTP
> Monitor
> To: Nagios-users at lists.sourceforge.net
> Message-ID:
> <alpine.BSF.2.00.0901061439390.17618 at duane.dbq.yournetplus.com>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Mon, 5 Jan 2009, jmoseley at corp.xanadoo.com wrote:
>
>> First, the syntax of the check_command should be:
>>
>> check_smtp!25!60
>>
>> And for that to work, the entry in your checkcommands.cfg would look 
>> like:
>>
>> # 'check_smtp' command definition
>> define command{
>>        command_name    check_smtp
>>        command_line    $USER1$/check_smtp -H $HOSTADDRESS$ -p $ARG1$ -t
>> $ARG2$
>>        }
>
> Thanks for clearing that up. I was getting the commandline parameters
> confused with the way Nagios is configured within.
>
>
>
> ------------------------------
>
> Message: 18
> Date: Tue, 6 Jan 2009 14:43:52 -0000
> From: "Paul Weaver" <paul.weaver at bbc.co.uk>
> Subject: Re: [Nagios-users] Email priority
> To: "Layne Meier" <lmeier at ajc.com>, "Nagios Users Mailinglist"
> <nagios-users at lists.sourceforge.net>
> Message-ID:
> <FAC6DFEF4E4DDF41A31D7B7524D6DF87040652DE at bbcxues14.national.core.bbc.co.uk>
>
> Content-Type: text/plain; charset="us-ascii"
>
>> Is there a way to define in Nagios to send email alerts with
>> high or low priority notification?  Several of our users want
>> to be able to set their Blackberries to alert them a
>> different way if a high priority email comes in, rather than
>> just a regular email.
>>
>> Layne Meier
>> Atlanta Journal-Constitution
>> A Cox Newspaper
>
> Yes, you need to change the outgoing mail command. If you are using the
> default "mail" command, add a new entry to commands.cfg which is the
> same, but has
>
> printf .....|mail -a "Priority: Urgent" -a "Importance: high" -a
> "X-Priority: 1" -s subject contact
> Instead of
> printf .....|mail -s subject contact
>
> As to what the blackberry does with an urgent email, that's another
> matter.
>
> If you use a different mailing system (mailx for example), you need to
> add the Priority headers.
> --
> Paul Weaver
> Systems Development Engineer
> News Production Facilities, BBC News
>
>
>
> ------------------------------
>
> Message: 19
> Date: Tue, 6 Jan 2009 14:51:10 -0000
> From: "Cherrington Stuart" <Stuart.Cherrington at rhul.ac.uk>
> Subject: Re: [Nagios-users] icons not displaying on Nagios 3.0.6
> status map
> To: <nagios-users at lists.sourceforge.net>
> Message-ID:
> <5332CCE6B7DACF4CA514A1F8141A5D28027F7FD1 at EXCH-DB-04.cc.rhul.local>
> Content-Type: text/plain; charset="us-ascii"
>
>
> James,
>
> I had this issue on a 3.0.x on Debian a while ago when I added custom
> made png's. It could be the relation of the png files to were the
> webserver expects it.
>
> My Nagios apache config says
>
> DocumentRoot /usr/share/nagios2/htdocs,
>
> and my images are stored in
> /usr/share/nagios2/htdocs/images/logos/stuart
>
> in the extinfo.cfg I had to specify
>
> icon_image stuart/emc.png
>
> so Ngaios map was drawn correctly.
>
> Thanks,
>
> Stuart Cherrington
> Unix Systems Admin
> Royal Holloway University
>
> Mobile: 07756 857607
>
>
> -----Original Message-----
> From: Jon Angliss [mailto:jon at netdork.net]
> Sent: 02 January 2009 06:03
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] icons not displaying on Nagios 3.0.6 status
> map
>
> On Wed, 31 Dec 2008 17:20:06 -0600, jmoseley at corp.xanadoo.com wrote:
>
>>
>>Been using Nagios 2.x for years and never had this problem.  Just
> upgraded
>>a test server to 3.0.6 via Dag RPM (from Dag 2.9 RPM) and everything
> seems
>>to work fine, except that icons do not display on the status map.  I
>>basically get a blank square, regardless if I use .png, .jpg, .gd2,
> etc.
>>The icons display just fine in the host detail, hostgroup overview,
> etc.
>>Yes, per upgrade instructions, this extended host info has been moved
> into
>>the hosts config.  Sample looks like:
>>
>>        icon_image      firewall_router.png
>>        vrml_image      firewall_router.png
>>        statusmap_image firewall_router.gd2
>>        2d_coords       100,200
>>
>>Attached is screen shot.  Anyone else seen this?
>
> You probably don't have the related GD libraries installed that were
> used to build the RPM.  All the other locations are simply links to
> the image (html <img>), whilst the images in the status maps are
> imported using the GD libraries if I remember correctly.
>
> -- 
> Jon Angliss
>
>
> ------------------------------------------------------------------------
> ------
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
>
> ------------------------------
>
> Message: 20
> Date: Tue, 6 Jan 2009 08:53:51 -0600
> From: jmoseley at corp.xanadoo.com
> Subject: Re: [Nagios-users] Return code of 141 is out of bounds - SMTP
> Monitor
> To: d.hill at yournetplus.com
> Cc: Nagios-users at lists.sourceforge.net
> Message-ID:
> <OFD8DF0B9C.55BEE8DB-ON86257536.0051C62A-86257536.0051D3C5 at corp.xanadoo.com>
>
> Content-Type: text/plain; charset=US-ASCII
>
>
>
>
>
> Duane Hill <d.hill at yournetplus.com>  wrote:
>
>
>>Thanks for clearing that up. I was getting the commandline parameters
>>confused with the way Nagios is configured within.
>
> You're welcome.
>
> James
>
>
>
>
>
> ------------------------------
>
> Message: 21
> Date: Tue, 6 Jan 2009 16:45:34 +0000
> From: "Gavin Henry" <gavin.henry at gmail.com>
> Subject: [Nagios-users] $SERVICEOUTPUT$ empty in e-mail notifications
> To: Nagios-users at lists.sourceforge.net
> Message-ID:
> <13ca621c0901060845t58389a89ldd1ec2fcfdc9e9c5 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi All,
>
> We're having a problem where the $SERVICEOUTPUT$ variable in the stock
> notify-by-email command is empty. When a notify-by-jabber is issued at
> the same time as the email only the jabber has this variable
> populated.
>
> Any ideas why the email isn't getting anything in $SERVICEOUTPUT$?
>
> Thanks.
>
> -- 
> http://www.suretecsystems.com/services/openldap/
>
>
>
> ------------------------------
>
> Message: 22
> Date: Tue, 6 Jan 2009 16:52:29 +0000 (GMT)
> From: nadia kheffache <nadiakheffache at yahoo.fr>
> Subject: [Nagios-users] install
> To: nagios-users at lists.sourceforge.net
> Message-ID: <210488.45246.qm at web25505.mail.ukl.yahoo.com>
> Content-Type: text/plain; charset=utf-8
>
> Hello,
>
> I want to install nagios in /usr/local/nagios/  with command group nagcmd, 
> but i dont know the real syntax.
> in the document whe have ./configure --with-command-group=nagcm, so wante 
> to change the $install_dir like:
>
> . / configure - prefix = / usr / local / nagios, but I do not know how i 
> do
>
> thank you for your help
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 23
> Date: Tue, 6 Jan 2009 11:11:37 -0600
> From: Marc Powell <marc at ena.com>
> Subject: Re: [Nagios-users] $SERVICEOUTPUT$ empty in e-mail
> notifications
> To: nagios-user Mailinglist <Nagios-users at lists.sourceforge.net>
> Message-ID: <72AD44CE-70F3-49AA-92FC-CBA303E92C12 at ena.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On Jan 6, 2009, at 10:45 AM, Gavin Henry wrote:
>
>> Hi All,
>>
>> We're having a problem where the $SERVICEOUTPUT$ variable in the stock
>> notify-by-email command is empty. When a notify-by-jabber is issued at
>> the same time as the email only the jabber has this variable
>> populated.
>>
>> Any ideas why the email isn't getting anything in $SERVICEOUTPUT$?
>
> There have never been bugs related to macro substitution that I can
> remember so I think there are three possibilities. There's not enough
> information yet to determine which --
>
> 1) The macro isn't included in the notification command being used by
> that contact.
> 2) The macro is mis-typed in that notification command.
> 3) The macro isn't valid for the notification type being sent (i.e. a
> host notification).
>
> Please post the nagios version and how installed (package or source),
> service definition, contactgroup definition, contact definition and
> notification command so we can help narrow it down.
>
> --
> Marc
>
>
>
> ------------------------------
>
> Message: 24
> Date: Tue, 6 Jan 2009 11:15:08 -0600
> From: Marc Powell <marc at ena.com>
> Subject: Re: [Nagios-users] install
> To: nagios-user Mailinglist <nagios-users at lists.sourceforge.net>
> Message-ID: <1077AD5A-76B4-45EF-8FB6-897082694093 at ena.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On Jan 6, 2009, at 10:52 AM, nadia kheffache wrote:
>
>> Hello,
>>
>> I want to install nagios in /usr/local/nagios/  with command group
>> nagcmd, but i dont know the real syntax.
>> in the document whe have ./configure --with-command-group=nagcm, so
>> wante to change the $install_dir like:
>>
>> . / configure - prefix = / usr / local / nagios, but I do not know
>> how i do
>
>
> /usr/local/nagios is the default location if none is specified but if
> you wanted to do so --
>
> ./configure --prefix=/usr/local/nagios --with-command-group=nagcmd
>
>
> './configure --help' will show all possible flags that can be passed
> to the configure command.
>
> --
> Marc
>
>
>
> ------------------------------
>
> Message: 25
> Date: Tue, 6 Jan 2009 11:20:28 -0600
> From: jmoseley at corp.xanadoo.com
> Subject: Re: [Nagios-users] install
> To: nadiakheffache at yahoo.fr
> Cc: nagios-users at lists.sourceforge.net
> Message-ID:
> <OF673357C8.8E35562C-ON86257536.005F12EB-86257536.005F4011 at corp.xanadoo.com>
>
> Content-Type: text/plain; charset=US-ASCII
>
>
>
>
>
> nadia kheffache <nadiakheffache at yahoo.fr>  wrote:
>
>>Hello,
>>
>>I want to install nagios in /usr/local/nagios/  with command group nagcmd,
> but i dont know the real syntax.
>>in the document whe have ./configure --with-command-group=nagcm, so wante
> to change the $install_dir like:
>>
>>. / configure - prefix = / usr / local / nagios, but I do not know how i
> do
>>
>>thank you for your help
>
> By default, it installs in /usr/local/nagios - so you shouldn't have to do
> anything.  There are other prefix arguments as well.  Look at the 
> configure
> file in the source to see what other arguments exists.
>
> But for the above, it would be: ./configure -prefix=/usr/local
>
> James
>
>
>
>
>
> ------------------------------
>
> Message: 26
> Date: Tue, 6 Jan 2009 11:43:14 -0700
> From: "Frank M" <frankm505 at gmail.com>
> Subject: [Nagios-users] Critical - Socket Timeout After 10 Seconds
> To: nagios-users at lists.sourceforge.net
> Message-ID:
> <110765300901061043xf9d5cd6ud98ffafac8364502 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I am running Nagios 3.0.6 with Nagios Plugins 1.4.13 on Suse Linux 11.1.
> Windows servers have NSClient++ 0.2.7
>
> Every few minutes Nagios detects that a servers/service is down because it
> times out and in the status information shows: Critical - Socket Timeout
> After 10 Seconds.  Once it redoes its check on those particular
> servers/services it shows that it is all good and other servers/services
> show "Critical - Socket Timeout After 10 Seconds".  I looked for a place 
> to
> change the timeout from 10 seconds to 20 but could not find one.  Any help
> would be appreciated.
>
>
>
>
> Thank you,
>
>
> Frank
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
>
> ------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
> End of Nagios-users Digest, Vol 32, Issue 2
> *******************************************
> 

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list