Re: [Nagios-users] serious performance issue

2009-04-07 Thread fancyrabbit
i met almost the same issue.
after tweaking enable_embedded_perl=0, the load average was brought up but
latencies became lower.

On Wed, Apr 8, 2009 at 11:54 AM, shadih rahman  wrote:

> I am seeing a ton of orphaned error message for both services and hosts.  I
> am running nagios on a quad core 2.2 GHZ machine running 4 GHZ memory.  I
> will paste my configuration file below.  I have the machine sending ndo to a
> local database sitting on a 170 GB Hard drive.  nagios is obcessing on both
> host and services and sending data to a machine with identical
> configuration.  I am doing failover using NSCA.  Please advise on this.
>
>
>
>
>
> nagios.cfg
>
>
>
> log_file=/var/log/nagios/nagios.log
> cfg_file=/etc/nagios/commands.cfg
> cfg_file=/etc/nagios/contacts.cfg
> cfg_file=/etc/nagios/timeperiods.cfg
> cfg_file=/etc/nagios/templates.cfg
> cfg_dir=/etc/nagios/hosts
> cfg_dir=/etc/nagios/services
> object_cache_file=/var/log/nagios/objects.cache
> precached_object_file=/var/log/nagios/objects.precache
> resource_file=/etc/nagios/resource.cfg
> status_file=/var/log/nagios/status.dat
> status_update_interval=60
> nagios_user=nagios
> nagios_group=nagios
> check_external_commands=1
> command_check_interval=-1
> command_file=/var/log/nagios/rw/nagios.cmd
> external_command_buffer_slots=8192
> lock_file=/var/log/nagios/nagios.lock
> temp_file=/var/log/nagios/nagios.tmp
> temp_path=/tmp
> event_broker_options=8
> broker_module=/usr/lib64/nagios/ndomod.o config_file=/etc/nagios/ndomod.cfg
> log_rotation_method=m
> log_archive_path=/var/log/nagios/archives
> use_syslog=1
> log_notifications=1
> log_service_retries=1
> log_host_retries=1
> log_event_handlers=1
> log_initial_states=0
> log_external_commands=1
> log_passive_checks=1
> service_inter_check_delay_method=n
> max_service_check_spread=30
> service_interleave_factor=s
> host_inter_check_delay_method=s
> max_host_check_spread=30
> max_concurrent_checks=0
> check_result_reaper_frequency=2
> max_check_result_reaper_time=10
> check_result_path=/var/log/nagios/spool/checkresults
> max_check_result_file_age=3600
> cached_host_check_horizon=15
> cached_service_check_horizon=15
> enable_predictive_host_dependency_checks=1
> enable_predictive_service_dependency_checks=1
> soft_state_dependencies=1
> auto_reschedule_checks=1
> auto_rescheduling_interval=30
> auto_rescheduling_window=180
> sleep_time=0.25
> service_check_timeout=30
> host_check_timeout=20
>
> event_handler_timeout=30
> notification_timeout=60
> ocsp_timeout=5
> perfdata_timeout=5
> retain_state_information=1
> state_retention_file=var/log/nagios/retention.dat
> retention_update_interval=60
> use_retained_program_state=1
> use_retained_scheduling_info=1
> retained_host_attribute_mask=0
> retained_service_attribute_mask=0
> retained_process_host_attribute_mask=0
> retained_process_service_attribute_mask=0
> retained_contact_host_attribute_mask=0
> retained_contact_service_attribute_mask=0
> interval_length=60
> use_aggressive_host_checking=0
> execute_service_checks=1
> accept_passive_service_checks=1
> execute_host_checks=1
> accept_passive_host_checks=1
> enable_notifications=1
> enable_event_handlers=1
> process_performance_data=0
> obsess_over_services=1
> ocsp_command=send_service_check
> ochp_command=send_host_check
> obsess_over_hosts=1
> translate_passive_host_checks=0
> passive_host_checks_are_soft=0
> check_for_orphaned_services=1
> check_for_orphaned_hosts=1
> check_service_freshness=1
> service_freshness_check_interval=60
> check_host_freshness=0
> host_freshness_check_interval=60
> additional_freshness_latency=15
> enable_flap_detection=1
> low_service_flap_threshold=5.0
> high_service_flap_threshold=20.0
> low_host_flap_threshold=5.0
> high_host_flap_threshold=20.0
> date_format=us
> enable_embedded_perl=1
> use_embedded_perl_implicitly=1
> illegal_object_name_chars=`~!$%^&*|'"<>?,()=
> illegal_macro_output_chars=`~$&|'"<>
> use_regexp_matching=0
> use_true_regexp_matching=0
> admin_email=sr2...@columbia.edu
> daemon_dumps_core=0
> use_large_installation_tweaks=1
> enable_environment_macros=1
> debug_level=-1debug_verbosity=2
> debug_file=/var/log/nagios/nagios.debug
> max_debug_file_size=100
>
>
>
>
> my nagiostats output
>
>
>
>
>
>
>
> [sr2690>nagiostats
>
> Nagios Stats 3.0.6
> Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
> Last Modified: 12-01-2008
> License: GPL
>
> CURRENT STATUS DATA
> --
> Status File:/var/log/nagios/status.dat
> Status File Age:0d 0h 0m 19s
> Status File Version:3.0.6
>
> Program Running Time:   0d 2h 5m 28s
> Nagios PID: 12139
> Used/High/Total Command Buffers:0 / 0 / 8192
>
> Total Services: 2783
> Services Checked:   2783
> Services Scheduled: 2782
> Services Actively Checked:  2783
> Services Passiv

[Nagios-users] serious performance issue

2009-04-07 Thread shadih rahman
I am seeing a ton of orphaned error message for both services and hosts.  I
am running nagios on a quad core 2.2 GHZ machine running 4 GHZ memory.  I
will paste my configuration file below.  I have the machine sending ndo to a
local database sitting on a 170 GB Hard drive.  nagios is obcessing on both
host and services and sending data to a machine with identical
configuration.  I am doing failover using NSCA.  Please advise on this.





nagios.cfg



log_file=/var/log/nagios/nagios.log
cfg_file=/etc/nagios/commands.cfg
cfg_file=/etc/nagios/contacts.cfg
cfg_file=/etc/nagios/timeperiods.cfg
cfg_file=/etc/nagios/templates.cfg
cfg_dir=/etc/nagios/hosts
cfg_dir=/etc/nagios/services
object_cache_file=/var/log/nagios/objects.cache
precached_object_file=/var/log/nagios/objects.precache
resource_file=/etc/nagios/resource.cfg
status_file=/var/log/nagios/status.dat
status_update_interval=60
nagios_user=nagios
nagios_group=nagios
check_external_commands=1
command_check_interval=-1
command_file=/var/log/nagios/rw/nagios.cmd
external_command_buffer_slots=8192
lock_file=/var/log/nagios/nagios.lock
temp_file=/var/log/nagios/nagios.tmp
temp_path=/tmp
event_broker_options=8
broker_module=/usr/lib64/nagios/ndomod.o config_file=/etc/nagios/ndomod.cfg
log_rotation_method=m
log_archive_path=/var/log/nagios/archives
use_syslog=1
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_external_commands=1
log_passive_checks=1
service_inter_check_delay_method=n
max_service_check_spread=30
service_interleave_factor=s
host_inter_check_delay_method=s
max_host_check_spread=30
max_concurrent_checks=0
check_result_reaper_frequency=2
max_check_result_reaper_time=10
check_result_path=/var/log/nagios/spool/checkresults
max_check_result_file_age=3600
cached_host_check_horizon=15
cached_service_check_horizon=15
enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
soft_state_dependencies=1
auto_reschedule_checks=1
auto_rescheduling_interval=30
auto_rescheduling_window=180
sleep_time=0.25
service_check_timeout=30
host_check_timeout=20

event_handler_timeout=30
notification_timeout=60
ocsp_timeout=5
perfdata_timeout=5
retain_state_information=1
state_retention_file=var/log/nagios/retention.dat
retention_update_interval=60
use_retained_program_state=1
use_retained_scheduling_info=1
retained_host_attribute_mask=0
retained_service_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
interval_length=60
use_aggressive_host_checking=0
execute_service_checks=1
accept_passive_service_checks=1
execute_host_checks=1
accept_passive_host_checks=1
enable_notifications=1
enable_event_handlers=1
process_performance_data=0
obsess_over_services=1
ocsp_command=send_service_check
ochp_command=send_host_check
obsess_over_hosts=1
translate_passive_host_checks=0
passive_host_checks_are_soft=0
check_for_orphaned_services=1
check_for_orphaned_hosts=1
check_service_freshness=1
service_freshness_check_interval=60
check_host_freshness=0
host_freshness_check_interval=60
additional_freshness_latency=15
enable_flap_detection=1
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
date_format=us
enable_embedded_perl=1
use_embedded_perl_implicitly=1
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
use_regexp_matching=0
use_true_regexp_matching=0
admin_email=sr2...@columbia.edu
daemon_dumps_core=0
use_large_installation_tweaks=1
enable_environment_macros=1
debug_level=-1debug_verbosity=2
debug_file=/var/log/nagios/nagios.debug
max_debug_file_size=100




my nagiostats output







[sr2690>nagiostats

Nagios Stats 3.0.6
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 12-01-2008
License: GPL

CURRENT STATUS DATA
--
Status File:/var/log/nagios/status.dat
Status File Age:0d 0h 0m 19s
Status File Version:3.0.6

Program Running Time:   0d 2h 5m 28s
Nagios PID: 12139
Used/High/Total Command Buffers:0 / 0 / 8192

Total Services: 2783
Services Checked:   2783
Services Scheduled: 2782
Services Actively Checked:  2783
Services Passively Checked: 0
Total Service State Change: 0.000 / 52.830 / 0.263 %
Active Service Latency: 1.304 / 12092.843 / 1469.130 sec
Active Service Execution Time:  0.011 / 15.103 / 0.468 sec
Active Service State Change:0.000 / 52.830 / 0.263 %
Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 129
Passive Service Latency:0.000 / 0.000 / 0.000 sec
Passive Service State Change:   0.000 / 0.000 / 0.000 

Re: [Nagios-users] Nagios Warning Bug/Misconfiguration

2009-04-07 Thread Patrick Morris
On Tue, 07 Apr 2009, Thomas Donnelly wrote:

> Thanks for the quick reply!
> 
> Ran from the command line got:
> 
> # ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95: -c 75:
> SNMP WARNING - 100 | SNMPv2-SMI::mib-2.33.1.2.4.0=100
> 
> # ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95 -c 75:
> SNMP WARNING - *100* | SNMPv2-SMI::mib-2.33.1.2.4.0=100
> 
> So by intentionally triggering it again (remove ":"), it shows the *'s

How about if you add a "-v" to get verbose output?

Also, you may want to check the return code from the manual run on an OK
resultx (for example, by running "echo $?" aafter your check_snmp
command to make sure it matches what you see in the output).

What happens in my case occasionally is that I install a screwed-up MIB
for an unrelated service. It won't show any obvious errors, but it will
cause check_snmp to return a warning result code regardless of whether
the SNMP result falls within my thresholds.

In effect, it's warning me that my MIBs are hosed, based on
the fact that it got a non-OK result from snmpget (which is what
check_snmp calls to do the actual SNMP getting).



> Not really sure what they mean by:
> 
> 1. Prevent check_snmp from loading the MIBs (default behaviour) by using 
> numeric oids AND using the "-m :" option

If you a numeric OID rather than "mib-2.33.1.2.4.0" and pass the "-m :"
then check_snmp (and, by extension, snmpget) don't need to load the MIBs
at all, so you don't get an error if you've got a bad MIB.

> 
> 
> 
> 
> Patrick Morris wrote:
> > What happens when you run it manually? 
> >
> > This, maybe?
> >
> > http://www.nagios.org/faqs/viewfaq.php?faq_id=208
> >
> > On Tue, 07 Apr 2009, Thomas Donnelly wrote:
> >
> >   
> >> Hi all,
> >>
> >> I am having an issue with all of the devices I added showing warning all 
> >> the time. It is a simple snmp check to see if the amps are above 
> >> 160warn/180critical. They always say warning even though they are less 
> >> than the specified 160. One thing to note is once it hits the 160 mark 
> >> it gets the * value * in turn, showing that it is actually in the 
> >> warning range. I have shown the neccesary data I hope below. Any/all 
> >> help is greatly appreciated.
> >>
> >>
> >>
> >> # uname -a
> >> FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue 
> >> Oct  9 22:39:13 EST 2007 
> >> r...@server.example.net:/usr/obj/usr/src/sys/MONITOR  i386
> >>
> >> Nagios
> >> Version 2.0b3
> >>
> >>
> >> # ./check_snmp -V
> >> check_snmp (nagios-plugins 1.4.3) 1.58
> >>
> >>
> >>
> >>  From the webui
> >>
> >> APC-RR-R3-1.hou
> >>  check_rr_amp
> >>  WARNING  04-07-2009 13:00:17   8d 3h 17m 2s  10/10  SNMP WARNING - 90
> >>
> >>  APC-RR-R3-2.hou
> >>  check_rr_amp
> >>  WARNING  04-07-2009 12:57:52  18d 2h 46m 48s  10/10  SNMP WARNING - *160*
> >>
> >> ^note the * 160 * for the one that actually is in the warning range.
> >>
> >>
> >> from checkcommands.cfg
> >>
> >> define command {
> >>command_name check_rr_amp
> >>command_line$USER1$/check_snmp -H $HOSTADDRESS$ -o 
> >> mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR
> >> }
> >>
> >>
> >>  From the hosts config file.
> >>
> >> define service{
> >>host_name   APC-RR-R1-1.hou
> >>service_description check_rr_amp
> >>check_command   check_rr_amp!159!179
> >>max_check_attempts  10
> >>normal_check_interval   5
> >>retry_check_interval3
> >>check_period24x7
> >>notification_interval   30
> >>notification_period 24x7
> >>notification_optionsw,c,r
> >>contact_groups  backup-admins
> >> }
> >>
> >>
> >>
> >> Thanks!
> >> -=Tom
> >>
> >>
> >> --
> >> This SF.net email is sponsored by:
> >> High Quality Requirements in a Collaborative Environment.
> >> Download a free trial of Rational Requirements Composer Now!
> >> http://p.sf.net/sfu/www-ibm-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
> >> 
> 

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version,

Re: [Nagios-users] Some hostgroups NOT displaying (weirdness) SOLVED

2009-04-07 Thread Frater, Greg J
Okay, I apparently have not learned the lesson to check the archives
first.  I found the answer there
(http://article.gmane.org/gmane.network.nagios.user/45395/match=hostgrou
p+not+display), I did not check there until after I posted.  Anyways for
future reference our problem was due to NOT having the web ui users as a
contact of a hosts in the offending hostgroups.
 
Regards, 
 
-greg



From: Frater, Greg J 
Sent: Tuesday, April 07, 2009 1:57 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Some hostgroups NOT displaying (weirdness)



Greetings All, 

I'm pretty lost and could use some help.  We are moving a Nagios 1.x
setup to Nagios 3.0.6.  We have about 550 hosts and some 5000 services.
About 3/4 of the way through our migration of config files we noticed
that some of our hostgroups are not showing up in the web ui,  but I
have yet to figure out why.  There are certain hostgroups (but not all)
that are not displaying and if they are listed in the
'hostgroup_members' directive of another hostgroup it will cause the
second hostgroup not to display either.  I've tried every combination of
member and hostgroup_members that I can think of but so far the only way
I can duplicate the problem is use one of the known problem groups.
Does anyone know what the logic or rules are that are used to determine
if a hostgroup will display in the web ui or not?  Any other suggestions
on what to try to track this down?  Any help is appreciated.

Thanks, 

-greg 

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] Distribuated Help

2009-04-07 Thread Marc Powell

On Apr 7, 2009, at 3:43 PM, Sean McAfee wrote:

> Christopher Burke wrote:
>> I need an answer that I haven’t been able to find in any docs or web
>> searches.
>>
>>
>>
>> I want to set up a distributed monitoring scenario using NSCA, but I
>> need to know if the Client will buffer checks when the connection is
>> lost to the central server, and then send them when the connection is
>> restored.

> I honestly don't know if it will buffer and resend,

No, Nagios nor NSCA will not buffer/resend results.

--
Marc


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] Some hostgroups NOT displaying (weirdness)

