Re: [Nagios-users] Clarification need on configuring nagios to monitor multiple hosts

2011-07-15 Thread Jim Avery
On 14 July 2011 12:14, Zaman  wrote:
> Is it possible any way to maintain a single entry for all the servers like we
> did for the service object .

You could write a script to create your host definitions based on the
contents of your CMDB (if you have one), or you could configure an
auto-discovery tool to generate the information needed to populate
your host definitions.  I don't think there is anything like that in
Nagios Core itself though, no.

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
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] check_snmp output unit conversion

2011-07-15 Thread Mark Nipper
On 14 Jul 2011, Mark Nipper wrote:
> $ check_snmp -H 172.16.74.130 -P 1 -C public -o 
> .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 20 -c 205000
> SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 

To answer my own stupid question, the obvious form should
look something like:
---
$ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 
-w 205000: -c 203000:
SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 

Having said that, there's definitely an issue with
thresholds on at least some of the 1.4.15 packages available out
there as RPM's (like the current EPEL one), so make sure you're
not affected or you might be missing alerts.

And I'm still curious why the timetick to minute
conversion gets dropped in that output.  Anyone have a suggestion
for that?

-- 
Mark Nipper
ni...@bitgnome.net (XMPP)
+1 979 575 3193
-
I love deadlines. I like the whooshing sound they make as
they fly by.
 -- Douglas Adams

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
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] different escalation intervals possible?

2011-07-15 Thread Michael Barrett
Hi - I am trying to get alerts for my services to work like this:

- all alerts (warning, critical, unknown, and recovery) go to the 'email-ops' 
contact every 2 hours 
- on some services (the ones deemed critical) in addition I want them to send 
an email to the 'primary-pager' contact every 15 minutes

I thought I had the configuration setup appropriately for this, but now I'm not 
sure it's possible without a better understanding of how escalations work (and 
it may not even be possible then) since I read this about overlapping 
escalations:

"Since it is possible to have overlapping escalation definitions for a 
particular hostgroup or service, and the fact that a host can be a member of 
multiple hostgroups, Nagios has to make a decision on what to do as far as the 
notification interval is concerned when escalation definitions overlap. In any 
case where there are multiple valid escalation definitions for a particular 
notification, Nagios will choose the smallest notification interval."

Anyway, is there anyway to make that work?  The way its working now is that it 
seems to email the email-ops list every 15 minutes on critical services, and 
for email we'd like to get less alerts.

Thanks in advance!

--
Michael Barrett
lok...@gmail.com





--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
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