Re: [Nagios-users] low-cost snmp-enabled temperature sensor?

2010-12-10 Thread Duncan Berriman
I'd recommend 

http://www.omega.co.uk/ppt/pptsc.asp?ref=ithx-w_ithx-m

Fabulous product, plug it in and it works, used them for years.

Regards
Duncan

-Original Message-
From: Furnish, Trever G [mailto:tgfurn...@herffjones.com] 
Sent: 09 December 2010 18:17
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] low-cost snmp-enabled temperature sensor?

Can anyone recommend a low-cost external temperature sensor that doesn't
require the buyer to break out a soldering iron?

Preferably it would be SNMP-enabled so I can poll it from anything.
Power-over-ethernet would be great too.

The least expensive snmp-enabled sensor I've found so far is this one at
195 USD:
http://avtech.com/Products/Temperature_Monitors/TemPageR_3E.htm

I've also noted probes like this one at 15 USD:
http://www.ibuttonlink.com/t-sense.aspx

...but the systems in the site where I'd hook this up are all Windows, so
I'm not sure how I'd get from there into Nagios.

--
Trever Furnish, tgfurn...@herffjones.com Herff Jones, Inc. Solutions
Architect
Phone: 317.612.3519
Any sufficiently advanced technology is indistinguishable from Unix.



--
___
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

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


--
___
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] low-cost snmp-enabled temperature sensor?

2010-12-10 Thread Rutger Blom
You could use the temp-sensors in your server. Not as reliable as an
external temp-sensor, but extremely cheap ;-)

Rutger

2010/12/10 Duncan Berriman 

> I'd recommend
>
> http://www.omega.co.uk/ppt/pptsc.asp?ref=ithx-w_ithx-m
>
> Fabulous product, plug it in and it works, used them for years.
>
> Regards
> Duncan
>
> -Original Message-
> From: Furnish, Trever G [mailto:tgfurn...@herffjones.com]
> Sent: 09 December 2010 18:17
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] low-cost snmp-enabled temperature sensor?
>
> Can anyone recommend a low-cost external temperature sensor that doesn't
> require the buyer to break out a soldering iron?
>
> Preferably it would be SNMP-enabled so I can poll it from anything.
> Power-over-ethernet would be great too.
>
> The least expensive snmp-enabled sensor I've found so far is this one at
> 195 USD:
> http://avtech.com/Products/Temperature_Monitors/TemPageR_3E.htm
>
> I've also noted probes like this one at 15 USD:
> http://www.ibuttonlink.com/t-sense.aspx
>
> ...but the systems in the site where I'd hook this up are all Windows, so
> I'm not sure how I'd get from there into Nagios.
>
> --
> Trever Furnish, tgfurn...@herffjones.com Herff Jones, Inc. Solutions
> Architect
> Phone: 317.612.3519
> Any sufficiently advanced technology is indistinguishable from Unix.
>
>
>
> 
> --
> ___
> 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
>
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
>
>
>
> --
> ___
> 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
--
___
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] Alert host down with passive check

2010-12-10 Thread Rikard Dahlberg

Heya guys!

Is there any possible way to configure nagios to report host as DOWN, if nagios 
havn't got any passive checkresult within like 5 minutes? 
Can I change that somehow? For now, when a host dies in my current 
configuration, it actually doesn't report is as DOWN, since im using passive 
checks. But i want to set nagios to if i havn't got a new passive.-check result 
in 5 minutes, i want nagios to automaticly set it as DOWN...

Any idea please? :)

Regards
Rikard
  --
___
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] Alert host down with passive check

2010-12-10 Thread Greg Pangrazio
You are looking for "Freshness"

check out http://nagios.sourceforge.net/docs/3_0/freshness.html

I use this with all of my passive checks.

Greg Pangrazio





On Fri, Dec 10, 2010 at 7:56 AM, Rikard Dahlberg  wrote:
> Heya guys!
>
> Is there any possible way to configure nagios to report host as DOWN, if
> nagios havn't got any passive checkresult within like 5 minutes?
> Can I change that somehow? For now, when a host dies in my current
> configuration, it actually doesn't report is as DOWN, since im using passive
> checks. But i want to set nagios to if i havn't got a new passive.-check
> result in 5 minutes, i want nagios to automaticly set it as DOWN...
>
> Any idea please? :)
>
> Regards
> Rikard
>
> --
>
> ___
> 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 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] Alert host down with passive check