2009-04-07 Thread Frater, Greg J
Greetings All, 

I'm pretty lost and could use some help.  We are moving a Nagios 1.x
setup to Nagios 3.0.6.  We have about 550 hosts and some 5000 services.
About 3/4 of the way through our migration of config files we noticed
that some of our hostgroups are not showing up in the web ui,  but I
have yet to figure out why.  There are certain hostgroups (but not all)
that are not displaying and if they are listed in the
'hostgroup_members' directive of another hostgroup it will cause the
second hostgroup not to display either.  I've tried every combination of
member and hostgroup_members that I can think of but so far the only way
I can duplicate the problem is use one of the known problem groups.
Does anyone know what the logic or rules are that are used to determine
if a hostgroup will display in the web ui or not?  Any other suggestions
on what to try to track this down?  Any help is appreciated.

Thanks, 

-greg
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] Distribuated Help

2009-04-07 Thread Sean McAfee
Christopher Burke wrote:
> I need an answer that I haven’t been able to find in any docs or web 
> searches.
> 
>  
> 
> I want to set up a distributed monitoring scenario using NSCA, but I 
> need to know if the Client will buffer checks when the connection is 
> lost to the central server, and then send them when the connection is 
> restored. 
> 
>  
> 
> Basically I want to continue to monitor a sites hosts even if the WAN 
> goes down so I have information during that timeperiod.
> 
>  
> 
> Thank you
> 
>  
> 
> Christopher

