[Nagios-users] escalations question

2012-03-14 Thread Divan Santana
Hi All,

I'm wondering if one can do this with Nagios. One can do similar things with 
check_mk unfortunately check_mk doesn't support anyway to define escalations so 
this needs to be done in nagios core.

Challenge 1
=
With this set in nagios.cfg
use_regexp_matching=1
use_true_regexp_matching=0

define serviceescalation{
hostgroup_name  hostgroup
service_description !fs_/app.*,.*
first_notification  3
last_notification   0
notification_interval   15
contact_groups  tsdmidrangelinux-admins-escalate
}
results in this error:
Error: Could not find a service matching host name 'example1.blah.com' and 
description '!fs_/app.*' (config file '/etc/nagios/objects/escalations.cfg', 
starting on line 41)

Challenge 2
=
With this set in nagios.cfg
use_regexp_matching=1
use_true_regexp_matching=0

define serviceescalation{
hostgroup_name  hostgroup
service_description ExampleService
first_notification  3
last_notification   0
notification_interval   15
contact_groups  tsdmidrangelinux-admins-escalate
}
results in this error:
Error: Could not find a service matching host name 'example1.blah.com' and 
description 'ExampleService' (config file 
'/etc/nagios/objects/escalations.cfg', 
starting on line 41)

This ExampleService would exist on another example2.blah.com . It would be 
nice if one could achieve this in Nagios.
-- 
Divan Santana

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
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] Only hard status on tactical display?

2009-05-06 Thread Divan Santana
Hi again...

Sorry to bother all but surely someone has wanted to get the tactical display 
to only show hard status' and not soft errors.

Has anyone managed to get this to work?

Thanks very much
-- 
Divan Santana

On Sunday 03 May 2009 21:01:53 Divan Santana wrote:
> Hi All,
>
> Has anyone managed to figure out how to only show "hard" status' on the
> tactical display screen?
>
> I hope so... otherwise I'd like to request this as a feature/wish list...


To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
firstrandbankdisclai...@fnb.co.za and we will send you a copy of the Disclaimer.


signature.asc
Description: This is a digitally signed message part.
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
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] Only hard status on tactical display?

2009-05-03 Thread Divan Santana
Hi All,

Has anyone managed to figure out how to only show "hard" status' on the 
tactical display screen?

I hope so... otherwise I'd like to request this as a feature/wish list...
-- 
Divan Santana


On Tuesday 16 December 2008 17:24:10 Matthew Pounsett wrote:
> My tactical display gets posted on a large monitor in the office which  
> is visible to all staff.  Since the tactical display shows every soft  
> warning or critical state, I often get questions about "what's  
> broken?" when we've merely lost a single UDP packet while testing a  
> DNS server, or something similarly innocuous.  I'm considering  
> modifying tac.cgi so that it only displays warning or critical HARD  
> statuses, and not SOFT. I did a few searches on nagios exchange and  
> didn't find anything already there... but thought I'd ask to avoid re-
> inventing the wheel: has anyone done this before that wants to share  
> code?
>
> If I don't hear back from anyone I'll go ahead and try to do this  
> myself.  If successful I'll share the diff back to the list.
>
> Cheers,
>   Matt



signature.asc
Description: This is a digitally signed message part.
--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
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] Quick question regarding contact groups and web display

2008-01-14 Thread Divan Santana
On Monday 14 January 2008 10:07:08 Divan Santana wrote:
> I just wanted to ask a quick question.
>
> I would like to be able to set a nagios user to not be in a contact group
> of a host(ie. not be notified from problems etc) but still to be able to
> view the host on the nagios display map.
>
> If this possible?
>
> If I remove him from the contact group the host disappears off the map :(
>
> Any idea?

OK, I was being lazy and found out how it works:
If you are authorized for all hosts you can view all hosts and all services. 
If you are authorized for all services you can view all services. 
If you are an authenticated contact you can view all hosts and services for 
which you are a contact.

Global Host Information Access
  Format:  authorized_for_all_hosts=,,,...
  Example:  authorized_for_all_hosts=nagiosadmin,theboss
   This is a comma-delimited list of names of authenticated users who can view 
status and configuration information for all hosts. Users in this list are 
also automatically authorized to view information for all services. Users in 
this list are not automatically authorized to issue commands for all hosts or 
services. If you want users able to issue commands for all hosts and services 
as well, you must add them to the authorized_for_all_host_commands variable. 
More information on how to setup authentication and configure authorization 
for the CGIs can be found here.

OK, hope this helps someone.


-- 
Divan Santana

Gtalk/MSN:  [EMAIL PROTECTED]
Skype:  DivanSantana


Love God, Love People, Love Life!

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Quick question regarding contact groups and web display

2008-01-14 Thread Divan Santana
Hello Everyone,

I just wanted to ask a quick question.

I would like to be able to set a nagios user to not be in a contact group of a 
host(ie. not be notified from problems etc) but still to be able to view the 
host on the nagios display map.

If this possible?

If I remove him from the contact group the host disappears off the map :(

Any idea?
-- 
Divan Santana

Gtalk/MSN:  [EMAIL PROTECTED]
Skype:  DivanSantana


Love God, Love People, Love Life!

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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