2010-12-10 Thread Max Schubert
Read up on freshness checking:

http://nagios.sourceforge.net/docs/3_0/freshness.html

max

On 12/10/10, Rikard Dahlberg  wrote:
>
> Heya guys!
>
> Is there any possible way to configure nagios to report host as DOWN, if
> nagios havn't got any passive checkresult within like 5 minutes?
> Can I change that somehow? For now, when a host dies in my current
> configuration, it actually doesn't report is as DOWN, since im using passive
> checks. But i want to set nagios to if i havn't got a new passive.-check
> result in 5 minutes, i want nagios to automaticly set it as DOWN...
>
> Any idea please? :)
>
> Regards
> Rikard
>   

-- 
Sent from my mobile device

--
___
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] low-cost snmp-enabled temperature sensor?

2010-12-10 Thread Christopher Odenbach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

we use the appliance from Netways:

http://www.netways.de/de/units/monitoring_hardware/ueberwachung/messpc/

You can attach up to 4 temperature or humidity sensors and read the
values with snmp, http... Nagios plugin is available from there as well.

Costs about 270 EUR for 4 temperature sensors and the box.

Christopher

> 
> -Original Message-
> From: Furnish, Trever G [mailto:tgfurn...@herffjones.com
> ]
> Sent: 09 December 2010 18:17
> To: nagios-users@lists.sourceforge.net
> 
> Subject: [Nagios-users] low-cost snmp-enabled temperature sensor?
> 
> Can anyone recommend a low-cost external temperature sensor that doesn't
> require the buyer to break out a soldering iron?
> 
> Preferably it would be SNMP-enabled so I can poll it from anything.
> Power-over-ethernet would be great too.
> 
> The least expensive snmp-enabled sensor I've found so far is this one at
> 195 USD:
> http://avtech.com/Products/Temperature_Monitors/TemPageR_3E.htm
> 
> I've also noted probes like this one at 15 USD:
> http://www.ibuttonlink.com/t-sense.aspx
> 
> ...but the systems in the site where I'd hook this up are all
> Windows, so
> I'm not sure how I'd get from there into Nagios.
> 
> --
> Trever Furnish, tgfurn...@herffjones.com
>  Herff Jones, Inc. Solutions
> Architect
> Phone: 317.612.3519
> Any sufficiently advanced technology is indistinguishable from Unix.
> 
> 
> 
> 
> --
> ___
> 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
> 
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
> 
> 
> 
> --
> ___
> 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 
> 
> 
> 
> --
> 
> 
> 
> ___
> 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


- -- 
==
Dipl.-Ing. Christopher Odenbach
Zentrum fuer Informations- und Medientechnologien
Universitaet Paderborn
Raum N5.122
odenb...@uni-paderborn.de
Tel.: +49 5251 60 5315
==
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFNAj+2hxiCJKeLY0IRAohfAKCCKSQURzygbQWtCQlu/BjBIHygFQCcCiAp
4L6yjQHuHVl/B/h/QVVV9oI=
=xCnL
-END PGP SIGNATURE-

--
___
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] Alert host down with passive check

2010-12-10 Thread Greg Pangrazio
Please keep the list on the replies so others can learn from this as well.

define service{
use generic-service
host_name  HOST
service_description Logged In users
active_checks_enabled   0;
passive_checks_enabled  1;
check_freshness 1;
freshness_threshold 600;
check_command   check_stale!2!'This Service is stale'
}

Greg Pangrazio