I honestly don't know if it will buffer and resend, but at the very 
least, the individual processes will sit there waiting to timeout, which 
dramatically increases your check latency since Nagios has a max process 
limit.  I have a setup where the distributed instances can "self 
promote" if they lose touch with the master, and the timeout issues made 
it completely unreliable because of the increased resolution.

Look into OCP Daemon 
(http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2521.html;d=1) 
- it solved my problem.

-- 
Sean McAfee
System Engineer

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] Nagios Warning Bug/Misconfiguration

2009-04-07 Thread Thomas Donnelly
Thanks for the quick reply!

Ran from the command line got:

# ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95: -c 75:
SNMP WARNING - 100 | SNMPv2-SMI::mib-2.33.1.2.4.0=100

# ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95 -c 75:
SNMP WARNING - *100* | SNMPv2-SMI::mib-2.33.1.2.4.0=100

So by intentionally triggering it again (remove ":"), it shows the *'s



Not really sure what they mean by:

1. Prevent check_snmp from loading the MIBs (default behaviour) by using 
numeric oids AND using the "-m :" option




Patrick Morris wrote:
> What happens when you run it manually? 
>
> This, maybe?
>
> http://www.nagios.org/faqs/viewfaq.php?faq_id=208
>
> On Tue, 07 Apr 2009, Thomas Donnelly wrote:
>
>   
>> Hi all,
>>
>> I am having an issue with all of the devices I added showing warning all 
>> the time. It is a simple snmp check to see if the amps are above 
>> 160warn/180critical. They always say warning even though they are less 
>> than the specified 160. One thing to note is once it hits the 160 mark 
>> it gets the * value * in turn, showing that it is actually in the 
>> warning range. I have shown the neccesary data I hope below. Any/all 
>> help is greatly appreciated.
>>
>>
>>
>> # uname -a
>> FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue 
>> Oct  9 22:39:13 EST 2007 
>> r...@server.example.net:/usr/obj/usr/src/sys/MONITOR  i386
>>
>> Nagios
>> Version 2.0b3
>>
>>
>> # ./check_snmp -V
>> check_snmp (nagios-plugins 1.4.3) 1.58
>>
>>
>>
>>  From the webui
>>
>> APC-RR-R3-1.hou
>>  check_rr_amp
>>  WARNING  04-07-2009 13:00:17   8d 3h 17m 2s  10/10  SNMP WARNING - 90
>>
>>  APC-RR-R3-2.hou
>>  check_rr_amp
>>  WARNING  04-07-2009 12:57:52  18d 2h 46m 48s  10/10  SNMP WARNING - *160*
>>
>> ^note the * 160 * for the one that actually is in the warning range.
>>
>>
>> from checkcommands.cfg
>>
>> define command {
>>command_name check_rr_amp
>>command_line$USER1$/check_snmp -H $HOSTADDRESS$ -o 
>> mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR
>> }
>>
>>
>>  From the hosts config file.
>>
>> define service{
>>host_name   APC-RR-R1-1.hou
>>service_description check_rr_amp
>>check_command   check_rr_amp!159!179
>>max_check_attempts  10
>>normal_check_interval   5
>>retry_check_interval3
>>check_period24x7
>>notification_interval   30
>>notification_period 24x7
>>notification_optionsw,c,r
>>contact_groups  backup-admins
>> }
>>
>>
>>
>> Thanks!
>> -=Tom
>>
>>
>> --
>> This SF.net email is sponsored by:
>> High Quality Requirements in a Collaborative Environment.
>> Download a free trial of Rational Requirements Composer Now!
>> http://p.sf.net/sfu/www-ibm-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
>> 


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] Distribuated Help

