[Nagios-users] SMS Foxbox

2010-11-05 Thread Rutger Blom
Hello list,

I was wondering if any of you have experience with using the SMS Foxbox and
Nagios? Are you satisfied with the product? Is there any other solution you
would recommend instead?

http://www.nagios.org/products/notification/foxbox/

/Rutger
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] NSCA - Status is changing after 10 seconds to OK

2010-11-05 Thread Brandino Andreas



Friday, November 5, 2010, 4:59:01 AM, you wrote:


 On Nov 4, 2010, at 4:38 PM, Brandino Andreas wrote:

 The  message  appearing  in  the  Status Information when service is
 again green and OK is a simple OK !!!

 Were you previously testing something that gave that message?
 Freshness checks or active checks perhaps? Do you have multiple
 nagios daemons running at the same time, one running with the old
 config and one with the new? They'd both write to the same status
 file so you'd see results like this.

 --
 Marc

I   have   definedbymistakefreshness   checks   to   final
(TestMessage10) service definition.

The full definition of the service that finally seems to work is:

define service{
namegeneric-service
active_checks_enabled   1  
passive_checks_enabled  1  
parallelize_check   1  
obsess_over_service 1  
check_freshness 0  
notifications_enabled   1  
event_handler_enabled   1  
flap_detection_enabled  1  
failure_prediction_enabled  1  
process_perf_data   1  
retain_status_information   1  
retain_nonstatus_information1  
is_volatile 0  
check_period24x7   
max_check_attempts  3  
normal_check_interval   10 
retry_check_interval2  
contact_groups  admins 
notification_optionsw,u,c,r
notification_interval   60 
notification_period 24x7   
 register0 
}

define service{
use generic-service
namepassive-service
active_checks_enabled   0
passive_checks_enabled  1
register0
is_volatile 0
max_check_attempts  1
check_freshness 0
check_command   check_dummy!0
}

define service{
use passive-service
service_description TestMessage10
host_name   NMS
register1
flap_detection_enabled  0
contact_groups  admins
check_period24x7
notification_interval   240
notification_period 24x7
notification_optionsw,u,c,r
}

Thank you for the help


 --
 The Next 800 Companies to Lead America's Growth: New Video Whitepaper
 David G. Thomson, author of the best-selling book Blueprint to a 
 Billion shares his insights and actions to help propel your 
 business during the next growth cycle. Listen Now!
 http://p.sf.net/sfu/SAP-dev2dev
 ___
 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


 ---  ---  ---  
Brandino Andreas
ampra...@gmail.com
 ---  ---  ---  


--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
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] Nagios training?

2010-11-05 Thread Chris Hudson
Thanks Steve, I am asking my boss to pick that one up.

 --Chris



On Fri, Oct 29, 2010 at 9:49 AM, steve f a31mod...@hotmail.com wrote:

 if you have not yet picked it up, I would recommend getting Learning Nagios
 3.0 ( assuming you are using 3.0 ) by Wojciech Kocjan. Has clarified alot (
 but not all ) questions I have.

 Steve

 --
 Date: Fri, 29 Oct 2010 09:15:01 -0500
 From: chrishud...@gmail.com
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Nagios training?


 Well yes, that is what I am currently doing (grin).  Just wanted to see if
 anyone knew of anything a bit more structured.  :-)

 Thanks,
 Chris



 On Fri, Oct 29, 2010 at 9:08 AM, Assaf Flatto nag...@flatto.net wrote:

  I was unaware that such a thing exist , most of us just read the
 documentation , buy a book and muck about and learn it as we go along (
 oh, and annoy  the other members of the group for help :-) ).


 Assaf


 On 29/10/10 14:57, Chris Hudson wrote:
  My employer has ok'ed me getting Nagios training, and has told me that
  web-based training is preferred.  Anyone have any suggestions for good
  Nagios training courses?
  Thanks,
  Chris
 

 --
 Never,Ever Cut A Deal With a Dragon


 Next year I will be doing the London to Paris bike ride to
 raise money for the DogTrust (www.dogstrust.co.uk) .
 Please Sponsor me at http://www.justgiving.com/Assaf-Flatto



 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 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



 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev

 ___ 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


 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 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

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] Exit code for NRPE connection refused?

2010-11-05 Thread RT
Using: Nagios Version 3.2.2

Can check_nrpe be convinced (or hacked) to exit UNKNOWN rather than CRITICAL
on `Connection Refused`? Is there a way to accomplish this without having to
modify check_nrpe's source directly?

Currently, NRPE returns 2 for `Connection Refused` as well as `Not defined`.
In my particular use case, neither of these are considered Critical but
rather Unknown.

Thank you for your assistance.
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] Changing behavior of check-host-alive?

2010-11-05 Thread RT
Using: Nagios 3.2.2.