On Fri, Dec 10, 2010 at 9:18 AM, Rikard Dahlberg  wrote:
> Thanks.
>
> I've now edited nagios.cfg to use freshness and looked up the manual.. :)
> Would you mind giving me an example of the service and command? Mine still
> isn't working..
>
> Rikard
>
>> From: pangr...@gmail.com
>> Date: Fri, 10 Dec 2010 08:05:45 -0600
>> To: nagios-users@lists.sourceforge.net
>> Subject: Re: [Nagios-users] Alert host down with passive check
>>
>> You are looking for "Freshness"
>>
>> check out http://nagios.sourceforge.net/docs/3_0/freshness.html
>>
>> I use this with all of my passive checks.
>>
>> Greg Pangrazio
>>
>>
>>
>>
>>
>> On Fri, Dec 10, 2010 at 7:56 AM, Rikard Dahlberg 
>> wrote:
>> > Heya guys!
>> >
>> > Is there any possible way to configure nagios to report host as DOWN, if
>> > nagios havn't got any passive checkresult within like 5 minutes?
>> > Can I change that somehow? For now, when a host dies in my current
>> > configuration, it actually doesn't report is as DOWN, since im using
>> > passive
>> > checks. But i want to set nagios to if i havn't got a new passive.-check
>> > result in 5 minutes, i want nagios to automaticly set it as DOWN...
>> >
>> > Any idea please? :)
>> >
>> > Regards
>> > Rikard
>> >
>> >
>> > --
>> >
>> > ___
>> > 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 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 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] Alerting based on past-to-current trends?

2010-12-10 Thread Jim Avery
On 6 December 2010 19:02, Ian Ehrenwald  wrote:
> Hello
> I was wondering if there was a straight-forward way to alert based on an 
> average of past data plus a current perfdata entry.  I understand I'm not 
> explaining it very well that way, so here is the real-world example I am 
> working with -
>
> I am polling a set of machines via SNMP for CPU load every 1 minute (looking 
> at hrProcessorLoad).  If the return value is at or above 95%, send out a 
> WARNING.  If the return value is 98% or above, send out a CRITICAL.  The 
> problem here is that it's OK for a process to take up 100% CPU for multiple 
> seconds, and sometimes that high CPU usage coincides with the SNMP %CPU 
> query, so I get a lot of false alerts.
>
> Is there a way to use past perfdata in conjunction with the current returned 
> data to generate an average and send a WARNING or CRITICAL based on that new 
> number?  I only care to get alerted from Nagios if, for example, the %CPU has 
> been at 100% for 5 minutes.  Or am I just way over-thinking this and should 
> be monitoring 1m, 5m, 15m UNIX load averages (which doesn't seem that 
> accurate anyway)?  What are other people doing to monitor CPU usage and alert 
> on abnormal long periods of utilization?


Nagios will alert as soon as the plugin returns a non-OK status.  You
can of course configure max_check_attempts and/or
first_notification_delay so that Nagios won't send a notification
until after a given time, but this won't stop it from appearing on on
the web page for problem services straight away.

It would be great if you could get Nagios to display only hard status
alerts - I don't think you can though, not with ordinary Nagios Core
anyway.  Some of the third-party Nagios front ends will do it, for
example you can configure the icons in NagVis only to display hard
alerts.

Cheers,

Jim

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
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] Monitor disk via NSCA

2010-12-10 Thread Jim Avery
On 7 December 2010 09:44, Rikard Dahlberg  wrote:
> Hey all!
>
> I want to thank you all for the lovely help i got in my previous errand. It
> was NSCA that was missconfigured on one line, or more imporatly, one
> complete line was gone :) Now the NSCA passive checks work flawlessly,
> almost anyway.
> I can monitor CPU, memory and services, the only thing im getting problems
> with is hard-drive monitoring.
>
> These are the commands I've  chosen, but the disk command doesn't write
> anything out in nagios. Down below are a sample from nagios .cfg file also.
> From what i've read is that nagios treats the passive checks just as a
> normal queue as from a active check, so i believe i need a service for every
> host, as I would for a active check?
>
> Any idea what ive done wrong on the harddrive config?
>
> From NSClient:
> [NSCA Commands]
> CPU Load=alias_cpu
> host_check=check_ok
> Memory Usage=alias_mem
> Uptime=alias_up
> Drive space=alias_disk
> Service check=alias_service
>
> [External Alias]
> alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s
> alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s
> alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED
> alias_service=checkServiceState CheckAll
> alias_process=checkProcState $ARG1$=started
> alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical
> alias_up=checkUpTime MinWarn=1d MinWarn=1h
> alias_file_age=checkFile2 filter=out "file=$ARG1$" filter-written=>1d
> MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%"
> alias_file_size=checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$
> MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%"
> alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt "file=$ARG1$"
> filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%"
> alias_event_log_old=CheckEventLog file=application file=system filter=new
> filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success
> filter-severity==informational truncate=800 unique descriptions
> "syntax=%severity%: %source%: %message% (%count%)"
> alias_event_log_new=CheckEventLog file=application file=system MaxWarn=1
> MaxCrit=1 "filter=generated gt -2d AND severity NOT IN ('success',
> 'informational')" truncate=800 unique descriptions "syntax=%severity%:
> %source%: %message% (%count%)"
> alias_event_log=alias_event_log_new
>
>
> From the host.cfg file from nagios
> define service{
>     use generic-service
>     host_name   ILSERVER
>     service_description C:\ Drive Space
>     check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90
>     }
>