2009-04-07 Thread Christopher Burke
I need an answer that I haven't been able to find in any docs or web
searches.

 

I want to set up a distributed monitoring scenario using NSCA, but I
need to know if the Client will buffer checks when the connection is
lost to the central server, and then send them when the connection is
restored.  

 

Basically I want to continue to monitor a sites hosts even if the WAN
goes down so I have information during that timeperiod.

 

Thank you

 

Christopher 

 

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] monitor primergy servers with esx

2009-04-07 Thread Natxo Asenjo
On Tue, Apr 7, 2009 at 9:11 PM, Albrecht Dreß  wrote:

> What exactly is your 'disk array'?  A SAN?  I have a script for nagios 3
> which checks the sensors (temperature, voltages, etc.) via SNMPv1 on a fsc
> FibreCat SX san and a Brocade fibre switch.  I don't know, though, how I can
> check the disk health this way.

this is just the system installation of the esx servers. It's a raid 1
sas array. I need to know when the disks go south because the whole
datacenter is moving to a cybercenter where we longer can rely on the
typical visual checks when changing the tapes.

> I think I will upload that script to nagiosexchange, if you think you could
> use it...

please, do upload it. I have (at this point) no use for it, but I am
sure someone else will. Nagios is great because of all the plugins.

-- 
Natxo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] Nagios Warning Bug/Misconfiguration