By default, Nagios considers a host down if it is unreachable by ICMP. From
what I understand, if a host is unreachable, then further notifications for
the host are disabled.

We have a hostgroup that is always reachable by ICMP (the hosts are usually
exhausted of memory and hard-lock) and should only be considered down if
SSH isn't available. The desired behavior would be to suppress all other
notifications for the host if SSH is unreachable.

Is this accomplished by altering the 'check_command check-host-alive' within
the host template and creating a new 'check-host-by-ssh' command in the
Command Definitions?

Thank you for your help.
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] Replacing check_ssh with check_by_ssh?

2010-11-05 Thread RT
Currently, check_ssh appears to only check for a banner/listening port.
Would a more proper check be to use check_by_ssh to execute say, `/bin/true`
for example?

# check_by_ssh -H {host} -C /bin/true -l {nagiosuser}

Has anyone on the list done this and had good results?

Thank you,
-RT
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] Host dependencies on large deployment?

2010-11-05 Thread RT
Using: Nagios 3.2.2.

I have a number of hosts (actually hundreds), each running a few services as
well as SSH.

For Host A, I'd like for all other notifications on Host A to be disabled
when SSH on Host A is critical. I would like to have the same behavior apply
for Hosts B-Z, each dependent on their own locally-running SSH.

In order to do this, does one have to generate a 'servicedependency'
definition for each service on every single host?

While I appreciate the effort put into the first image here (
http://nagios.sourceforge.net/docs/3_0/dependencies.html), I was a bit
confused by it.

For example, for each host:

define servicedependency{
host_name Host A
 service_description Load Average
dependent_service_description SSH Service
 other directives
}
define servicedependency{
host_name Host A
 service_description Disk Usage
dependent_service_description SSH Service
 other directives
}

Is this the correct syntax?

define servicedependency{
host_name Host A
service_description Load Average
 dependent_service_description SSH Service
other directives
 }

Is there any way to do something like the following, as a shortcut to the
above?

define servicedependency{
 hostgroup_name ^rack-[A-Z][0-9]$
service_description Load Average
 dependent_service_description SSH Service
other directives
 }

I'd like to avoid having an exceptionally complex Nagios configuration and
use templating as much as possible.

Thanks for any suggestions anyone might have to offer.
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] Changing behavior of check-host-alive?

2010-11-05 Thread Rutger Blom
That sounds like the correct way of doing it.

/Rutger

On Fri, Nov 5, 2010 at 8:51 PM, RT r...@ragweed.net wrote:

 Using: Nagios 3.2.2.

 By default, Nagios considers a host down if it is unreachable by ICMP. From
 what I understand, if a host is unreachable, then further notifications for
 the host are disabled.

 We have a hostgroup that is always reachable by ICMP (the hosts are usually
 exhausted of memory and hard-lock) and should only be considered down if
 SSH isn't available. The desired behavior would be to suppress all other
 notifications for the host if SSH is unreachable.

 Is this accomplished by altering the 'check_command check-host-alive'
 within the host template and creating a new 'check-host-by-ssh' command in
 the Command Definitions?

  Thank you for your help.


 --
 The Next 800 Companies to Lead America's Growth: New Video Whitepaper
 David G. Thomson, author of the best-selling book Blueprint to a
 Billion shares his insights and actions to help propel your
 business during the next growth cycle. Listen Now!
 http://p.sf.net/sfu/SAP-dev2dev
 ___
 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




-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] Change Procs Critical threshold

2010-11-05 Thread Jonathan Wiggins
I have a couple of systems that are reporting critical notifications, that when 
you drill into them, the Service : Total Processes has been triggered. Its 
showing critical process level of 231, 453, for example. Which on a production 
server is nothing really --- my question is, how do I change that threshold 
level to something like 750, or 1500?

Perhaps I'm not searching online for the correct term or using the right 
parlance. Any ideas where this can be modified?

Thanks team.

Jonathan
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
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] Change Procs Critical threshold

2010-11-05 Thread C. Bensend

 I have a couple of systems that are reporting critical notifications, that
 when you drill into them, the Service : Total Processes has been
 triggered. Its showing critical process level of 231, 453, for example.
 Which on a production server is nothing really --- my question is, how do
 I change that threshold level to something like 750, or 1500?

 Perhaps I'm not searching online for the correct term or using the right
 parlance. Any ideas where this can be modified?

If you have a look at the options for the plugin (hint:  ./plugin
--help), they will reveal their secrets to you.  :)

Then, using that knowledge, you can adjust your service check to
use the appropriate values for your environment.

Benny


-- 
No matter how many shorts we have in the system, my guards will
be instructed to treat every surveillance camera malfunction as a
full-scale emergency.
   -- Peter Anspach's Evil Overlord List, #67



--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
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