The service_description in the Nagios service definition should match
the entry in your [nsca commands] section.  I would change the 's' in
'Drive space' to upper case to match your nagios service definition
and scrub the "C:\" so both now read 'Drive Space'.  The alias_disk
check tests all fixed disks so it's not strictly correct to have the
C:\ in the description.

The other problem is in your service definition you are using a
different kind of disk space check for the check_command.  It might
work, but would give weird results if it does both active and passive
checks.  You should either set it to query the same kind of check as
the passive one like this ..

 check_command   check_nrpe!-c alias_disk

or if the firewall prevents your Nagios server from doing active
checks, you should instead configure freshness checking to alert if
you haven't received a check recently.

Typically, for a passive service check like this you will want something like..

define service{
  use generic-service
  host_name   ILSERVER
  service_description   Drive Space
  check_freshness   1
  freshness_threshold   5400
  active_checks_enabled 0
  max_check_attempts1
  check_command  check_dummy!3 "UNKNOWN: No passive check received
lately from the monitored host!"
}


Forgive me if I've missed anything. Although I do have a few passive
checks configured here, typically I only use them for servers which
are a right pain to log on to so I haven't double-checked all this is
100% correct!

hth,

Jim

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
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] Multiple parents in map

2010-12-10 Thread Jim Avery
On 7 December 2010 15:10, Hugo van der Kooij  wrote:
> HI,
>
> I have digging into the archives but could not find a solution. But in my
> view Nagios 3.2.3 is not showing nodes correctly in the map view.
>
> I have 2 fire wall nodes (FW1 and FW2)  for the customer that I can check on
> a special TCP port. They are 2 cluster members on different physical
> locations.
>
> Then I have 2 SMTP servers (SMTP1 and SMTP2) behind them. They are also
> distributed over both locations.
>
> SMTP1 has the parents FW1 and FW2 and SMTP2 has the parents FW2 and FW1.
> (The listorder is important.)
>
> On the map both SMTP servers are behind FW2 and there are 2 blank spots
> behind FW1 in the Circular (Marked Up) map.
>
> Will this be fixed in a future release?


I can't speak for the developers, but I doubt this will be fixed.
It's more likely an alternative mapping method will replace the
current Circular (Marked Up) map which doesn't scale well to large
numbers of hosts.

There are alternative maps available now as add-ons for Nagios, for
example NagVis includes an automap feature which might fit the bill.
http://www.nagvis.org/

hth,

Jim

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
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] low-cost snmp-enabled temperature sensor?

2010-12-10 Thread Douglas K . Rand
I really like the 1-wire sensors. They are really small, really
inexpensive, and really easy to connect together.

What makes them useful for your question is this $100 unit that
provides an Ethernet bridge.

  http://www.edsproducts.com/OW-SERVER--1-Wire-to-Ethernet-Server_p_152.html

You get SNMP access to the devices, or if you'd rather an HTTP hosted
XML document that will give you readings from all the sensors on the
network.

Don't be mislead by the 3 1-wire ports, each of those can support a
seperate 1-wire network with many sensors. 

I'm getting alot of my 1-wire sensors from iButtonLink:
http://www.ibuttonlink.com/

We have alot of the T-Sense sensors for $15 each. 

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
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] Alerting based on past-to-current trends?