2009-04-07 Thread Patrick Morris
What happens when you run it manually? 

This, maybe?

http://www.nagios.org/faqs/viewfaq.php?faq_id=208

On Tue, 07 Apr 2009, Thomas Donnelly wrote:

> Hi all,
> 
> I am having an issue with all of the devices I added showing warning all 
> the time. It is a simple snmp check to see if the amps are above 
> 160warn/180critical. They always say warning even though they are less 
> than the specified 160. One thing to note is once it hits the 160 mark 
> it gets the * value * in turn, showing that it is actually in the 
> warning range. I have shown the neccesary data I hope below. Any/all 
> help is greatly appreciated.
> 
> 
> 
> # uname -a
> FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue 
> Oct  9 22:39:13 EST 2007 
> r...@server.example.net:/usr/obj/usr/src/sys/MONITOR  i386
> 
> Nagios
> Version 2.0b3
> 
> 
> # ./check_snmp -V
> check_snmp (nagios-plugins 1.4.3) 1.58
> 
> 
> 
>  From the webui
> 
> APC-RR-R3-1.hou
>  check_rr_amp
>  WARNING  04-07-2009 13:00:17   8d 3h 17m 2s  10/10  SNMP WARNING - 90
> 
>  APC-RR-R3-2.hou
>  check_rr_amp
>  WARNING  04-07-2009 12:57:52  18d 2h 46m 48s  10/10  SNMP WARNING - *160*
> 
> ^note the * 160 * for the one that actually is in the warning range.
> 
> 
> from checkcommands.cfg
> 
> define command {
>command_name check_rr_amp
>command_line$USER1$/check_snmp -H $HOSTADDRESS$ -o 
> mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR
> }
> 
> 
>  From the hosts config file.
> 
> define service{
>host_name   APC-RR-R1-1.hou
>service_description check_rr_amp
>check_command   check_rr_amp!159!179
>max_check_attempts  10
>normal_check_interval   5
>retry_check_interval3
>check_period24x7
>notification_interval   30
>notification_period 24x7
>notification_optionsw,c,r
>contact_groups  backup-admins
> }
> 
> 
> 
> Thanks!
> -=Tom
> 
> 
> --
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-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

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] monitor primergy servers with esx

2009-04-07 Thread Natxo Asenjo
On Tue, Apr 7, 2009 at 7:58 PM, Giorgio Zarrelli  wrote:
> Hi,
>
> as I told you, all depends on the richness of the MIB. Find the MIB for your
> server and send it to me. With that in my hands I will be able to tell you if
> you can do that.

Hi Giorgio,

thanks again for your input. I have found a RAID.mib (unfortunately,
it is not in the esx rpm package, but in the windows package). I have
copied it to the net-snmp collection of mibs and am reviewing it. If
you will like to have it I will send it off list (it's a bit big to
send to everyone on the list).

