Re: [Nagios-users] New perl module: Nagios::Plugin::WWW::Mechanize
Dear All, Does this help me ? http://udel.edu/~doke/nagios/check_sakai_login Regards Abdul Khader On 10/18/2010 6:37 PM, Andreas Ericsson wrote: On 10/18/2010 02:11 PM, Abdul Khader wrote: Dear All, I see that this plug-in allows me to do synthetic transactions. I would like to know if it is possible to use it for java based application server like tomcat. It's not. It has no JRE embedded in it, and coding a java engine in perl would be almost as complex as it would be stupid. My goal is to login to a page with a username and password, then go to the user's home page. If not successful, then send an email alert to the admin. Look at java-based automation things instead, but be aware that java-based checks are just plain horrible to run unless you can get a java-daemon to accept queries from the command-line and return the results to you. Java has a ridiculously high loadtime, making it extremely unsuitable for writing command-line apps and nagios plugins. Email secured by Anti Spam at CtrlS -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 Performance Issue
On 30 October 2010 21:23, trm asn trm.nag...@gmail.com wrote: Dear List , I am getting frequent Nagios screen issue. The checks are not updating properly . Below is my nagios.cfg file with nagiostats. Please let me know is there anywhere I can fine tune the Nagios. I am using a Xeon 2.0 GH X 2 , 4 GB RAM , . log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/objects/commands.cfg cfg_file=/usr/local/nagios/etc/objects/contacts.cfg cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg cfg_file=/usr/local/nagios/etc/objects/contactgroups.cfg cfg_file=/usr/local/nagios/etc/objects/dependencies.cfg cfg_file=/usr/local/nagios/etc/objects/escalations.cfg cfg_file=/usr/local/nagios/etc/objects/hosts.cfg cfg_file=/usr/local/nagios/etc/objects/hostgroups.cfg cfg_file=/usr/local/nagios/etc/objects/services.cfg cfg_file=/usr/local/nagios/etc/objects/servicegroups.cfg object_cache_file=/usr/local/nagios/var/objects.cache precached_object_file=/usr/local/nagios/var/objects.precache resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.dat aggregate_status_updates=0 status_update_interval=10 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp temp_path=/tmp event_broker_options=-1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s 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=5 max_check_result_reaper_time=20 check_result_path=/usr/local/nagios/var/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=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=120 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/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=0 obsess_over_hosts=0 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 p1_file=/usr/local/nagios/bin/p1.pl 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 daemon_dumps_core=0 use_large_installation_tweaks=0 enable_environment_macros=1 debug_level=2 debug_verbosity=2 debug_file=/usr/local/nagios/var/nagios.debug max_debug_file_size=100 broker_module=/usr/local/lib/mk-livestatus/livestatus.o /usr/local/nagios/var/rw/live event_broker_options=-1 --- CURRENT STATUS DATA -- Status File:/usr/local/nagios/var/status.dat Status File Age:0d 0h 0m 4s Status File Version:3.0.3 Program Running Time: 0d 0h 10m 55s Nagios PID: 21581 Used/High/Total Command Buffers:0 / 0 / 4096 Total Services: 6747 Services Checked: 6747 Services Scheduled: 6747 Services Actively Checked: 6747 Services Passively Checked: 0 Total Service State Change: 0.000 / 41.580 / 0.077 %
[Nagios-users] Best Practice: Forgotten Acknowledgements
Hello list, from time to time you may acknowledge a problem without solving it at once. This will result in forgotten acknowledgements. What do you do to resolve this issue? Ist there anything existing which parses the statufiles and writes a mail once a week as a reminder (cron-job)? Greetz, Andre -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] Antw: Does Performance processing command fail in high loaded situations?
Hi, why do you use this old version (3.0.6) ? The current Version is 3.2.3 . Try this version. That would be my first proposal for you. bye Von: Yu Watanabe yu.watan...@jp.fujitsu.com An:nagios-users@lists.sourceforge.net Datum: 01.11.2010 11:23 Betreff: [Nagios-users] Does Performance processing command fail in high loaded situations? Hello all. Has anyone experineced a failure of performance processing in high loaded servers, or is there a chance of failure in this situation? Espicially , in high memory usages(80 - 90%). My nagios environement is following, nagios 3.0.6 RHEL 5 Best Regards, Yu Watanabe -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] AUTO: Chan, Brian is out of the office. (returning 11/02/2010)
I am out of the office until 11/02/2010. I will respond to your message when I return. Note: This is an automated response to your message Nagios-users Digest, Vol 54, Issue 1 sent on 11/1/2010 5:48:33. This is the only notification you will receive while this person is away. -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] Does Performance processing command fail in high loaded situations?
On 11/01/2010 11:14 AM, Yu Watanabe wrote: Hello all. Has anyone experineced a failure of performance processing in high loaded servers, or is there a chance of failure in this situation? Espicially , in high memory usages(80 - 90%). If the performance data handling command starts swapping, it's entirely possible it takes too long to complete, causing Nagios to kill it by force. My nagios environement is following, nagios 3.0.6 RHEL 5 That's rather old. An upgrade would do you good. -- 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. -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] Wrong Next Scheduled Check
Hello, Nagios shows a wrong Wrong Next Scheduled Check for all services and hosts. Here is an example: Current Status: OK (for 60d 1h 55m 0s) Status Information: DISK OK - free space: / 9235 MB (96% inode=98%): Performance Data: /=335MB;9578;9578;0;10083 Current Attempt:1/3 (HARD state) Last Check Time: 10-31-2010 22:36:44 Check Type: ACTIVE Check Latency / Duration: 1233.755 / 0.910 seconds Next Scheduled Check: 11-01-2010 23:00:00 Last State Change:09-02-2010 11:26:26 Last Notification:N/A (notification 0) Is This Service Flapping?NO (0.00% state change) In Scheduled Downtime?NO Last Update: 11-01-2010 12:21:23 ( 0d 0h 0m 3s ago) The config of nagios did not change. The service-template define service{ namegeneric-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 is_volatile 0 check_period24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval2 # contact_groups admins notification_optionsw,u,c,r # notification_interval 0 # notification_period 24x7 register 1 } # Production service definition template define service{ nameservice-prod use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register1 } A service example: == define service{ use service-prod host_name serverx service_description FS / check_command check_nrpe_disk!5%!5%!/ } Can someone explain this issue ? Thanks in advance. Carlo -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] NSCA w/ secondary nagios machine monitoring separate network segment
Have you checked the nagios.cfg file and ensured the path for command_file is the same in both the nagios.cfg and nsca.cfg? Nagios should be creating the command file on start up. If they are the same, check that nagios has write permissions to /var/lib/nagios3/rw. Also, the command file is a pipe, not a simple file, so touch isn't good enough, you'll need to use mkfifo or mknod. Jonathon, it was simple newb issue. nagios.cfg needed 'check_external_commands' enabled. I got passive service checks working last night. Many thanks to bashk on irc. Now to get passive host checks working. -Andy -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] Wrong Next Scheduled Check
Did daylight saving end in your timeline this weekend? If so check out the dst patches or upgrade nagios to fix the scheduled check problem Greg On Nov 1, 2010 6:38 AM, Maesen Carlo (ICTS) carlo.mae...@maastrichtuniversity.nl wrote: Hello, Nagios shows a wrong Wrong Next Scheduled Check for all services and hosts. Here is an example: Current Status: OK (for 60d 1h 55m 0s) Status Information: DISK OK - free space: / 9235 MB (96% inode=98%): Performance Data: /=335MB;9578;9578;0;10083 Current Attempt: 1/3 (HARD state) Last Check Time: 10-31-2010 22:36:44 Check Type: ACTIVE Check Latency / Duration: 1233.755 / 0.910 seconds Next Scheduled Check: 11-01-2010 23:00:00 Last State Change: 09-02-2010 11:26:26 Last Notification: N/A (notification 0) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 11-01-2010 12:21:23 ( 0d 0h 0m 3s ago) The config of nagios did not change. The service-template define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 # contact_groups admins notification_options w,u,c,r # notification_interval 0 # notification_period 24x7 register 1 } # Production service definition template define service{ name service-prod use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 1 } A service example: == define service{ use service-prod host_name serverx service_description FS / check_command check_nrpe_disk!5%!5%!/ } Can someone explain this issue ? Thanks in advance. Carlo -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] Wrong Next Scheduled Check
Is this a known bug for version 3.2.0 ? I can not find some info about this. From: Greg Pangrazio [mailto:pangr...@gmail.com] Sent: maandag 1 november 2010 12:42 To: Nagios Users List Subject: Re: [Nagios-users] Wrong Next Scheduled Check Did daylight saving end in your timeline this weekend? If so check out the dst patches or upgrade nagios to fix the scheduled check problem Greg On Nov 1, 2010 6:38 AM, Maesen Carlo (ICTS) carlo.mae...@maastrichtuniversity.nlmailto:carlo.mae...@maastrichtuniversity.nl wrote: Hello, Nagios shows a wrong Wrong Next Scheduled Check for all services and hosts. Here is an example: Current Status: OK (for 60d 1h 55m 0s) Status Information: DISK OK - free space: / 9235 MB (96% inode=98%): Performance Data: /=335MB;9578;9578;0;10083 Current Attempt: 1/3 (HARD state) Last Check Time: 10-31-2010 22:36:44 Check Type: ACTIVE Check Latency / Duration: 1233.755 / 0.910 seconds Next Scheduled Check: 11-01-2010 23:00:00 Last State Change: 09-02-2010 11:26:26 Last Notification: N/A (notification 0) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 11-01-2010 12:21:23 ( 0d 0h 0m 3s ago) The config of nagios did not change. The service-template define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 # contact_groups admins notification_options w,u,c,r # notification_interval 0 # notification_period 24x7 register 1 } # Production service definition template define service{ name service-prod use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 1 } A service example: == define service{ use service-prod host_name serverx service_description FS / check_command check_nrpe_disk!5%!5%!/ } Can someone explain this issue ? Thanks in advance. Carlo -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] Wrong Next Scheduled Check
But if you Freshness Threshold is for example 10min. it should automatically reschedule the check, is does here. /Leif On 01-11-2010 13:19, Maesen Carlo (ICTS) wrote: Is this a known bug for version 3.2.0 ? I can not find some info about this. *From:*Greg Pangrazio [mailto:pangr...@gmail.com] *Sent:* maandag 1 november 2010 12:42 *To:* Nagios Users List *Subject:* Re: [Nagios-users] Wrong Next Scheduled Check Did daylight saving end in your timeline this weekend? If so check out the dst patches or upgrade nagios to fix the scheduled check problem Greg On Nov 1, 2010 6:38 AM, Maesen Carlo (ICTS) carlo.mae...@maastrichtuniversity.nl mailto:carlo.mae...@maastrichtuniversity.nl wrote: Hello, Nagios shows a wrong Wrong Next Scheduled Check for all services and hosts. Here is an example: Current Status: OK (for 60d 1h 55m 0s) Status Information: DISK OK - free space: / 9235 MB (96% inode=98%): Performance Data: /=335MB;9578;9578;0;10083 Current Attempt: 1/3 (HARD state) Last Check Time: 10-31-2010 22:36:44 Check Type: ACTIVE Check Latency / Duration: 1233.755 / 0.910 seconds Next Scheduled Check: 11-01-2010 23:00:00 Last State Change: 09-02-2010 11:26:26 Last Notification: N/A (notification 0) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 11-01-2010 12:21:23 ( 0d 0h 0m 3s ago) The config of nagios did not change. The service-template define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 # contact_groups admins notification_options w,u,c,r # notification_interval 0 # notification_period 24x7 register 1 } # Production service definition template define service{ name service-prod use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 1 } A service example: == define service{ use service-prod host_name serverx service_description FS / check_command check_nrpe_disk!5%!5%!/ } Can someone explain this issue ? Thanks in advance. Carlo -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] Wrong Next Scheduled Check
Here is a link to the information from the list archives. http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg31474.html Greg Pangrazio On Mon, Nov 1, 2010 at 7:35 AM, Leif J. nag...@ljnet.dk wrote: But if you Freshness Threshold is for example 10min. it should automatically reschedule the check, is does here. /Leif On 01-11-2010 13:19, Maesen Carlo (ICTS) wrote: Is this a known bug for version 3.2.0 ? I can not find some info about this. From: Greg Pangrazio [mailto:pangr...@gmail.com] Sent: maandag 1 november 2010 12:42 To: Nagios Users List Subject: Re: [Nagios-users] Wrong Next Scheduled Check Did daylight saving end in your timeline this weekend? If so check out the dst patches or upgrade nagios to fix the scheduled check problem Greg On Nov 1, 2010 6:38 AM, Maesen Carlo (ICTS) carlo.mae...@maastrichtuniversity.nl wrote: Hello, Nagios shows a wrong Wrong Next Scheduled Check for all services and hosts. Here is an example: Current Status: OK (for 60d 1h 55m 0s) Status Information: DISK OK - free space: / 9235 MB (96% inode=98%): Performance Data: /=335MB;9578;9578;0;10083 Current Attempt: 1/3 (HARD state) Last Check Time: 10-31-2010 22:36:44 Check Type: ACTIVE Check Latency / Duration: 1233.755 / 0.910 seconds Next Scheduled Check: 11-01-2010 23:00:00 Last State Change: 09-02-2010 11:26:26 Last Notification: N/A (notification 0) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 11-01-2010 12:21:23 ( 0d 0h 0m 3s ago) The config of nagios did not change. The service-template define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 # contact_groups admins notification_options w,u,c,r # notification_interval 0 # notification_period 24x7 register 1 } # Production service definition template define service{ name service-prod use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 1 } A service example: == define service{ use service-prod host_name serverx service_description FS / check_command check_nrpe_disk!5%!5%!/ } Can someone explain this issue ? Thanks in advance. Carlo -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] SLES10 x64 RT kernel servers die after NRPE is executed
Hey there, I have a strange error happening on several different servers having NRPE installed. The system hangs and need to be rebooted. After the server is back online the logs say: Oct 19 03:13:11 glddb-rtd2 sudo: rts : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/find / -noleaf -name core -type f Oct 19 03:16:06 glddb-rtd2 kernel: Bad page state in process 'nrpe' Oct 19 03:16:06 glddb-rtd2 kernel: page:81032a92fd80 flags:0x00060005 mapping: mapcount:0 count:7 Oct 19 03:16:06 glddb-rtd2 kernel: Trying to fix it up, but a reboot is needed Oct 19 03:16:06 glddb-rtd2 kernel: Backtrace: Oct 19 03:16:06 glddb-rtd2 kernel: Oct 19 03:16:06 glddb-rtd2 kernel: Call Trace: Oct 19 03:16:06 glddb-rtd2 kernel: [80283680] bad_page+0x60/0xa0 Oct 19 03:16:06 glddb-rtd2 kernel: [80284a85] get_page_from_freelist+0x585/0x620 Oct 19 03:16:06 glddb-rtd2 kernel: [8027ec26] find_get_page+0x86/0x190 Oct 19 03:16:06 glddb-rtd2 kernel: [80284b87] __alloc_pages+0x67/0x380 Oct 19 03:16:06 glddb-rtd2 kernel: [8028f890] __handle_mm_fault+0x7c0/0xb90 Oct 19 03:16:06 glddb-rtd2 kernel: [8046bf06] do_page_fault+0x216/0x8e0 Oct 19 03:16:06 glddb-rtd2 kernel: [80293bd2] split_vma+0x152/0x170 Oct 19 03:16:06 glddb-rtd2 kernel: [8021b74b] flush_tlb_mm+0x5b/0x150 Oct 19 03:16:06 glddb-rtd2 kernel: [80295aa4] sys_mprotect+0x194/0x850 Oct 19 03:16:06 glddb-rtd2 kernel: [8046a06d] error_exit+0x0/0x84 Oct 19 03:16:06 glddb-rtd2 kernel: Oct 19 03:16:06 glddb-rtd2 kernel: general protection fault: [1] PREEMPT SMP Oct 19 03:16:06 glddb-rtd2 kernel: last sysfs file: /devices/pci:00/:00:06.0/:05:00.1/irq Here are some details about the system: glddb-rtd2:~ # cat /etc/issue Welcome to SUSE Linux Enterprise Server 10 SP2 (x86_64) - Kernel \r (\l). glddb-rtd2:~ # uname -a Linux glddb-rtd2 2.6.22.19-0.14-rt #1 SMP PREEMPT RT 2008-06-04 00:52:17 +0200 x86_64 x86_64 x86_64 GNU/Linux glddb-rtd2:~ # /usr/local/nagios/bin/nrpe --version /usr/local/nagios/bin/nrpe: unrecognized option `--version' NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org) Version: 2.12 Last Modified: 03-10-2008 All servers have SLES 10 SP 2 x64 Realtime Kernel in common. Any ideas if this is an NRPE or kernel problem/bug are appreciated. Or did someone face the similar/same problems? If some information is missing, feel free to request. I'd be glad to add the info. Thanks much for your input. Sebastian Waitz IT Operations Manager [cid:rts-logo.png@02aeae5248894d848dc6f606a972e216] RTS Realtime Systems (Deutschland) AG, Rembrandtstrasse 13, D-60596 Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181 / Hotline: +49.69.61009.100 Sitz: Frankfurt am Main - HRB 46523 Amtsgericht Frankfurt/M. Vorstand: Steffen Gemuenden (Vorsitzender), Mark van Vugt Aufsichtsratsvorsitzender: Engelbert Gemuenden www.rtsgroup.net This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify me immediately by return email and promptly delete this message and its attachments from your computer system. inline: rts-logo.png-- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] Best Practice: Forgotten Acknowledgements
Acknowledgements add comments to hosts and services, so you could just set yourself a reminder to occasionally check the comments link in the side bar and look for anything that's getting stale. -Original Message- From: Andre Timmermann [mailto:an...@nine.ch] Sent: Monday, November 01, 2010 5:29 AM To: Nagios Users List Subject: [Nagios-users] Best Practice: Forgotten Acknowledgements Hello list, from time to time you may acknowledge a problem without solving it at once. This will result in forgotten acknowledgements. What do you do to resolve this issue? Ist there anything existing which parses the statufiles and writes a mail once a week as a reminder (cron-job)? Greetz, Andre -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] Best Practice: Forgotten Acknowledgements
What I'm planning is a way to pass a Ticket to our Ticket system when a host/service are down/critical, on that way I will from my current overview of assigments also see the issues from Nagios. then it will be visible for me every single day when I look a what open problems there are. /Leif Den 01-11-2010 17:50, Chris Beattie skrev: Acknowledgements add comments to hosts and services, so you could just set yourself a reminder to occasionally check the comments link in the side bar and look for anything that's getting stale. -Original Message- From: Andre Timmermann [mailto:an...@nine.ch] Sent: Monday, November 01, 2010 5:29 AM To: Nagios Users List Subject: [Nagios-users] Best Practice: Forgotten Acknowledgements Hello list, from time to time you may acknowledge a problem without solving it at once. This will result in forgotten acknowledgements. What do you do to resolve this issue? Ist there anything existing which parses the statufiles and writes a mail once a week as a reminder (cron-job)? Greetz, Andre -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] Best Practice: Forgotten Acknowledgements
Am Montag, den 01.11.2010, 12:50 -0400 schrieb Chris Beattie: Acknowledgements add comments to hosts and services, so you could just set yourself a reminder to occasionally check the comments link in the side bar and look for anything that's getting stale. Yes, but this would enforce a human not to forget things. I tend to believe something automatic is more reliable than a human ;) Greetz, Andre -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] Best Practice: Forgotten Acknowledgements
Andre Timmermann wrote: Am Montag, den 01.11.2010, 12:50 -0400 schrieb Chris Beattie: Acknowledgements add comments to hosts and services, so you could just set yourself a reminder to occasionally check the comments link in the side bar and look for anything that's getting stale. Yes, but this would enforce a human not to forget things. I tend to believe something automatic is more reliable than a human ;) You could write an event handler that fixes whatever the problem is. Otherwise you are relying on a human at every level not to forget the acknowledgments and reminders. ;-) -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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] hostgroup with no members - Enhancement
I'd like to be able to create a hostgroup with no members assigned, but doesn't appear to work. The reason being is that I'm generating the host configs using a third-party tool, and it puts in that host file which hostgroups a host belong to. This works great, but there has to be at least 1 member in the hostgroup for it not to complain. It would be nice if I could just put the hostgroups out there blank and then let the host definition completely populate what's in there. Right now I have 1 fake host that is in every group, so I have one host with hundreds of service checks that will fail , just rather messy. Does that sound reasonable, another way to do this I've missed? Thanks! Dan -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] hostgroup with no members - Enhancement
On 1 November 2010 20:57, Daniel Wittenberg daniel.wittenberg.r...@statefarm.com wrote: It would be nice if I could just put the hostgroups out there blank and then let the host definition completely populate what’s in there. Right now I have 1 fake host that is in every group, so I have one host with hundreds of service checks that will fail , just rather messy. I've got the same problem. To assign service check on host I create an hostgroup on every service to check (example: host_raid, host_http), and to assign that service check on an host I simply ad that host on corresponding hostgroup -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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