Re: [Nagios-users] monitoring website

2009-03-09 Thread Justin Pasher
Justin Pasher wrote: > Harry John wrote: > >> Hi friends, >> >> am just wondering how to monitor a website as >> http://172.168.1.1:82/xap/murl2?language=en >> >> define service{ >> use generic-service ; Inherit default values from a templat

Re: [Nagios-users] Nagios, memory tests, and Linux hosts...

2009-03-09 Thread Justin Pasher
y use Nagios for monitoring services, not trending or graphs. For that I use Cacti and SNMP (http://www.cacti.net/). -- Justin Pasher -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC

Re: [Nagios-users] monitoring website

2009-03-09 Thread Justin Pasher
nherit default values from a template host_name remotehost service_description HTTP check_command check_http_path!172.168.1.1:82 <http://172.168.1.1:82/xap/murl2?language=en>!/xap/murl2?language=en <http://172.168.1.1:82/xap/murl2?language=en>!25!50 } -- Justin Pash

Re: [Nagios-users] Nagios, memory tests, and Linux hosts...

2009-03-09 Thread Justin Pasher
erved when its not? Are there any > scripts on Nagios Exchange for memory testing that are better than others? I use check_memory.pl. It properly takes buffers and cache into consideration (using the "free" command). http://www.nagiosexchange.org/cgi-

Re: [Nagios-users] Alternate check interval when state become CRITICAL

2009-02-10 Thread Justin Pasher
check interval to yearly check in # order to avoid flooding Nagios logs. if ($state eq 'OK' && $statetype eq 'HARD') { open(CMD, ">>$commandfile"); printf(CMD "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;%s;%s;5\n", time, $hostname, $servicedesc

Re: [Nagios-users] Alternate check interval when state become CRITICAL

2009-02-10 Thread Justin Pasher
ust causes another check a little sooner than usual. However, in the first instance, because the next scheduled check is still five minutes out the first time around, it defeats the whole purpose of having the custom event handler Do you know any way around this? I've attac

Re: [Nagios-users] Alternate check interval when state become CRITICAL

2009-02-10 Thread Justin Pasher
an look at this for inspiration, although you would likely need > some more details to understand what I'm trying to do there... > http://solaris.beaubien.net/~dermoth/media/nagios/handle_stall_counter > It looks like this should allow me to do exactly what I ne

[Nagios-users] Alternate check interval when state become CRITICAL

2009-02-09 Thread Justin Pasher
this type of scenario not possible? Thanks. Justin Pasher == define service { namenmg-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_servic

[Nagios-users] Trouble getting hostgroup exclusions to work

2009-01-14 Thread Justin Pasher
hostgroup_name linux-load-big2 service_description LOAD-BIG2 check_command check_nrpe_7arg!check_load!15.0!14.0!14.0!17.0!16.0!16.0 } Justin Pasher --