I am going through it and it looks promising.

.iso.org.dod.internet.private.enterprises.sni.sniProductMibs.fscRAIDMIB.svrObjects.svrStatus.svrStatusLogicalDrives.0
= ok

.iso.org.dod.internet.private.enterprises.sni.sniProductMibs.fscRAIDMIB.svrObjects.svrStatus.svrStatusPhysicalDevices.0
= ok

Tomorroy I will try removing some disks from the server and check if
those result change as well when the disks are not there.

As soon as I get a working script to check the health of the disks I
will post it for review in nagiosexchange (I can code some Perl, but
am no Perl expert, just a sysadmin trying to control a crazy
environment).

Natxo Asenjo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] Adaptive Monitoring: Broken?

2009-04-07 Thread Patrick Morris
Here are the important stats:

Nagios Version: Version 3.1.0
Proficiency Level: Pretty damned high

It's been a long time since I had a question to ask here, but I've run
into an issue that's had me ripping my hair out for the first time in
many, many years of working with Nagios.

For various convoluted reasons, I have some services with a notification
command that includes the following:

/usr/bin/printf "[%lu] PROCESS_SERVICE_CHECK_RESULT;$HOSTNAME;$SERVICE;0;OK - 
Not a real check\n" $DATE > $CMDFILE

/usr/bin/printf "[%lu] CHANGE_SVC_EVENT_HANDLER;$HOSTNAME;$SERVICE;check_ok\n" 
$DATE > $CMDFILE

/usr/bin/printf "[%lu] CHANGE_SVC_CHECK_COMMAND;$HOSTNAME;$SERVICE;check_ok\n" 
$DATE > $CMDFILE

check_ok is defined like so:

define command {
command_namecheck_ok
command_line$USER1$/check_dummy 0 "Not a real service"
}

While the first command works fine, and sets the service to an OK state,
the next two (which I've tried in various combinations) show up in the
Nagios logs as having been sent, but do nothing. The check that appears
in the config files keeps running instead of my check_ok check.

Here's how it shows up in the logs:

[1239128528] EXTERNAL COMMAND: CHANGE_SVC_EVENT_HANDLER;dummy-host;DNS;check_ok
[1239128528] EXTERNAL COMMAND: CHANGE_SVC_CHECK_COMMAND;dummy-host;DNS;check_ok

I've noticed the message is different if I use an invalid command, so
I'm relatively sure I'm using the right ones; they just don't do
anything.

Event handlers are enabled for these services, but even if they weren't
the check command should change, right?

Am I doing something wrong here, or have I run into a bug?

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] Nagios Warning Bug/Misconfiguration

2009-04-07 Thread Thomas Donnelly
Hi all,

I am having an issue with all of the devices I added showing warning all 
the time. It is a simple snmp check to see if the amps are above 
160warn/180critical. They always say warning even though they are less 
than the specified 160. One thing to note is once it hits the 160 mark 
it gets the * value * in turn, showing that it is actually in the 
warning range. I have shown the neccesary data I hope below. Any/all 
help is greatly appreciated.



# uname -a
FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue 
Oct  9 22:39:13 EST 2007 
r...@server.example.net:/usr/obj/usr/src/sys/MONITOR  i386

Nagios
Version 2.0b3


# ./check_snmp -V
check_snmp (nagios-plugins 1.4.3) 1.58



 From the webui

APC-RR-R3-1.hou
 check_rr_amp
 WARNING  04-07-2009 13:00:17   8d 3h 17m 2s  10/10  SNMP WARNING - 90

 APC-RR-R3-2.hou
 check_rr_amp
 WARNING  04-07-2009 12:57:52  18d 2h 46m 48s  10/10  SNMP WARNING - *160*

^note the * 160 * for the one that actually is in the warning range.


from checkcommands.cfg

define command {
   command_name check_rr_amp
   command_line$USER1$/check_snmp -H $HOSTADDRESS$ -o 
mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR
}


 From the hosts config file.

define service{
   host_name   APC-RR-R1-1.hou
   service_description check_rr_amp
   check_command   check_rr_amp!159!179
   max_check_attempts  10
   normal_check_interval   5
   retry_check_interval3
   check_period24x7
   notification_interval   30
   notification_period 24x7
   notification_optionsw,c,r
   contact_groups  backup-admins
}



Thanks!
-=Tom


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] monitor primergy servers with esx

2009-04-07 Thread Albrecht Dreß

Am 07.04.09 19:58 schrieb(en) Giorgio Zarrelli:
What I need is monitoring the health of the disk array. Is it  
possible to do that with snmp


What exactly is your 'disk array'?  A SAN?  I have a script for nagios  
3 which checks the sensors (temperature, voltages, etc.) via SNMPv1 on  
a fsc FibreCat SX san and a Brocade fibre switch.  I don't know,  
though, how I can check the disk health this way.


I think I will upload that script to nagiosexchange, if you think you  
could use it...


Best, Albrecht.



pgpm86zd8IcVS.pgp
Description: PGP signature
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] monitor primergy servers with esx

2009-04-07 Thread Giorgio Zarrelli
Hi,

as I told you, all depends on the richness of the MIB. Find the MIB for your
server and send it to me. With that in my hands I will be able to tell you if
you can do that.