2010-12-10 Thread Jim Avery
On 10 December 2010 18:43, Rick Carter  wrote:
> Hi Jim,
>
> I'm wondering if load average would get you where you want to be, as in a lot 
> of cases, a CPU busy might not be a big deal unless the run queue is growing.
>
> My nagios-fu isn't good enough to tell you how to get that, but when I saw 
> your message, I thought right away of the linux/unix:
>
> $ uptime
> 13:41  up 2 days, 18:11, 2 users, load averages: 0.31 0.25 0.24
>
> Where the 2nd load average is the 5-minute one.
>
> - Rick

Good point Rick,

there is a check_load plugin, and you could indeed set appropriate
thresholds to make it concentrate on the 15-minute value rather than
the 5-minute or 1-minute values.

As to what 'load' actually means I'm not 100% sure.  I've read
http://www.teamquest.com/resources/gunther/display/5/index.htm a few
times, and think it helps a bit!  I even bought Gunther's book
"Guerilla Capacity Planning" but confess I haven't read anywhere near
all of it.

I seem to recall reading somewhere that as a general rule of thumb if
load is > 2 * the number of cpus, it's probably affecting performance.
 Certainly on my own Nagios server with 4 CPUs I find it's struggling
whenever load is consistently > 10.

Cheers,

Jim

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
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] check_logs.pl doesn't return output on RHEL 6

2010-12-10 Thread Bret Goodfellow
December 10, 2010.  Just installed Red Hat EL 6 with Nagios.  The plugin 
check_logs.pl returns no output upon execution.   Under Red Hat EL 5, 
everything works great.  Sorry about the lack of input here, but the simple 
answer is that no output is returned.  All other plugins so far work fine.

Regards,

Bret Goodfellow
--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev ___
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] Alert host down with passive check

2010-12-10 Thread Rikard Dahlberg

Thanks for the fast answer.
Freshenss seems to do the tric, to a point anyway.
I can see if the host services dies now, just like an active check as its down. 
However it doesn't report correctly on the host status.

Since freshness last resport option is to ping the host IP adress, and if the 
server goes down and are behind a firewall, the ping will just go to that 
gateway. Is there any way to "fake" nagios to thinking that the host is down if 
some service goes down?
Rikard

> From: pangr...@gmail.com
> Date: Fri, 10 Dec 2010 09:28:13 -0600
> To: rik.dahlb...@gmail.com; nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Alert host down with passive check
> 
> Please keep the list on the replies so others can learn from this as well.
> 
> define service{
> use generic-service
> host_name  HOST
> service_description Logged In users
> active_checks_enabled   0;
> passive_checks_enabled  1;
> check_freshness 1;
> freshness_threshold 600;
> check_command   check_stale!2!'This Service is stale'
> }
> 
> Greg Pangrazio
> 
> 
> 
> 
> 
> On Fri, Dec 10, 2010 at 9:18 AM, Rikard Dahlberg  
> wrote:
> > Thanks.
> >
> > I've now edited nagios.cfg to use freshness and looked up the manual.. :)
> > Would you mind giving me an example of the service and command? Mine still
> > isn't working..
> >
> > Rikard
> >
> >> From: pangr...@gmail.com
> >> Date: Fri, 10 Dec 2010 08:05:45 -0600
> >> To: nagios-users@lists.sourceforge.net
> >> Subject: Re: [Nagios-users] Alert host down with passive check
> >>
> >> You are looking for "Freshness"
> >>
> >> check out http://nagios.sourceforge.net/docs/3_0/freshness.html
> >>
> >> I use this with all of my passive checks.
> >>
> >> Greg Pangrazio
> >>
> >>
> >>
> >>
> >>
> >> On Fri, Dec 10, 2010 at 7:56 AM, Rikard Dahlberg 
> >> wrote:
> >> > Heya guys!
> >> >
> >> > Is there any possible way to configure nagios to report host as DOWN, if
> >> > nagios havn't got any passive checkresult within like 5 minutes?
> >> > Can I change that somehow? For now, when a host dies in my current
> >> > configuration, it actually doesn't report is as DOWN, since im using
> >> > passive
> >> > checks. But i want to set nagios to if i havn't got a new passive.-check
> >> > result in 5 minutes, i want nagios to automaticly set it as DOWN...
> >> >
> >> > Any idea please? :)
> >> >
> >> > Regards
> >> > Rikard
> >> >
> >> >
> >> > --
> >> >
> >> > ___
> >> > 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 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 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
  --
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev ___
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