Giorgio

Natxo Asenjo (natxo.ase...@gmail.com) scritto:

>
> I do not mean to be rude, thanks for your input.
>
> What I need is monitoring the health of the disk array. Is it possible
> to do that with snmp
> as it is with the the command amcli --list?
>
> TIA,
>
> Natxo Asenjo
>
> --
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-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
>


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] cisco firewall plugins

2009-04-07 Thread Anirudh Srinivasan
i got two plugins check_cisco_asa.pl and check_cisco_firewall.sh for cisco
firewall.

i downloaded it and unziped it and chaned the mode to 777 so that it become
executable.

./check_cisco_asa.pl -h ipaddress -c public -i 1   (from command line)
I get
Timeout: No Response from ipaddress
Timeout: No Response from ipaddress
Timeout: No Response from ipaddress
Timeout: No Response from ipaddress

I tried with almost allt he firewall in our network but go ththe same
result.

./check_cisco_firewall.sh -H 10.21.1.4 -V 1 -C public -M failover
(from command line)
Timeout: No Response from 10.21.1.4
Error - Not numeric value :  = status_prim

Can anyone shed light on this or suggest any other plugins for cisco
firewall to monitor VPN

-- 
Anirudh Srinivasan
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] monitor primergy servers with esx

2009-04-07 Thread Natxo Asenjo
On Tue, Apr 7, 2009 at 5:01 PM, Giorgio Zarrelli  wrote:

> Hi,

[knip]

> To collect a value, for bandwidth, let's say, I use such a string:

I do not mean to be rude, thanks for your input.

What I need is monitoring the health of the disk array. Is it possible
to do that with snmp
as it is with the the command amcli --list?

TIA,

Natxo Asenjo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] more than a variable in a pnp4nagios graph

2009-04-07 Thread Sergio Ariel
Thanks!

Sergio Ariel de la Campa Saiz
Administrador Red UH


Jim Avery wrote:
> 2009/4/6 Sergio Ariel :
>> I'm using pnp4nagios and now I need to graph more than a variable in the
>> same graph. Somebody does know how to obtain that?
> 
> 
> You can use DRRAW http://web.taranis.org/drraw/ .  I believe it can be
> done within PNP too, but I haven't tried it.  This was discussed on
> the pnp4nagios email list recently.  Check the archive at
> http://sourceforge.net/mailarchive/forum.php?forum_name=pnp4nagios-users
> for the thread "generating gathering graph from several host /
> services".
> 
> See also the recent threads in the nagios-users email list with the
> subject "pnp4nagios - view graph for disabled service".
> 
> hth,
> 
> Jim
> 

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] nagvis without authentication

2009-04-07 Thread Sergio Ariel
How can I to use nagvis without autentication?
-- 
Sergio Ariel de la Campa Saiz
Administrador Red UH

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] op5 signup for demo issues?

2009-04-07 Thread Andreas Ericsson
Gabriel - IP Guys wrote:
> Dear All,
> 
> I'm not sure if this counts as off topic, but I am having a very  hard
> time signing up for the op5 demo downloads. I receive no email
> responses. I know there are some op5 guys on this list, so feel free to
> help me out on this one!
> 

Hi Mr Gabriel. We recently switched email service at op5, and apparently
emails from some systems are getting stuck since then.

I have forwarded your email to the relevant parties at op5 and I'm sure
someone will get back to you very soon and that the problem will be
fixed asap.

Thanks for reporting this, and for your interest :)

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] monitor primergy servers with esx

2009-04-07 Thread Giorgio Zarrelli
Hi,
Hi,

first find the right mib describing your hardware. Second step, enable snmp v3
on your fujitsu and at the end you write a script.

Actually I wrote a nagios plugin to check memory and cpu of F5 BigIP and
another for monitoring bandwidth via snmp. all resides on finding the right
oids which match the values you are going to collect through snmpget.

To collect a value, for bandwidth, let's say, I use such a string:

SPEED=`/usr/bin/snmpget -v 3 -t 1 -r 5 -m '' -v 3 -l authPriv -a MD5 -u
${LOGIN} -A ${PASSWORD} -x DES -X ${PASSWORD} ${HOST}:161
IF-MIB::ifSpeed.${IFINDEX} | cut -d " " -f 4`

Giorgio

> Has anyone gotten to monitor it through snmp? Would you care to show how? ;)
>
> --
> Groeten,
> J.Asenjo
>
> --
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-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
>


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] monitor primergy servers with esx

2009-04-07 Thread Natxo Asenjo
hi,

I have some fujitsu-siemens primergy rx-300 s3 that I monitor with the
check_fsc.pl and snmp. This works fine.

I have installed the serverviewraid manager tool from fujitusu siemens
so that I can monitor if the disks are ok. This works.

But, here comes the question: how do I monitor the health of the array
controller if I cannot install nagios-nrpe in the boxes? installing
nrpe is not supported by vmware, so the option is pretty closed.

I monitor citrix servers with the same tool, amcli and a batch script
through nrpe.

Has anyone gotten to monitor it through snmp? Would you care to show how? ;)

-- 
Groeten,
J.Asenjo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] op5 signup for demo issues?

2009-04-07 Thread Gabriel - IP Guys
Dear All,

I'm not sure if this counts as off topic, but I am having a very  hard
time signing up for the op5 demo downloads. I receive no email
responses. I know there are some op5 guys on this list, so feel free to
help me out on this one!

---
Mr Gabriel


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] "strange" warnings from the config files

2009-04-07 Thread Morten Guldager
On Tue, Apr 7, 2009 at 1:16 PM, Edgar Matzinger wrote:

>
> > How come that I get a warning if I omit the "check_period" on services
> > while it seems to be ok to leave it out on the hosts?
>
>   according the documentation (http://nagios.sourceforge.net/docs/3_0/
> objectdefinitions.html),
> check_period is mandatory for both hosts and
> services! And thus, nagios should report an error in both occasions!


Perfect, at least the documentation is consistent. So it all boils down to a
missing warning when we forget to define a check_period where it should be
mandatory.

I guess its a matter of taste, but I'd expect the program to trigger a hard
error when trying to read its config files and then missing something
mandatory. The current behaviour is to my knowledge
undocumented/undefined/random.


-- 
/Morten %-)
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] "strange" warnings from the config files

2009-04-07 Thread Edgar Matzinger
Hi Morton,

> How come that I get a warning if I omit the "check_period" on services
> while it seems to be ok to leave it out on the hosts?

  according the documentation (http://nagios.sourceforge.net/docs/3_0/
objectdefinitions.html), check_period is mandatory for both hosts and
services! And thus, nagios should report an error in both occasions!

Sorry, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 
 

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] "strange" warnings from the config files

2009-04-07 Thread Morten Guldager
On Tue, Apr 7, 2009 at 11:43 AM, Andreas Ericsson  wrote:

> Morten Guldager wrote:
>
>>
>> How come that I get a warning if I omit the "check_period" on services
>> while
>> it seems to be ok to leave it out on the hosts?
>>
>>
> Because it's something one normally wants to associate with a service.


But not with a host...  well, I had hoped for a more consistent logic here.

And how?
>>
>
> By checking the service as if you'd defined a timeperiod encompassing all
> the
> hours of all days (I think). It could also be by not checking the service
> at
> all, which one could argue is actually correct. Try and find out.


My trials here shows that it tests 24x7 if I omit the check_period. Fine
thats what I want.

But as you point out yourself too, the logic is not straigth forward here.


-- 
/Morten %-)
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] "strange" warnings from the config files

2009-04-07 Thread Andreas Ericsson
Morten Guldager wrote:
> 'Aloha!
> 
> How come that I get a warning if I omit the "check_period" on services while
> it seems to be ok to leave it out on the hosts?
> 

Because it's something one normally wants to associate with a service.

> It says:
> Warning: Service 'check-stuff' on host 'nice-box' has no check time period
> defined!
> 
> 
> Will nagios act well defined if I simply ignore these warnings?

For a given value of "well defined", yes ;-)

> And how?
> 

By checking the service as if you'd defined a timeperiod encompassing all the
hours of all days (I think). It could also be by not checking the service at
all, which one could argue is actually correct. Try and find out.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


[Nagios-users] "strange" warnings from the config files

2009-04-07 Thread Morten Guldager
'Aloha!

How come that I get a warning if I omit the "check_period" on services while
it seems to be ok to leave it out on the hosts?

It says:
Warning: Service 'check-stuff' on host 'nice-box' has no check time period
defined!


Will nagios act well defined if I simply ignore these warnings? And how?


-- 
/Morten %-)
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] Nagios: Adding Windows Servers to monitor

2009-04-07 Thread Jim Avery
2009/4/6 Dei Bertine :
> Thanks for the detailed explanation, Jim.
>
> So far I'm not getting a successful rate on adding my Windows server in
> Nagios.
> Followed detailed instructions in Nagios but still getting errors.
> http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html
>
> Is there an easy way to add the Windows servers in Nagios or other
> documentation that I can follow?
> Please kindly advise, need expertise assistance.

I've already recommended one to  you -
   [quote] An excellent way to get started with Nagios is to read the book
   "Nagios" by Wolfgang Barth.  http://nostarch.com/nagios_2e.htm [/quote]

This book can be purchased as a .pdf download, so you can buy it right
now if you wish.

You will find other documentation on the NSClient++ web site, but if
you want an easy to follow guide to monitoring windows servers with
Nagios, I firmly believe Wolfgang Barth's book is by far the best for
you.

Cheers,

Jim

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] more than a variable in a pnp4nagios graph

2009-04-07 Thread Jim Avery
2009/4/6 Sergio Ariel :
> I'm using pnp4nagios and now I need to graph more than a variable in the
> same graph. Somebody does know how to obtain that?


You can use DRRAW http://web.taranis.org/drraw/ .  I believe it can be
done within PNP too, but I haven't tried it.  This was discussed on
the pnp4nagios email list recently.  Check the archive at
http://sourceforge.net/mailarchive/forum.php?forum_name=pnp4nagios-users
for the thread "generating gathering graph from several host /
services".

See also the recent threads in the nagios-users email list with the
subject "pnp4nagios - view graph for disabled service".

hth,

Jim

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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