From joydeep at infoservices.in Mon Sep 1 06:13:09 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 09:43:09 +0530 Subject: Is there any wat to check the internet bandwidth ? In-Reply-To: <413A6DE2-F1C4-45CA-9CE4-C01ED1EEBB0A@ena.com> References: <48B7EB2D.4010605@infoservices.in> <413A6DE2-F1C4-45CA-9CE4-C01ED1EEBB0A@ena.com> Message-ID: <48BB6BD5.3040609@infoservices.in> Marc Powell wrote: > On Aug 29, 2008, at 7:27 AM, J. Bakshi wrote: > > >> Dear list, >> >> Is there any way to check the Internet bandwidth by nagios ? >> I can imagine it would be a great option to have that information in >> nagios. >> > > There are several plugins for doing this on nagiosexchange.org. Search > for 'interface speed' and 'interface bandwidth'. > > Thanks a lot Marc Powell > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 1 07:24:19 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 10:54:19 +0530 Subject: Problem with new host defination Message-ID: <48BB7C83.1080302@infoservices.in> Good morning, Hope everyone is well. I am now working to configure my nagios to monitor my remote servers. To monitor one of the remote servers I have made a file called "hosteurope.cfg" A simple configuration with out and serveice. Just to check coonectivity ############################################################################### ############################################################################### # # TIME PERIODS # ############################################################################### ############################################################################### # This defines a timeperiod where all times are valid for checks, # notifications, etc. The classic "24x7" support nightmare. :-) define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 09:30-18:00 tuesday 09:30-18:00 wednesday 09:30-18:00 thursday 09:30-18:00 friday 09:30-18:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:30,18:00-24:00 tuesday 00:00-09:30,18:00-24:00 wednesday 00:00-09:30,18:00-24:00 thursday 00:00-09:30,18:00-24:00 friday 00:00-09:30,18:00-24:00 saturday 00:00-24:00 } # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } ############################################################################### ############################################################################### # # CONTACTS # ############################################################################### ############################################################################### # In this simple config file, a single contact will receive all alerts. # This assumes that you have an account (or email alias) called # "nagios-admin" on the local host. define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email joydeep at infoservices.in } ############################################################################### ############################################################################### # # HOSTS # ############################################################################### ############################################################################### # Generic host definition template - This is NOT a real host, just a template! define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUS> } define host{ name remoteserver ; Name of this template use generic-host ; Inherit default values check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,r contact_groups admins register 0 ; DONT REGISTER THIS - ITS A TEMPLATE } define host{ use remoteserver ; Inherit default values from a template host_name hosteurope_server ; The name we're giving to this server alias SuSe 9.3 ; A longer name for the server address 87.290.19.289 ; IP address of the server } Then I define the cfg file in nagios.cfg like this =================================== # Host and service definitions for monitoring this machine cfg_file=/etc/nagios/localhost.cfg # Host and service definitions for monitoring hosteurope cfg_file=/etc/nagios/hosteurope.cfg =================================== finally when I reload nagios it throws an error like Running configuration check... FAILED! Reload aborted. Check your Nagios configuration. Could any one tell me my mistake ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From moshesharon at gmail.com Mon Sep 1 09:35:26 2008 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 1 Sep 2008 10:35:26 +0300 Subject: Hiding hostgroups In-Reply-To: <20080901153433.G7132@mippet.ci.com.au> References: <20080901153433.G7132@mippet.ci.com.au> Message-ID: <88ad29240809010035p747f0597tb302897d08a6450@mail.gmail.com> Hi The only best way to do it is to create different contact with permissions to the relevant hostgroup this contactshould not be added to authorize all host and service information, commands etc.. in the cgi On Mon, Sep 1, 2008 at 8:39 AM, Dave Horsfall wrote: > Nagios 2.12. > > Is there a way of hiding some hostgroups i.e. don't display them at all? > We have 32 of them, but only a few are really relevant; the rest are used > to associate services with hosts i.e. "these services (hostgroups) are > found on this host" etc. > > -- > Dave Horsfall DTM VK2KFU Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 > (switch) > Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont > 2009, AU > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at gmail.com Mon Sep 1 09:36:28 2008 From: treibholz at gmail.com (Klaus Umbach) Date: Mon, 1 Sep 2008 09:36:28 +0200 Subject: freshness_threshold question Message-ID: <92119d860809010036m41df70f0iebc43ad898203bfa@mail.gmail.com> Hi, I have a local script to backup my Nagios-machine, which writes its status directly in nagios.cmd. This works fine, but after about 3 minutes after the OK it switches back to CRITICAL. The service is passive and the freshness_threshold is set to 26h. Why does it complain after 3 minutes? Cheers Klaus define service{ name backup-job ; The 'name' of this service template active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled freshness_threshold 93600 ;26h event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_interval 0 ; Only send notifications on status change by default. is_volatile 0 check_period 24x7 normal_check_interval 5 retry_check_interval 1 max_check_attempts 4 notification_period 24x7 notification_options w,u,c,r contact_groups admins register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ use backup-job host_name rcc-nagios service_description Backup Status check_command nagios-backup-failed check_freshness 1 max_check_attempts 1 active_checks_enabled 0 passive_checks_enabled 1 } -- First Official Internetdenier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 1 09:49:00 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 13:19:00 +0530 Subject: Problem with new host defination Message-ID: <48BB9E6C.4010609@infoservices.in> Good morning, Hope everyone is well. I am now working to configure my nagios to monitor my remote servers. To monitor one of the remote servers I have made a file called "hosteurope.cfg" A simple configuration with out and serveice. Just to check coonectivity ############################################################################### ############################################################################### # # TIME PERIODS # ############################################################################### ############################################################################### # This defines a timeperiod where all times are valid for checks, # notifications, etc. The classic "24x7" support nightmare. :-) define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours monday 09:30-18:00 tuesday 09:30-18:00 wednesday 09:30-18:00 thursday 09:30-18:00 friday 09:30-18:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:30,18:00-24:00 tuesday 00:00-09:30,18:00-24:00 wednesday 00:00-09:30,18:00-24:00 thursday 00:00-09:30,18:00-24:00 friday 00:00-09:30,18:00-24:00 saturday 00:00-24:00 } # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } ############################################################################### ############################################################################### # # CONTACTS # ############################################################################### ############################################################################### # In this simple config file, a single contact will receive all alerts. # This assumes that you have an account (or email alias) called # "nagios-admin" on the local host. define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email joydeep at infoservices.in } ############################################################################### ############################################################################### # # HOSTS # ############################################################################### ############################################################################### # Generic host definition template - This is NOT a real host, just a template! define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUS> } define host{ name remoteserver ; Name of this template use generic-host ; Inherit default values check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,r contact_groups admins register 0 ; DONT REGISTER THIS - ITS A TEMPLATE } define host{ use remoteserver ; Inherit default values from a template host_name hosteurope_server ; The name we're giving to this server alias SuSe 9.3 ; A longer name for the server address 87.290.19.289 ; IP address of the server } Then I define the cfg file in nagios.cfg like this =================================== # Host and service definitions for monitoring this machine cfg_file=/etc/nagios/localhost.cfg # Host and service definitions for monitoring hosteurope cfg_file=/etc/nagios/hosteurope.cfg =================================== finally when I reload nagios it throws an error like Running configuration check... FAILED! Reload aborted. Check your Nagios configuration. Could any one tell me my mistake ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From moshesharon at gmail.com Mon Sep 1 09:58:09 2008 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 1 Sep 2008 10:58:09 +0300 Subject: Checking who is logged on In-Reply-To: References: Message-ID: <88ad29240809010058y10e329b2j5e18267ccc574a16@mail.gmail.com> Hi Attached simple perl plugin to do what you wanted. Hope it helps -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_logged_users.pl Type: application/octet-stream Size: 1019 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From moshesharon at gmail.com Mon Sep 1 10:03:13 2008 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 1 Sep 2008 11:03:13 +0300 Subject: NAGIOS Distributed Monitoring....Question... In-Reply-To: <1220023462.13965.18.camel@UNIX-TEAM-LACAYO> References: <778D585B75D65E47AE5BD4FB80E9C01E103D7D@CHN-SNR-MBX02.wipro.com> <200808291532.34282.assaf.flatto@ssp.uk.com> <1220023462.13965.18.camel@UNIX-TEAM-LACAYO> Message-ID: <88ad29240809010103y2f05d0c5jea7732a234bf6d23@mail.gmail.com> Hello first what version are you using? second it really depends on various parameters such as timeout and check interval and max_concurrent checks if you set it to 0 and the execution of every check usually takes lower then the timeout interval it should fairly enough to do about 4000+ service checks in 3 -5 minutes cycle. and third it also depends on your hardware if you install nagios on high performance server with Quad processors and memory over 4GB you will probably be able to perform more then 6000 - 7000 service checks. Best Regards -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From flrenegado at gmail.com Mon Sep 1 11:16:12 2008 From: flrenegado at gmail.com (fernando renegado) Date: Mon, 1 Sep 2008 05:16:12 -0400 Subject: status.cgi problem Message-ID: <543c8f860809010216s21b1ff07w6dcfe432c406dd2d@mail.gmail.com> hello, I've a nagios 3.0 installed on suse linux 10. I have difficulty configuring to load status map and historgram-"object not found - error 404". I have followed all the archived solutions to no avail. I've installed and checked all the needed libraries, and configured apache2 to with LD_DIRECTORY_PATH, but still error 404 occurs. Please help. fearnone -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hpsekhon at googlemail.com Mon Sep 1 12:00:36 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 01 Sep 2008 11:00:36 +0100 Subject: Checking who is logged on In-Reply-To: References: Message-ID: <48BBBD44.7030600@googlemail.com> John Moore wrote: > Is there any way to notify me who is logged on? > I know check_users will tell me how many people are logged on. But it > would be nice to know who as well. Did you check NagiosExchange? http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1415.html;d=1 -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 1 11:57:30 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 15:27:30 +0530 Subject: check_nrpe problem with dynamic ip Message-ID: <48BBBC8A.3070203@infoservices.in> Hello All, The remote server where I have installed nrpe, the /etc/nagios/nrpe.cfg has allowed_hosts=127.0.0.1,122.161.137.217 122.161.137.217 is the IP of my local nagios monitoring machine. I put this IP after checking my machine by whatismyip.com My ISP provides dynamic IP. Is there any way to tell nagios to permit nrpe connection from all ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Sep 1 13:10:50 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 1 Sep 2008 11:10:50 +0000 Subject: check_nrpe problem with dynamic ip In-Reply-To: <48BBBC8A.3070203@infoservices.in> References: <48BBBC8A.3070203@infoservices.in> Message-ID: <200809011110.50224.assaf.flatto@ssp.uk.com> On Monday 01 September 2008 09:57:30 J. Bakshi wrote: > Hello All, > > The remote server where I have installed nrpe, the /etc/nagios/nrpe.cfg has > allowed_hosts=127.0.0.1,122.161.137.217 > > 122.161.137.217 is the IP of my local nagios monitoring machine. > I put this IP after checking my machine by whatismyip.com > My ISP provides dynamic IP. Is there any way to tell nagios to permit > nrpe connection from > all ? > > thanks Is your nagis machine ip changes all the time ? or is it your devices Ip that is changing ? You do not need to tell nagios to permit the connection . you need to tell the nrpe on all the hosts you are checking that the nagios host's ip has been changed and has a new . As far as i know there is no automated plugin , what you can do is write a script to query the dns of your nagios and replace the existing IP with the new result . Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matthiashaider at mac.com Mon Sep 1 12:24:52 2008 From: matthiashaider at mac.com (Matthias Haider) Date: Mon, 01 Sep 2008 12:24:52 +0200 Subject: downtime history in nagios Message-ID: Hello, Is there any possibility to see old downtimes (those already over) in nagios? The only way i found so far is to grep in the logfiles, which is not very comfortable? br, Matthias Haider ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 1 12:20:32 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 15:50:32 +0530 Subject: check_nrpe problem with dynamic ip In-Reply-To: <200809011110.50224.assaf.flatto@ssp.uk.com> References: <48BBBC8A.3070203@infoservices.in> <200809011110.50224.assaf.flatto@ssp.uk.com> Message-ID: <48BBC1F0.9030506@infoservices.in> Assaf Flatto wrote: > On Monday 01 September 2008 09:57:30 J. Bakshi wrote: > >> Hello All, >> >> The remote server where I have installed nrpe, the /etc/nagios/nrpe.cfg has >> allowed_hosts=127.0.0.1,122.161.137.217 >> >> 122.161.137.217 is the IP of my local nagios monitoring machine. >> I put this IP after checking my machine by whatismyip.com >> My ISP provides dynamic IP. Is there any way to tell nagios to permit >> nrpe connection from >> all ? >> >> thanks >> > > Is your nagis machine ip changes all the time ? > or is it your devices Ip that is changing ? > Hi Assaf, thanks for your kind response. yes the local machine where the nagios is installed has dynamic address. The Ip changes after every 2/3 days. Hence I have to change the "allowed_hosts=" parameter accordingly at the remote machine running nrpe daemon. How can I solve this problem ? thanks > You do not need to tell nagios to permit the connection . you need to tell the nrpe on all the hosts > you are checking that the nagios host's ip has been changed and has a new . > > As far as i know there is no automated plugin , what you can do is write a script to query the dns > of your nagios and replace the existing IP with the new result . > > Assaf > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 1 12:33:05 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 16:03:05 +0530 Subject: Problem with new host defination In-Reply-To: <48BB7C83.1080302@infoservices.in> References: <48BB7C83.1080302@infoservices.in> Message-ID: <48BBC4E1.90507@infoservices.in> J. Bakshi wrote: > Good morning, > > Hope everyone is well. > > I am now working to configure my nagios to monitor my remote servers. > Dear all, I am still fighting with the host definition with out any luck :-( This time I am using more simple configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` define host{ name linux-box ; Name of this template use generic-host ; Inherit default values check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,r contact_groups admins register 0 ; DONT REGISTER THIS - ITS A TEMPLATE } define host{ use linux-box ; Inherit default values from a template host_name remotehost ; The name we're giving to this server alias Fedora Core 6 ; A longer name for the server address 192.168.0.1 ; IP address of the server } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Could any one sggest me what I am missing actually ??? thanks > To monitor one of the remote servers I have made a file called > "hosteurope.cfg" > A simple configuration with out and serveice. Just to check coonectivity > > ############################################################################### > ############################################################################### > # > # TIME PERIODS > # > ############################################################################### > ############################################################################### > > # This defines a timeperiod where all times are valid for checks, > # notifications, etc. The classic "24x7" support nightmare. :-) > > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > # 'workhours' timeperiod definition > define timeperiod{ > timeperiod_name workhours > alias "Normal" Working Hours > monday 09:30-18:00 > tuesday 09:30-18:00 > wednesday 09:30-18:00 > thursday 09:30-18:00 > friday 09:30-18:00 > } > > > # 'nonworkhours' timeperiod definition > define timeperiod{ > timeperiod_name nonworkhours > alias Non-Work Hours > sunday 00:00-24:00 > monday 00:00-09:30,18:00-24:00 > tuesday 00:00-09:30,18:00-24:00 > wednesday 00:00-09:30,18:00-24:00 > thursday 00:00-09:30,18:00-24:00 > friday 00:00-09:30,18:00-24:00 > saturday 00:00-24:00 > } > > > # 'none' timeperiod definition > define timeperiod{ > timeperiod_name none > alias No Time Is A Good Time > } > ############################################################################### > ############################################################################### > # > # CONTACTS > # > ############################################################################### > ############################################################################### > > # In this simple config file, a single contact will receive all alerts. > # This assumes that you have an account (or email alias) called > # "nagios-admin" on the local host. > > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email joydeep at infoservices.in > } > > > ############################################################################### > ############################################################################### > # > # HOSTS > # > ############################################################################### > ############################################################################### > > # Generic host definition template - This is NOT a real host, just a > template! > > define host{ > name generic-host ; The name of > this host template > notifications_enabled 1 ; Host notifications > are enabled > event_handler_enabled 1 ; Host event handler > is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction > is enabled > process_perf_data 1 ; Process performance > data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > notification_period 24x7 ; Send host notifications at any > time > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUS> > } > > define host{ > name remoteserver ; Name of this > template > use generic-host ; Inherit default > values > check_period 24x7 > check_interval 5 > retry_interval 1 > max_check_attempts 10 > check_command check-host-alive > notification_period 24x7 > notification_interval 30 > notification_options d,r > contact_groups admins > register 0 ; DONT REGISTER THIS - ITS A > TEMPLATE > } > > > define host{ > use remoteserver ; Inherit default values from a > template > host_name hosteurope_server ; The name we're giving to this > server > alias SuSe 9.3 ; A longer name for the server > address 87.290.19.289 ; IP address of the server > } > > Then I define the cfg file in nagios.cfg like this > =================================== > # Host and service definitions for monitoring this machine > cfg_file=/etc/nagios/localhost.cfg > > # Host and service definitions for monitoring hosteurope > cfg_file=/etc/nagios/hosteurope.cfg > =================================== > > finally when I reload nagios it throws an error like > Running configuration check... FAILED! Reload aborted. Check your > Nagios configuration. > > Could any one tell me my mistake ? > thanks > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 1 12:33:37 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 16:03:37 +0530 Subject: Problem with new host defination In-Reply-To: <48BB7C83.1080302@infoservices.in> References: <48BB7C83.1080302@infoservices.in> Message-ID: <48BBC501.6020201@infoservices.in> J. Bakshi wrote: > Good morning, > > Hope everyone is well. > > I am now working to configure my nagios to monitor my remote servers. > Dear all, I am still fighting with the host definition with out any luck :-( This time I am using more simple configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` define host{ name linux-box ; Name of this template use generic-host ; Inherit default values check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,r contact_groups admins register 0 ; DONT REGISTER THIS - ITS A TEMPLATE } define host{ use linux-box ; Inherit default values from a template host_name remotehost ; The name we're giving to this server alias Fedora Core 6 ; A longer name for the server address 127.0.0.1 ; IP address of the server } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Could any one sggest me what I am missing actually ??? thanks > To monitor one of the remote servers I have made a file called > "hosteurope.cfg" > A simple configuration with out and serveice. Just to check coonectivity > > ############################################################################### > ############################################################################### > # > # TIME PERIODS > # > ############################################################################### > ############################################################################### > > # This defines a timeperiod where all times are valid for checks, > # notifications, etc. The classic "24x7" support nightmare. :-) > > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > # 'workhours' timeperiod definition > define timeperiod{ > timeperiod_name workhours > alias "Normal" Working Hours > monday 09:30-18:00 > tuesday 09:30-18:00 > wednesday 09:30-18:00 > thursday 09:30-18:00 > friday 09:30-18:00 > } > > > # 'nonworkhours' timeperiod definition > define timeperiod{ > timeperiod_name nonworkhours > alias Non-Work Hours > sunday 00:00-24:00 > monday 00:00-09:30,18:00-24:00 > tuesday 00:00-09:30,18:00-24:00 > wednesday 00:00-09:30,18:00-24:00 > thursday 00:00-09:30,18:00-24:00 > friday 00:00-09:30,18:00-24:00 > saturday 00:00-24:00 > } > > > # 'none' timeperiod definition > define timeperiod{ > timeperiod_name none > alias No Time Is A Good Time > } > ############################################################################### > ############################################################################### > # > # CONTACTS > # > ############################################################################### > ############################################################################### > > # In this simple config file, a single contact will receive all alerts. > # This assumes that you have an account (or email alias) called > # "nagios-admin" on the local host. > > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email joydeep at infoservices.in > } > > > ############################################################################### > ############################################################################### > # > # HOSTS > # > ############################################################################### > ############################################################################### > > # Generic host definition template - This is NOT a real host, just a > template! > > define host{ > name generic-host ; The name of > this host template > notifications_enabled 1 ; Host notifications > are enabled > event_handler_enabled 1 ; Host event handler > is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction > is enabled > process_perf_data 1 ; Process performance > data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > notification_period 24x7 ; Send host notifications at any > time > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUS> > } > > define host{ > name remoteserver ; Name of this > template > use generic-host ; Inherit default > values > check_period 24x7 > check_interval 5 > retry_interval 1 > max_check_attempts 10 > check_command check-host-alive > notification_period 24x7 > notification_interval 30 > notification_options d,r > contact_groups admins > register 0 ; DONT REGISTER THIS - ITS A > TEMPLATE > } > > > define host{ > use remoteserver ; Inherit default values from a > template > host_name hosteurope_server ; The name we're giving to this > server > alias SuSe 9.3 ; A longer name for the server > address 87.290.19.289 ; IP address of the server > } > > Then I define the cfg file in nagios.cfg like this > =================================== > # Host and service definitions for monitoring this machine > cfg_file=/etc/nagios/localhost.cfg > > # Host and service definitions for monitoring hosteurope > cfg_file=/etc/nagios/hosteurope.cfg > =================================== > > finally when I reload nagios it throws an error like > Running configuration check... FAILED! Reload aborted. Check your > Nagios configuration. > > Could any one tell me my mistake ? > thanks > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Sep 1 13:48:36 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 1 Sep 2008 11:48:36 +0000 Subject: check_nrpe problem with dynamic ip In-Reply-To: <48BBC1F0.9030506@infoservices.in> References: <48BBBC8A.3070203@infoservices.in> Message-ID: <200809011148.36908.assaf.flatto@ssp.uk.com> you can write a simple script that query the new dns/ip address of the nagios ping nagios.foo.com |head -1 | awk '{print $3}' |tr -d '(' ')' this will give the ip ,take the ip and replace that in the nrpe.cfg and run the script in the cron every 2 days to make sure it gets the new ip . Assaf On Monday 01 September 2008 10:20:32 J. Bakshi wrote: > Assaf Flatto wrote: > > On Monday 01 September 2008 09:57:30 J. Bakshi wrote: > >> Hello All, > >> > >> The remote server where I have installed nrpe, the /etc/nagios/nrpe.cfg > >> has allowed_hosts=127.0.0.1,122.161.137.217 > >> > >> 122.161.137.217 is the IP of my local nagios monitoring machine. > >> I put this IP after checking my machine by whatismyip.com > >> My ISP provides dynamic IP. Is there any way to tell nagios to permit > >> nrpe connection from > >> all ? > >> > >> thanks > > > > Is your nagis machine ip changes all the time ? > > or is it your devices Ip that is changing ? > > Hi Assaf, > thanks for your kind response. > > yes the local machine where the nagios is installed has dynamic address. > The Ip changes after every 2/3 days. > Hence I have to change the "allowed_hosts=" parameter accordingly at the > remote machine running nrpe daemon. > How can I solve this problem ? > > thanks > > > You do not need to tell nagios to permit the connection . you need to > > tell the nrpe on all the hosts you are checking that the nagios host's ip > > has been changed and has a new . > > > > As far as i know there is no automated plugin , what you can do is write > > a script to query the dns of your nagios and replace the existing IP with > > the new result . > > > > Assaf > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally privileged and/or protected by law. It is intended solely for the > > use of the person to whom it is addressed. If you are not the intended > > recipient, please notify the sender immediately and do not disclose the > > contents to any other person, use it for any purpose, or store or copy > > the information in any medium. Please also delete all copies of this > > email and any attachments from your system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We do not accept any liability for losses or damages that > > you may suffer as a result of your receipt of this email including but > > not limited to computer service or system failure, access delays or > > interruption, data non-delivery or mis-delivery, computer viruses or > > other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK Limited. Should you communicate with anyone at Select Service > > Partner UK Limited by email, you consent to us monitoring and reading any > > such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales (company number 05687183) whose registered office is at 1 The > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > > win great prizes Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 1 12:55:43 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 16:25:43 +0530 Subject: check_nrpe problem with dynamic ip In-Reply-To: <200809011148.36908.assaf.flatto@ssp.uk.com> References: <48BBBC8A.3070203@infoservices.in> <200809011148.36908.assaf.flatto@ssp.uk.com> Message-ID: <48BBCA2F.6060208@infoservices.in> Assaf Flatto wrote: > you can write a simple script that query the new dns/ip address of the nagios > > ping nagios.foo.com |head -1 | awk '{print $3}' |tr -d '(' ')' > > this will give the ip ,take the ip and replace that in the nrpe.cfg > > and run the script in the cron every 2 days to make sure it gets the new ip . > Hi Assaf, I am afraid to say, but i can't understand its utility. how this script help the remote nrpe daemon a.k.a "/etc/nagios/nrpe.cfg" to know the IP of my local machine ? The "allowed_hosts" needs to know the IP of my local machine so that I can use nrpe_check command from my local machine. many thanks > Assaf > > On Monday 01 September 2008 10:20:32 J. Bakshi wrote: > >> Assaf Flatto wrote: >> >>> On Monday 01 September 2008 09:57:30 J. Bakshi wrote: >>> >>>> Hello All, >>>> >>>> The remote server where I have installed nrpe, the /etc/nagios/nrpe.cfg >>>> has allowed_hosts=127.0.0.1,122.161.137.217 >>>> >>>> 122.161.137.217 is the IP of my local nagios monitoring machine. >>>> I put this IP after checking my machine by whatismyip.com >>>> My ISP provides dynamic IP. Is there any way to tell nagios to permit >>>> nrpe connection from >>>> all ? >>>> >>>> thanks >>>> >>> Is your nagis machine ip changes all the time ? >>> or is it your devices Ip that is changing ? >>> >> Hi Assaf, >> thanks for your kind response. >> >> yes the local machine where the nagios is installed has dynamic address. >> The Ip changes after every 2/3 days. >> Hence I have to change the "allowed_hosts=" parameter accordingly at the >> remote machine running nrpe daemon. >> How can I solve this problem ? >> >> thanks >> >> >>> You do not need to tell nagios to permit the connection . you need to >>> tell the nrpe on all the hosts you are checking that the nagios host's ip >>> has been changed and has a new . >>> >>> As far as i know there is no automated plugin , what you can do is write >>> a script to query the dns of your nagios and replace the existing IP with >>> the new result . >>> >>> Assaf >>> >>> >>> >>> >>> IMPORTANT . this email and the information in it may be confidential, >>> legally privileged and/or protected by law. It is intended solely for the >>> use of the person to whom it is addressed. If you are not the intended >>> recipient, please notify the sender immediately and do not disclose the >>> contents to any other person, use it for any purpose, or store or copy >>> the information in any medium. Please also delete all copies of this >>> email and any attachments from your system. >>> >>> We cannot guarantee the security or confidentiality of email >>> communications. We do not accept any liability for losses or damages that >>> you may suffer as a result of your receipt of this email including but >>> not limited to computer service or system failure, access delays or >>> interruption, data non-delivery or mis-delivery, computer viruses or >>> other harmful components. >>> >>> Copyright in this email and any attachments belong to Select Service >>> Partner UK Limited. Should you communicate with anyone at Select Service >>> Partner UK Limited by email, you consent to us monitoring and reading any >>> such correspondence. >>> >>> Nothing in this email shall be taken or read as suggesting, proposing or >>> relating to any agreement concerted practice or other practice that could >>> infringe UK or EC competition legislation. >>> >>> Select Service Partner UK Limited is a company registered in England and >>> Wales (company number 05687183) whose registered office is at 1 The >>> Heights, Brooklands, Weybridge. Surrey. KT13 0NY >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge Build the coolest Linux based applications with Moblin SDK & >>> win great prizes Grand prize is a trip for two to an Open Source event >>> anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> > > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Sep 1 14:08:11 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 1 Sep 2008 12:08:11 +0000 Subject: check_nrpe problem with dynamic ip In-Reply-To: <48BBCA2F.6060208@infoservices.in> References: <48BBBC8A.3070203@infoservices.in> Message-ID: <200809011208.11486.assaf.flatto@ssp.uk.com> > Hi Assaf, > > I am afraid to say, but i can't understand its utility. > how this script help the remote nrpe daemon a.k.a "/etc/nagios/nrpe.cfg" > to know the IP of my local machine ? The "allowed_hosts" needs to know the > IP of my local machine so that I can use nrpe_check command from my > local machine. > > many thanks > nrpe is the listening utility on a server waiting requests from the nagios server . It has a "access limiter" as to make sure that only one server can query it , that is the "allowed_hosts" directive . If your nagios ip is changed - and the local machine ip hasn't , then you need to tell the local machine the Nagios server has a IP so it will accept the requests from the new ip . this is done by replacing the nagios server ip in the allowed_hosts directve (you have it as 122.xxx.xxx.xxx) . Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 1 13:15:48 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Sep 2008 16:45:48 +0530 Subject: check_nrpe problem with dynamic ip In-Reply-To: <200809011208.11486.assaf.flatto@ssp.uk.com> References: <48BBBC8A.3070203@infoservices.in> <200809011208.11486.assaf.flatto@ssp.uk.com> Message-ID: <48BBCEE4.3050203@infoservices.in> Assaf Flatto wrote: >> Hi Assaf, >> >> I am afraid to say, but i can't understand its utility. >> how this script help the remote nrpe daemon a.k.a "/etc/nagios/nrpe.cfg" >> to know the IP of my local machine ? The "allowed_hosts" needs to know the >> IP of my local machine so that I can use nrpe_check command from my >> local machine. >> >> many thanks >> >> > > nrpe is the listening utility on a server waiting requests from the nagios server . > It has a "access limiter" as to make sure that only one server can query it , that is > the "allowed_hosts" directive . > > If your nagios ip is changed - and the local machine ip hasn't , then you need to tell the local > machine the Nagios server has a IP so it will accept the requests from the new ip . > > this is done by replacing the nagios server ip in the allowed_hosts directve (you have it as > 122.xxx.xxx.xxx) . > Exactly, I can communicate with the remote nrpe server by replacing the allowed_hosts directive at the "/etc/nagios/nrpe.cfg" file. But as I mentioned before this demands to change the allowed_hosts as soon as my local machine's IP ( which is dynamic ) is being change. I'm looking a solution to overcome this. Practically the point of allowing limited IPs by allowed_hosts directive is OK. But buy chance if there is any option to over ride this, I can also monitor that remote server with out modifying its "/etc/nagios/nrpe.cfg" after every 2/3 days. > Assaf > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Steven.Battaille at ap2.be Mon Sep 1 15:12:47 2008 From: Steven.Battaille at ap2.be (Steven Battaille) Date: Mon, 1 Sep 2008 15:12:47 +0200 Subject: multiple nagios instances on one machine Message-ID: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> Hello Is there anyone who can tell me if it is possible to run more than one instance of nagios on the same machine? This could be very handy to have different nagios installations for different customers. Thanks in advance. Steven Battaille Advanced Projects & Products President Kennedypark 41 B-8500 Kortrijk Belgium www.ap2.be -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Gerhard.Lausser at consol.de Mon Sep 1 15:49:22 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 1 Sep 2008 15:49:22 +0200 Subject: multiple nagios instances on one machine In-Reply-To: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> References: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> Message-ID: Hi, this might be what you're looking for: http://people.consol.de/~lausser/nagios/more-than-one-nagios.html Gerhard _____ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Steven Battaille Gesendet: Montag, 1. September 2008 15:13 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] multiple nagios instances on one machine Hello Is there anyone who can tell me if it is possible to run more than one instance of nagios on the same machine? This could be very handy to have different nagios installations for different customers. Thanks in advance. Steven Battaille Advanced Projects & Products President Kennedypark 41 B-8500 Kortrijk Belgium www.ap2.be -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Sep 1 17:19:58 2008 From: marc at ena.com (Marc Powell) Date: Mon, 1 Sep 2008 10:19:58 -0500 Subject: Problem with new host defination In-Reply-To: <48BB7C83.1080302@infoservices.in> References: <48BB7C83.1080302@infoservices.in> Message-ID: <47FCBAB4-029C-4137-BDC9-5A4D0BDDC875@ena.com> On Sep 1, 2008, at 12:24 AM, J. Bakshi wrote: > Good morning, > > Hope everyone is well. > > I am now working to configure my nagios to monitor my remote servers. > > finally when I reload nagios it throws an error like > Running configuration check... FAILED! Reload aborted. Check your > Nagios configuration. > > Could any one tell me my mistake ? If you run '/path/to/nagios -v /path/to/nagios.cfg' nagios will verify your configuration and notify you of any errors. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Sep 1 17:26:10 2008 From: marc at ena.com (Marc Powell) Date: Mon, 1 Sep 2008 10:26:10 -0500 Subject: multiple nagios instances on one machine In-Reply-To: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> References: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> Message-ID: On Sep 1, 2008, at 8:12 AM, Steven Battaille wrote: > Hello > > Is there anyone who can tell me if it is possible to run more than > one instance of nagios on the same machine? > > This could be very handy to have different nagios installations for > different customers. Seems a lot more complicated than the nagios way of handling that with CGI Authorization. When logged in, users are only able to see the hosts and services they are contact for. It works well here for many thousands of contact groups... -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From paul.weaver at bbc.co.uk Mon Sep 1 17:34:00 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Mon, 1 Sep 2008 16:34:00 +0100 Subject: multiple nagios instances on one machine In-Reply-To: References: Message-ID: But if people want different additions to nagios, want tweaks to the cgi's (we have a link into our documentation system for example), etc. You may want to keep them completely separate. Running nagios in a VM would seem the obvious answer though. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: 01 September 2008 16:26 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] multiple nagios instances on one machine > > > > On Sep 1, 2008, at 8:12 AM, Steven Battaille wrote: > > > Hello > > > > Is there anyone who can tell me if it is possible to run more than > > one instance of nagios on the same machine? > > > > This could be very handy to have different nagios installations for > > different customers. > > Seems a lot more complicated than the nagios way of handling > that with > CGI Authorization. When logged in, users are only able to see the > hosts and services they are contact for. It works well here for many > thousands of contact groups... > > -- > Marc > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Sep 1 17:41:40 2008 From: marc at ena.com (Marc Powell) Date: Mon, 1 Sep 2008 10:41:40 -0500 Subject: multiple nagios instances on one machine In-Reply-To: References: Message-ID: <678A3655-44A0-47AE-9DD9-AA5EE19DB965@ena.com> On Sep 1, 2008, at 10:34 AM, Paul Weaver wrote: > But if people want different additions to nagios, want tweaks to the > cgi's (we have a link into our documentation system for example), etc. > You may want to keep them completely separate. Certainly, but those kinds of changes aren't why 99% of people ask if it's possible to run multiple instances. ;) Without specific details I tend to cover the common case first =) -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Sep 1 17:47:02 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 01 Sep 2008 17:47:02 +0200 Subject: multiple nagios instances on one machine In-Reply-To: References: Message-ID: <48BC0E76.1030405@op5.se> Paul Weaver wrote: > But if people want different additions to nagios, want tweaks to the > cgi's (we have a link into our documentation system for example), etc. > You may want to keep them completely separate. > > Running nagios in a VM would seem the obvious answer though. > Running Nagios inside a VM is not a very good idea. Nagios depends rather heavily on the system clock moving forward in a steady pace. Testing turned to hell here at op5 when our test-systems ran in VM's due to the (sometimes) insane clock drifts we could see. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Tue Sep 2 05:14:55 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Mon, 1 Sep 2008 23:14:55 -0400 Subject: Hiding hostgroups In-Reply-To: <20080902093641.V42401@mippet.ci.com.au> References: <20080901153433.G7132@mippet.ci.com.au><88ad29240809010035p747f0597tb302897d08a6450@mail.gmail.com> <20080902093641.V42401@mippet.ci.com.au> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1408BE29@srv-1exch01.sourceinterlink.com> Just use the "register 0" to hide the hostgroup from the CGI's. The group will still be used in service definitions, etc. by the Nagios daemon. (this seems to be an undocumented feature and I haven't actually tested it in Nagios 3 but I used it in Nagios 2.11.) -Jake -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dave Horsfall Sent: Monday, September 01, 2008 7:39 PM To: Nagios Users Subject: Re: [Nagios-users] Hiding hostgroups On Mon, 1 Sep 2008, moshe sharon wrote: > The only best way to do it is to create different contact with > permissions to the relevant hostgroup this contactshould not be added to > authorize all host and service information, commands etc.. in the cgi Unfortunately only hosts (and services) can have contacts, not host groups. -- Dave Horsfall DTM VK2KFU Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch) Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 06:34:30 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 10:04:30 +0530 Subject: Problem with new host defination In-Reply-To: <47FCBAB4-029C-4137-BDC9-5A4D0BDDC875@ena.com> References: <48BB7C83.1080302@infoservices.in> <47FCBAB4-029C-4137-BDC9-5A4D0BDDC875@ena.com> Message-ID: <48BCC256.7040804@infoservices.in> Marc Powell wrote: > On Sep 1, 2008, at 12:24 AM, J. Bakshi wrote: > > >> Good morning, >> >> Hope everyone is well. >> >> I am now working to configure my nagios to monitor my remote servers. >> > > >> finally when I reload nagios it throws an error like >> Running configuration check... FAILED! Reload aborted. Check your >> Nagios configuration. >> >> Could any one tell me my mistake ? >> > > If you run '/path/to/nagios -v /path/to/nagios.cfg' nagios will verify > your configuration and notify you of any errors. > Hi Marc, thanks for your response. I have finally managed to have a working hist definition. thanks > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 07:00:02 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 10:30:02 +0530 Subject: nrpe + System call sent warnings to stderr Message-ID: <48BCC852.2050005@infoservices.in> Dear list, yesterday I managed to have a working host definition for one of my remote servers and it is working :-) Today I have added two more service definition to check the zombie and total process on the remote server running nrpe. But in nagios monitoring the zombie and total process column reports "System call sent warnings to stderr" The remote server where nrpe is runnibg has suse 9.3 and the nrpe is nagios-nrpe-2.0-111. Could any one suggest me the reason of this error ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 09:37:08 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 13:07:08 +0530 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? Message-ID: <48BCED24.5060207@infoservices.in> Dear list, I have installed nagios-nrpe 2.0 nagios-plugins 1.4 nagios-plugins-extras 1.4 How can I check smtps, ldaps, pop3s, imaps with nrpe ? the default check_smtp ; check_imap etc can't check the SSL version of the services. thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cschneemann at suse.de Tue Sep 2 10:40:43 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 2 Sep 2008 10:40:43 +0200 Subject: Hiding hostgroups In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1408BE29@srv-1exch01.sourceinterlink.com> References: <20080901153433.G7132@mippet.ci.com.au> <20080902093641.V42401@mippet.ci.com.au> <79B77295FBC9F247A32A6C98B67B1E1408BE29@srv-1exch01.sourceinterlink.com> Message-ID: <200809021040.44167.cschneemann@suse.de> On Tuesday September 2 2008 05:14:55 am Paulus, Jake wrote: > Just use the "register 0" to hide the hostgroup from the CGI's. The > group will still be used in service definitions, etc. by the Nagios > daemon. (this seems to be an undocumented feature and I haven't actually > tested it in Nagios 3 but I used it in Nagios 2.11.) I use this "feauture" in Nagios3. So it works there too. Christian > > -Jake > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dave > Horsfall > Sent: Monday, September 01, 2008 7:39 PM > To: Nagios Users > Subject: Re: [Nagios-users] Hiding hostgroups > > On Mon, 1 Sep 2008, moshe sharon wrote: > > The only best way to do it is to create different contact with > > permissions to the relevant hostgroup this contactshould not be added > > to > > > authorize all host and service information, commands etc.. in the cgi > > Unfortunately only hosts (and services) can have contacts, not host > groups. -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Tue Sep 2 11:00:27 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 02 Sep 2008 11:00:27 +0200 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BCFCF2.2040501@infoservices.in> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> Message-ID: <48BD00AB.8070101@its-lehmann.de> Hello, please respond to the list. 02.09.2008 10:44, J. Bakshi wrote: > Arno Lehmann wrote: >> Hi, >> >> 02.09.2008 09:37, J. Bakshi wrote: >>> Dear list, >>> >>> I have installed >>> >>> nagios-nrpe 2.0 >>> nagios-plugins 1.4 >>> nagios-plugins-extras 1.4 >>> >>> How can I check smtps, ldaps, pop3s, imaps with nrpe ? >>> the default check_smtp ; check_imap etc can't check the SSL version of >>> the services. >> Mine can; call them with -h for help and read the output. I usually >> use the -S swich plus, as needed, -p for the target port. >> >> Example output: >> $ /usr/local/nagios3/libexec/check_imap -H 192.168.1.2 -S -p 993 -D 12 >> OK - Certificate will expire on 04/27/2009 21:13. >> IMAP OK - 0.060 second response time on port 993 [* OK IMAP4 Ready >> balrog.privat.lehleute.de 0001b1a4]|time=0.059891s;;;0.000000;10.000000 >> > > Hi Arno, > > first of all thanks for your kind response. I have also found the "-S" > option but the story is different here and it is > negative :-( > > here is the nmap output which proves the required port are open It does not actually prove the services are listening on localhost, and that access is not filtered, for example by hosts files. > PORT STATE SERVICE > 25/tcp open smtp > 80/tcp open http > 143/tcp open imap > 389/tcp open ldap > 443/tcp open https > 465/tcp open smtps > 993/tcp open imaps > 995/tcp open pop3s > 1234/tcp open hotline > 2000/tcp open callbook > 3306/tcp open mysql > > more important I can use the SSL enabled services, like pop3s , smtps etc... > > If I check with check_smtp I get the following > > /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 -S -v > CRITICAL - Socket timeout after 10 seconds Check with the ip address that is usually used - it's quite possible the service is not bound to localhost. > And here is the check fir ftp :-( > > /usr/lib/nagios/plugins/check_ftp -H localhost -p 60021 -S -v > CRITICAL - Cannot make SSL connection 13948:error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > Plese note I am practically using ftps, smtps, pop3s > > I have no clue really. > Hope you can enlighten me to point out my mistake. Try what I suggested... that's what I'd do now. Arno > with many thanks > >> Arno >> >>> thanks >>> >>> > > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabr?ck www.its-lehmann.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 11:08:27 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 09:08:27 +0000 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BD00AB.8070101@its-lehmann.de> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> Message-ID: <4b008f7d0809020208t52f0e805kbaeeb38124e3c1a0@mail.gmail.com> Connect to the host locally and telnet on each of the ports that are opened. Verify if you have a firewall running that are filtering access to the machine in anyway. telnet localhost 25 - if that works Connect another machine to the same switch and telnet ip.addr.xx.xx 25 and see if you can connect If these work, there is no reason why nagios plugins shouldn't work Regards, Lex On Tue, Sep 2, 2008 at 9:00 AM, Arno Lehmann wrote: > Hello, > > please respond to the list. > > 02.09.2008 10:44, J. Bakshi wrote: > > Arno Lehmann wrote: > >> Hi, > >> > >> 02.09.2008 09:37, J. Bakshi wrote: > >>> Dear list, > >>> > >>> I have installed > >>> > >>> nagios-nrpe 2.0 > >>> nagios-plugins 1.4 > >>> nagios-plugins-extras 1.4 > >>> > >>> How can I check smtps, ldaps, pop3s, imaps with nrpe ? > >>> the default check_smtp ; check_imap etc can't check the SSL version of > >>> the services. > >> Mine can; call them with -h for help and read the output. I usually > >> use the -S swich plus, as needed, -p for the target port. > >> > >> Example output: > >> $ /usr/local/nagios3/libexec/check_imap -H 192.168.1.2 -S -p 993 -D 12 > >> OK - Certificate will expire on 04/27/2009 21:13. > >> IMAP OK - 0.060 second response time on port 993 [* OK IMAP4 Ready > >> balrog.privat.lehleute.de 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > >> > > > > Hi Arno, > > > > first of all thanks for your kind response. I have also found the "-S" > > option but the story is different here and it is > > negative :-( > > > > here is the nmap output which proves the required port are open > > It does not actually prove the services are listening on localhost, > and that access is not filtered, for example by hosts files. > > > PORT STATE SERVICE > > 25/tcp open smtp > > 80/tcp open http > > 143/tcp open imap > > 389/tcp open ldap > > 443/tcp open https > > 465/tcp open smtps > > 993/tcp open imaps > > 995/tcp open pop3s > > 1234/tcp open hotline > > 2000/tcp open callbook > > 3306/tcp open mysql > > > > more important I can use the SSL enabled services, like pop3s , smtps > etc... > > > > If I check with check_smtp I get the following > > > > /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 -S -v > > CRITICAL - Socket timeout after 10 seconds > > Check with the ip address that is usually used - it's quite possible > the service is not bound to localhost. > > > And here is the check fir ftp :-( > > > > /usr/lib/nagios/plugins/check_ftp -H localhost -p 60021 -S -v > > CRITICAL - Cannot make SSL connection 13948:error:140770FC:SSL > > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > > > Plese note I am practically using ftps, smtps, pop3s > > > > I have no clue really. > > Hope you can enlighten me to point out my mistake. > > Try what I suggested... that's what I'd do now. > > Arno > > > with many thanks > > > >> Arno > >> > >>> thanks > >>> > >>> > > > > > > -- > Arno Lehmann > IT-Service Lehmann > Sandstr. 6, 49080 Osnabr?ck > www.its-lehmann.de > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 11:26:03 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 14:56:03 +0530 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BD00AB.8070101@its-lehmann.de> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> Message-ID: <48BD06AB.3050304@infoservices.in> Arno Lehmann wrote: > Hello, > > please respond to the list. > > 02.09.2008 10:44, J. Bakshi wrote: > >> Arno Lehmann wrote: >> >>> Hi, >>> >>> 02.09.2008 09:37, J. Bakshi wrote: >>> >>>> Dear list, >>>> >>>> I have installed >>>> >>>> nagios-nrpe 2.0 >>>> nagios-plugins 1.4 >>>> nagios-plugins-extras 1.4 >>>> >>>> How can I check smtps, ldaps, pop3s, imaps with nrpe ? >>>> the default check_smtp ; check_imap etc can't check the SSL version of >>>> the services. >>>> >>> Mine can; call them with -h for help and read the output. I usually >>> use the -S swich plus, as needed, -p for the target port. >>> >>> Example output: >>> $ /usr/local/nagios3/libexec/check_imap -H 192.168.1.2 -S -p 993 -D 12 >>> OK - Certificate will expire on 04/27/2009 21:13. >>> IMAP OK - 0.060 second response time on port 993 [* OK IMAP4 Ready >>> balrog.privat.lehleute.de 0001b1a4]|time=0.059891s;;;0.000000;10.000000 >>> >>> >> Hi Arno, >> >> first of all thanks for your kind response. I have also found the "-S" >> option but the story is different here and it is >> negative :-( >> >> here is the nmap output which proves the required port are open >> > > It does not actually prove the services are listening on localhost, > and that access is not filtered, for example by hosts files. > > >> PORT STATE SERVICE >> 25/tcp open smtp >> 80/tcp open http >> 143/tcp open imap >> 389/tcp open ldap >> 443/tcp open https >> 465/tcp open smtps >> 993/tcp open imaps >> 995/tcp open pop3s >> 1234/tcp open hotline >> 2000/tcp open callbook >> 3306/tcp open mysql >> >> more important I can use the SSL enabled services, like pop3s , smtps etc... >> >> If I check with check_smtp I get the following >> >> /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 -S -v >> CRITICAL - Socket timeout after 10 seconds >> > > Check with the ip address that is usually used - it's quite possible > the service is not bound to localhost. > > >> And here is the check fir ftp :-( >> >> /usr/lib/nagios/plugins/check_ftp -H localhost -p 60021 -S -v >> CRITICAL - Cannot make SSL connection 13948:error:140770FC:SSL >> routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: >> >> Plese note I am practically using ftps, smtps, pop3s >> >> I have no clue really. >> Hope you can enlighten me to point out my mistake. >> > > Try what I suggested... that's what I'd do now. > > Arno > Dear Arno and Alex, thanks a lot for your kind guidance. Arno, I have also checked with IP but no success. Here is some more feedback which you can find interesting #### IMAPS successful ########## /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S -w 5 -c 8 -t 10 IMAP OK - 0.099 second response time on port 993 [* OK Cyrus IMAP4 v2.2.12 server ready] |time=0.098621s;5.000000;8.000000;0.000000;10.000000 ######## POP3S successful ########## /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 -c 8 -t 10 -S POP OK - 0.101 second response time on port 995 [+OK lvps87?230?8?228. Cyrus POP3 v2.2.12 server ready <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de>] |time=0.101278s;5.000000;8.000000;0.000000;10.000000 ######## SMTPS failed but telnet successful ######### /usr/lib/nagios/plugins/check_smtp -H -p 465 -w 5 -c 8 -t 10 -S CRITICAL - Socket timeout after 10 seconds telnet 87.230.8.228 465 Trying 87.230.8.228... Connected to 87.230.8.228. Escape character is '^]'. quit quit Connection closed by foreign host. ####### FTPS failed but successful by telnet ###############33 /usr/lib/nagios/plugins/check_ftp -H -p 60021 -w 5 -c 8 -t 10 -S CRITICAL - Cannot make SSL connection 30050:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: telnet localhost 60021 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 *******This server is configured by Jatasankar******* 530 Please login with USER and PASS. 530 Please login with USER and PASS. quit 221 Goodbye. Connection closed by foreign host. Any clue ? thanks > >> with many thanks >> >> >>> Arno >>> >>> >>>> thanks >>>> >>>> >>>> >> > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 11:41:10 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 09:41:10 +0000 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BD06AB.3050304@infoservices.in> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> <48BD06AB.3050304@infoservices.in> Message-ID: <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> Your smtp server and your ftp server, are they different from your pop and imap server? Your imaps and pop3s are connected locally i.e. on the nagios server if I am correct? Your ftp and smtp are not. Is this correct? Lex On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi wrote: > Arno Lehmann wrote: > > Hello, > > > > please respond to the list. > > > > 02.09.2008 10:44, J. Bakshi wrote: > > > >> Arno Lehmann wrote: > >> > >>> Hi, > >>> > >>> 02.09.2008 09:37, J. Bakshi wrote: > >>> > >>>> Dear list, > >>>> > >>>> I have installed > >>>> > >>>> nagios-nrpe 2.0 > >>>> nagios-plugins 1.4 > >>>> nagios-plugins-extras 1.4 > >>>> > >>>> How can I check smtps, ldaps, pop3s, imaps with nrpe ? > >>>> the default check_smtp ; check_imap etc can't check the SSL version of > >>>> the services. > >>>> > >>> Mine can; call them with -h for help and read the output. I usually > >>> use the -S swich plus, as needed, -p for the target port. > >>> > >>> Example output: > >>> $ /usr/local/nagios3/libexec/check_imap -H 192.168.1.2 -S -p 993 -D 12 > >>> OK - Certificate will expire on 04/27/2009 21:13. > >>> IMAP OK - 0.060 second response time on port 993 [* OK IMAP4 Ready > >>> balrog.privat.lehleute.de0001b1a4]|time=0.059891s;;;0.000000;10.000000 > >>> > >>> > >> Hi Arno, > >> > >> first of all thanks for your kind response. I have also found the "-S" > >> option but the story is different here and it is > >> negative :-( > >> > >> here is the nmap output which proves the required port are open > >> > > > > It does not actually prove the services are listening on localhost, > > and that access is not filtered, for example by hosts files. > > > > > >> PORT STATE SERVICE > >> 25/tcp open smtp > >> 80/tcp open http > >> 143/tcp open imap > >> 389/tcp open ldap > >> 443/tcp open https > >> 465/tcp open smtps > >> 993/tcp open imaps > >> 995/tcp open pop3s > >> 1234/tcp open hotline > >> 2000/tcp open callbook > >> 3306/tcp open mysql > >> > >> more important I can use the SSL enabled services, like pop3s , smtps > etc... > >> > >> If I check with check_smtp I get the following > >> > >> /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 -S -v > >> CRITICAL - Socket timeout after 10 seconds > >> > > > > Check with the ip address that is usually used - it's quite possible > > the service is not bound to localhost. > > > > > >> And here is the check fir ftp :-( > >> > >> /usr/lib/nagios/plugins/check_ftp -H localhost -p 60021 -S -v > >> CRITICAL - Cannot make SSL connection 13948:error:140770FC:SSL > >> routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > >> > >> Plese note I am practically using ftps, smtps, pop3s > >> > >> I have no clue really. > >> Hope you can enlighten me to point out my mistake. > >> > > > > Try what I suggested... that's what I'd do now. > > > > Arno > > > > Dear Arno and Alex, > > thanks a lot for your kind guidance. > > Arno, I have also checked with IP but no success. > > Here is some more feedback which you can find interesting > > #### IMAPS successful ########## > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S -w 5 -c 8 -t 10 > IMAP OK - 0.099 second response time on port 993 [* OK Cyrus IMAP4 > v2.2.12 server ready] |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > > ######## POP3S successful ########## > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 -c 8 -t 10 -S > POP OK - 0.101 second response time on port 995 [+OK lvps87?230?8?228. > Cyrus POP3 v2.2.12 server ready > <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de>] > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > > ######## SMTPS failed but telnet successful ######### > > /usr/lib/nagios/plugins/check_smtp -H -p > 465 -w 5 -c 8 -t 10 -S > CRITICAL - Socket timeout after 10 seconds > > telnet 87.230.8.228 465 > Trying 87.230.8.228... > Connected to 87.230.8.228. > Escape character is '^]'. > > quit > quit > Connection closed by foreign host. > > > ####### FTPS failed but successful by telnet ###############33 > > /usr/lib/nagios/plugins/check_ftp -H -p > 60021 -w 5 -c 8 -t 10 -S > CRITICAL - Cannot make SSL connection 30050:error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > telnet localhost 60021 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 *******This server is configured by Jatasankar******* > > 530 Please login with USER and PASS. > > 530 Please login with USER and PASS. > quit > 221 Goodbye. > Connection closed by foreign host. > > > Any clue ? > thanks > > > > > > > >> with many thanks > >> > >> > >>> Arno > >>> > >>> > >>>> thanks > >>>> > >>>> > >>>> > >> > > > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 11:42:49 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 15:12:49 +0530 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> <48BD06AB.3050304@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> Message-ID: <48BD0A99.2080901@infoservices.in> Alex Dehaini wrote: > Your smtp server and your ftp server, are they different from your pop > and imap server? > > Your imaps and pop3s are connected locally i.e. on the nagios server > if I am correct? Your ftp and smtp are not. Is this correct? > Hi Alex, My ftp (vsftpd with ssl support), postfix, Cyrus all are in the same server where nrpe is running. thanks > Lex > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi > wrote: > > Arno Lehmann wrote: > > Hello, > > > > please respond to the list. > > > > 02.09.2008 10:44, J. Bakshi wrote: > > > >> Arno Lehmann wrote: > >> > >>> Hi, > >>> > >>> 02.09.2008 09:37, J. Bakshi wrote: > >>> > >>>> Dear list, > >>>> > >>>> I have installed > >>>> > >>>> nagios-nrpe 2.0 > >>>> nagios-plugins 1.4 > >>>> nagios-plugins-extras 1.4 > >>>> > >>>> How can I check smtps, ldaps, pop3s, imaps with nrpe ? > >>>> the default check_smtp ; check_imap etc can't check the SSL > version of > >>>> the services. > >>>> > >>> Mine can; call them with -h for help and read the output. I > usually > >>> use the -S swich plus, as needed, -p for the target port. > >>> > >>> Example output: > >>> $ /usr/local/nagios3/libexec/check_imap -H 192.168.1.2 > -S -p 993 -D 12 > >>> OK - Certificate will expire on 04/27/2009 21:13. > >>> IMAP OK - 0.060 second response time on port 993 [* OK IMAP4 Ready > >>> balrog.privat.lehleute.de > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > >>> > >>> > >> Hi Arno, > >> > >> first of all thanks for your kind response. I have also found > the "-S" > >> option but the story is different here and it is > >> negative :-( > >> > >> here is the nmap output which proves the required port are open > >> > > > > It does not actually prove the services are listening on localhost, > > and that access is not filtered, for example by hosts files. > > > > > >> PORT STATE SERVICE > >> 25/tcp open smtp > >> 80/tcp open http > >> 143/tcp open imap > >> 389/tcp open ldap > >> 443/tcp open https > >> 465/tcp open smtps > >> 993/tcp open imaps > >> 995/tcp open pop3s > >> 1234/tcp open hotline > >> 2000/tcp open callbook > >> 3306/tcp open mysql > >> > >> more important I can use the SSL enabled services, like pop3s , > smtps etc... > >> > >> If I check with check_smtp I get the following > >> > >> /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 -S -v > >> CRITICAL - Socket timeout after 10 seconds > >> > > > > Check with the ip address that is usually used - it's quite possible > > the service is not bound to localhost. > > > > > >> And here is the check fir ftp :-( > >> > >> /usr/lib/nagios/plugins/check_ftp -H localhost -p 60021 -S -v > >> CRITICAL - Cannot make SSL connection 13948:error:140770FC:SSL > >> routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > >> > >> Plese note I am practically using ftps, smtps, pop3s > >> > >> I have no clue really. > >> Hope you can enlighten me to point out my mistake. > >> > > > > Try what I suggested... that's what I'd do now. > > > > Arno > > > > Dear Arno and Alex, > > thanks a lot for your kind guidance. > > Arno, I have also checked with IP but no success. > > Here is some more feedback which you can find interesting > > #### IMAPS successful ########## > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S -w 5 -c > 8 -t 10 > IMAP OK - 0.099 second response time on port 993 [* OK Cyrus IMAP4 > v2.2.12 server ready] > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > > ######## POP3S successful ########## > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 -c 8 > -t 10 -S > POP OK - 0.101 second response time on port 995 [+OK lvps87?230?8?228. > Cyrus POP3 v2.2.12 server ready > <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de > >] > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > > ######## SMTPS failed but telnet successful ######### > > /usr/lib/nagios/plugins/check_smtp -H > -p > 465 -w 5 -c 8 -t 10 -S > CRITICAL - Socket timeout after 10 seconds > > telnet 87.230.8.228 465 > Trying 87.230.8.228... > Connected to 87.230.8.228 . > Escape character is '^]'. > > quit > quit > Connection closed by foreign host. > > > ####### FTPS failed but successful by telnet ###############33 > > /usr/lib/nagios/plugins/check_ftp -H -p > 60021 -w 5 -c 8 -t 10 -S > CRITICAL - Cannot make SSL connection 30050:error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > telnet localhost 60021 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 *******This server is configured by Jatasankar******* > > 530 Please login with USER and PASS. > > 530 Please login with USER and PASS. > quit > 221 Goodbye. > Connection closed by foreign host. > > > Any clue ? > thanks > > > > > > > >> with many thanks > >> > >> > >>> Arno > >>> > >>> > >>>> thanks > >>>> > >>>> > >>>> > >> > > > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bastiaan.wissingh at gmail.com Tue Sep 2 12:14:09 2008 From: bastiaan.wissingh at gmail.com (Bastiaan) Date: Tue, 2 Sep 2008 12:14:09 +0200 Subject: Using Nagios to check if webpage is really shown Message-ID: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> At the moment I have Nagios 2.9 up and running, and it does different kind of checks. But now I would not only like to check if, for example port 80 is open on my webserver, but also if the webpage on the same webserver is shown that customers can see it. I have been searching on the internet for a plugin that can help me do this, but I have not found something useful yet. So I hope that anyone can help me. Bastiaan Wissingh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 12:15:43 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 10:15:43 +0000 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BD0A99.2080901@infoservices.in> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> <48BD06AB.3050304@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> <48BD0A99.2080901@infoservices.in> Message-ID: <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> Use check_tcp or check_udp to see if you can connect to these ports Lex On Tue, Sep 2, 2008 at 9:42 AM, J. Bakshi wrote: > Alex Dehaini wrote: > > Your smtp server and your ftp server, are they different from your pop > > and imap server? > > > > Your imaps and pop3s are connected locally i.e. on the nagios server > > if I am correct? Your ftp and smtp are not. Is this correct? > > > > Hi Alex, > > My ftp (vsftpd with ssl support), postfix, Cyrus all are in the same > server where nrpe is running. > thanks > > > > > > > Lex > > > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi > > wrote: > > > > Arno Lehmann wrote: > > > Hello, > > > > > > please respond to the list. > > > > > > 02.09.2008 10:44, J. Bakshi wrote: > > > > > >> Arno Lehmann wrote: > > >> > > >>> Hi, > > >>> > > >>> 02.09.2008 09:37, J. Bakshi wrote: > > >>> > > >>>> Dear list, > > >>>> > > >>>> I have installed > > >>>> > > >>>> nagios-nrpe 2.0 > > >>>> nagios-plugins 1.4 > > >>>> nagios-plugins-extras 1.4 > > >>>> > > >>>> How can I check smtps, ldaps, pop3s, imaps with nrpe ? > > >>>> the default check_smtp ; check_imap etc can't check the SSL > > version of > > >>>> the services. > > >>>> > > >>> Mine can; call them with -h for help and read the output. I > > usually > > >>> use the -S swich plus, as needed, -p for the target port. > > >>> > > >>> Example output: > > >>> $ /usr/local/nagios3/libexec/check_imap -H 192.168.1.2 > > -S -p 993 -D 12 > > >>> OK - Certificate will expire on 04/27/2009 21:13. > > >>> IMAP OK - 0.060 second response time on port 993 [* OK IMAP4 > Ready > > >>> balrog.privat.lehleute.de > > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > > >>> > > >>> > > >> Hi Arno, > > >> > > >> first of all thanks for your kind response. I have also found > > the "-S" > > >> option but the story is different here and it is > > >> negative :-( > > >> > > >> here is the nmap output which proves the required port are open > > >> > > > > > > It does not actually prove the services are listening on localhost, > > > and that access is not filtered, for example by hosts files. > > > > > > > > >> PORT STATE SERVICE > > >> 25/tcp open smtp > > >> 80/tcp open http > > >> 143/tcp open imap > > >> 389/tcp open ldap > > >> 443/tcp open https > > >> 465/tcp open smtps > > >> 993/tcp open imaps > > >> 995/tcp open pop3s > > >> 1234/tcp open hotline > > >> 2000/tcp open callbook > > >> 3306/tcp open mysql > > >> > > >> more important I can use the SSL enabled services, like pop3s , > > smtps etc... > > >> > > >> If I check with check_smtp I get the following > > >> > > >> /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 -S -v > > >> CRITICAL - Socket timeout after 10 seconds > > >> > > > > > > Check with the ip address that is usually used - it's quite > possible > > > the service is not bound to localhost. > > > > > > > > >> And here is the check fir ftp :-( > > >> > > >> /usr/lib/nagios/plugins/check_ftp -H localhost -p 60021 -S -v > > >> CRITICAL - Cannot make SSL connection 13948:error:140770FC:SSL > > >> routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > >> > > >> Plese note I am practically using ftps, smtps, pop3s > > >> > > >> I have no clue really. > > >> Hope you can enlighten me to point out my mistake. > > >> > > > > > > Try what I suggested... that's what I'd do now. > > > > > > Arno > > > > > > > Dear Arno and Alex, > > > > thanks a lot for your kind guidance. > > > > Arno, I have also checked with IP but no success. > > > > Here is some more feedback which you can find interesting > > > > #### IMAPS successful ########## > > > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S -w 5 -c > > 8 -t 10 > > IMAP OK - 0.099 second response time on port 993 [* OK Cyrus IMAP4 > > v2.2.12 server ready] > > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > > > > ######## POP3S successful ########## > > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 -c 8 > > -t 10 -S > > POP OK - 0.101 second response time on port 995 [+OK > lvps87?230?8?228. > > Cyrus POP3 v2.2.12 server ready > > <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de > > >] > > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > > > > ######## SMTPS failed but telnet successful ######### > > > > /usr/lib/nagios/plugins/check_smtp -H > > -p > > 465 -w 5 -c 8 -t 10 -S > > CRITICAL - Socket timeout after 10 seconds > > > > telnet 87.230.8.228 465 > > Trying 87.230.8.228... > > Connected to 87.230.8.228 . > > Escape character is '^]'. > > > > quit > > quit > > Connection closed by foreign host. > > > > > > ####### FTPS failed but successful by telnet ###############33 > > > > /usr/lib/nagios/plugins/check_ftp -H -p > > 60021 -w 5 -c 8 -t 10 -S > > CRITICAL - Cannot make SSL connection 30050:error:140770FC:SSL > > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > > > telnet localhost 60021 > > Trying 127.0.0.1... > > Connected to localhost. > > Escape character is '^]'. > > 220 *******This server is configured by Jatasankar******* > > > > 530 Please login with USER and PASS. > > > > 530 Please login with USER and PASS. > > quit > > 221 Goodbye. > > Connection closed by foreign host. > > > > > > Any clue ? > > thanks > > > > > > > > > > > > > >> with many thanks > > >> > > >> > > >>> Arno > > >>> > > >>> > > >>>> thanks > > >>>> > > >>>> > > >>>> > > >> > > > > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 12:15:37 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 15:45:37 +0530 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> <48BD06AB.3050304@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> <48BD0A99.2080901@infoservices.in> <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> Message-ID: <48BD1249.9080601@infoservices.in> Alex Dehaini wrote: > Use check_tcp or check_udp to see if you can connect to these ports Here is for ftp port ~~~~~~~~~~~~~~~ ./check_tcp -H localhost -p 60021 TCP OK - 0.003 second response time on port 60021 |time=0.002922s;0.000000;0.000000;0.000000;10.000000 ./check_tcp -H localhost -p 60021 -S CRITICAL - Cannot make SSL connection 15556:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: Here is for smtps ~~~~~~~~~~~~~~~ ./check_tcp -H localhost -p 465 TCP OK - 0.001 second response time on port 465 |time=0.000886s;0.000000;0.000000;0.000000;10.000000 ./check_tcp -H localhost -p 465 -S TCP OK - 0.119 second response time on port 465 |time=0.118984s;0.000000;0.000000;0.000000;10.000000 thanks > > Lex > > On Tue, Sep 2, 2008 at 9:42 AM, J. Bakshi > wrote: > > Alex Dehaini wrote: > > Your smtp server and your ftp server, are they different from > your pop > > and imap server? > > > > Your imaps and pop3s are connected locally i.e. on the nagios server > > if I am correct? Your ftp and smtp are not. Is this correct? > > > > Hi Alex, > > My ftp (vsftpd with ssl support), postfix, Cyrus all are in the same > server where nrpe is running. > thanks > > > > > > > Lex > > > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi > > > >> wrote: > > > > Arno Lehmann wrote: > > > Hello, > > > > > > please respond to the list. > > > > > > 02.09.2008 10:44, J. Bakshi wrote: > > > > > >> Arno Lehmann wrote: > > >> > > >>> Hi, > > >>> > > >>> 02.09.2008 09:37, J. Bakshi wrote: > > >>> > > >>>> Dear list, > > >>>> > > >>>> I have installed > > >>>> > > >>>> nagios-nrpe 2.0 > > >>>> nagios-plugins 1.4 > > >>>> nagios-plugins-extras 1.4 > > >>>> > > >>>> How can I check smtps, ldaps, pop3s, imaps with nrpe ? > > >>>> the default check_smtp ; check_imap etc can't check the SSL > > version of > > >>>> the services. > > >>>> > > >>> Mine can; call them with -h for help and read the output. I > > usually > > >>> use the -S swich plus, as needed, -p for the target port. > > >>> > > >>> Example output: > > >>> $ /usr/local/nagios3/libexec/check_imap -H 192.168.1.2 > > > -S -p 993 -D 12 > > >>> OK - Certificate will expire on 04/27/2009 21:13. > > >>> IMAP OK - 0.060 second response time on port 993 [* OK > IMAP4 Ready > > >>> balrog.privat.lehleute.de > > > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > > >>> > > >>> > > >> Hi Arno, > > >> > > >> first of all thanks for your kind response. I have also found > > the "-S" > > >> option but the story is different here and it is > > >> negative :-( > > >> > > >> here is the nmap output which proves the required port > are open > > >> > > > > > > It does not actually prove the services are listening on > localhost, > > > and that access is not filtered, for example by hosts files. > > > > > > > > >> PORT STATE SERVICE > > >> 25/tcp open smtp > > >> 80/tcp open http > > >> 143/tcp open imap > > >> 389/tcp open ldap > > >> 443/tcp open https > > >> 465/tcp open smtps > > >> 993/tcp open imaps > > >> 995/tcp open pop3s > > >> 1234/tcp open hotline > > >> 2000/tcp open callbook > > >> 3306/tcp open mysql > > >> > > >> more important I can use the SSL enabled services, like > pop3s , > > smtps etc... > > >> > > >> If I check with check_smtp I get the following > > >> > > >> /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 > -S -v > > >> CRITICAL - Socket timeout after 10 seconds > > >> > > > > > > Check with the ip address that is usually used - it's > quite possible > > > the service is not bound to localhost. > > > > > > > > >> And here is the check fir ftp :-( > > >> > > >> /usr/lib/nagios/plugins/check_ftp -H localhost -p 60021 > -S -v > > >> CRITICAL - Cannot make SSL connection > 13948:error:140770FC:SSL > > >> routines:SSL23_GET_SERVER_HELLO:unknown > protocol:s23_clnt.c:478: > > >> > > >> Plese note I am practically using ftps, smtps, pop3s > > >> > > >> I have no clue really. > > >> Hope you can enlighten me to point out my mistake. > > >> > > > > > > Try what I suggested... that's what I'd do now. > > > > > > Arno > > > > > > > Dear Arno and Alex, > > > > thanks a lot for your kind guidance. > > > > Arno, I have also checked with IP but no success. > > > > Here is some more feedback which you can find interesting > > > > #### IMAPS successful ########## > > > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S > -w 5 -c > > 8 -t 10 > > IMAP OK - 0.099 second response time on port 993 [* OK > Cyrus IMAP4 > > v2.2.12 server ready] > > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > > > > ######## POP3S successful ########## > > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 > -c 8 > > -t 10 -S > > POP OK - 0.101 second response time on port 995 [+OK > lvps87?230?8?228. > > Cyrus POP3 v2.2.12 server ready > > > <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de > > > >] > > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > > > > ######## SMTPS failed but telnet successful ######### > > > > /usr/lib/nagios/plugins/check_smtp -H server IP> > > -p > > 465 -w 5 -c 8 -t 10 -S > > CRITICAL - Socket timeout after 10 seconds > > > > telnet 87.230.8.228 > 465 > > Trying 87.230.8.228... > > Connected to 87.230.8.228 > . > > Escape character is '^]'. > > > > quit > > quit > > Connection closed by foreign host. > > > > > > ####### FTPS failed but successful by telnet ###############33 > > > > /usr/lib/nagios/plugins/check_ftp -H IP> -p > > 60021 -w 5 -c 8 -t 10 -S > > CRITICAL - Cannot make SSL connection 30050:error:140770FC:SSL > > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > > > telnet localhost 60021 > > Trying 127.0.0.1... > > Connected to localhost. > > Escape character is '^]'. > > 220 *******This server is configured by Jatasankar******* > > > > 530 Please login with USER and PASS. > > > > 530 Please login with USER and PASS. > > quit > > 221 Goodbye. > > Connection closed by foreign host. > > > > > > Any clue ? > > thanks > > > > > > > > > > > > > >> with many thanks > > >> > > >> > > >>> Arno > > >>> > > >>> > > >>>> thanks > > >>>> > > >>>> > > >>>> > > >> > > > > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 12:23:44 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 10:23:44 +0000 Subject: Using Nagios to check if webpage is really shown In-Reply-To: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> References: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> Message-ID: <4b008f7d0809020323q500122d1w1033bec2f119d031@mail.gmail.com> check_http. Check out the url, -T and -P options Lex On Tue, Sep 2, 2008 at 10:14 AM, Bastiaan wrote: > At the moment I have Nagios 2.9 up and running, and it does different kind > of checks. But now I would not only like to check if, for example port 80 is > open on my webserver, but also if the webpage on the same webserver is shown > that customers can see it. > I have been searching on the internet for a plugin that can help me do > this, but I have not found something useful yet. > > So I hope that anyone can help me. > > Bastiaan Wissingh > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Sep 2 13:21:19 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 2 Sep 2008 11:21:19 +0000 Subject: Using Nagios to check if webpage is really shown In-Reply-To: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> References: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> Message-ID: <200809021121.19084.assaf.flatto@ssp.uk.com> you can use the standard check_http with the -u, --url=PATH so specify the page you want to test . Assaf On Tuesday 02 September 2008 10:14:09 Bastiaan wrote: > At the moment I have Nagios 2.9 up and running, and it does different kind > of checks. But now I would not only like to check if, for example port 80 > is open on my webserver, but also if the webpage on the same webserver is > shown that customers can see it. > I have been searching on the internet for a plugin that can help me do > this, but I have not found something useful yet. > > So I hope that anyone can help me. > > Bastiaan Wissingh IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 12:25:52 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 10:25:52 +0000 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BD1249.9080601@infoservices.in> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> <48BD06AB.3050304@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> <48BD0A99.2080901@infoservices.in> <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> <48BD1249.9080601@infoservices.in> Message-ID: <4b008f7d0809020325r34a2fb82nb9a4fb6e5de43415@mail.gmail.com> So, check_tcp worked for smtp? but not for ftps? On Tue, Sep 2, 2008 at 10:15 AM, J. Bakshi wrote: > Alex Dehaini wrote: > > Use check_tcp or check_udp to see if you can connect to these ports > > Here is for ftp port > ~~~~~~~~~~~~~~~ > > ./check_tcp -H localhost -p 60021 > TCP OK - 0.003 second response time on port 60021 > |time=0.002922s;0.000000;0.000000;0.000000;10.000000 > > ./check_tcp -H localhost -p 60021 -S > CRITICAL - Cannot make SSL connection 15556:error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > > Here is for smtps > ~~~~~~~~~~~~~~~ > > ./check_tcp -H localhost -p 465 > TCP OK - 0.001 second response time on port 465 > |time=0.000886s;0.000000;0.000000;0.000000;10.000000 > > ./check_tcp -H localhost -p 465 -S > TCP OK - 0.119 second response time on port 465 > |time=0.118984s;0.000000;0.000000;0.000000;10.000000 > > > thanks > > > > Lex > > > > On Tue, Sep 2, 2008 at 9:42 AM, J. Bakshi > > wrote: > > > > Alex Dehaini wrote: > > > Your smtp server and your ftp server, are they different from > > your pop > > > and imap server? > > > > > > Your imaps and pop3s are connected locally i.e. on the nagios > server > > > if I am correct? Your ftp and smtp are not. Is this correct? > > > > > > > Hi Alex, > > > > My ftp (vsftpd with ssl support), postfix, Cyrus all are in the same > > server where nrpe is running. > > thanks > > > > > > > > > > > > > Lex > > > > > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi > > > > > > >> wrote: > > > > > > Arno Lehmann wrote: > > > > Hello, > > > > > > > > please respond to the list. > > > > > > > > 02.09.2008 10:44, J. Bakshi wrote: > > > > > > > >> Arno Lehmann wrote: > > > >> > > > >>> Hi, > > > >>> > > > >>> 02.09.2008 09:37, J. Bakshi wrote: > > > >>> > > > >>>> Dear list, > > > >>>> > > > >>>> I have installed > > > >>>> > > > >>>> nagios-nrpe 2.0 > > > >>>> nagios-plugins 1.4 > > > >>>> nagios-plugins-extras 1.4 > > > >>>> > > > >>>> How can I check smtps, ldaps, pop3s, imaps with nrpe ? > > > >>>> the default check_smtp ; check_imap etc can't check the > SSL > > > version of > > > >>>> the services. > > > >>>> > > > >>> Mine can; call them with -h for help and read the output. I > > > usually > > > >>> use the -S swich plus, as needed, -p for the target port. > > > >>> > > > >>> Example output: > > > >>> $ /usr/local/nagios3/libexec/check_imap -H 192.168.1.2 > > > > > -S -p 993 -D 12 > > > >>> OK - Certificate will expire on 04/27/2009 21:13. > > > >>> IMAP OK - 0.060 second response time on port 993 [* OK > > IMAP4 Ready > > > >>> balrog.privat.lehleute.de > > > > > > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > > > >>> > > > >>> > > > >> Hi Arno, > > > >> > > > >> first of all thanks for your kind response. I have also > found > > > the "-S" > > > >> option but the story is different here and it is > > > >> negative :-( > > > >> > > > >> here is the nmap output which proves the required port > > are open > > > >> > > > > > > > > It does not actually prove the services are listening on > > localhost, > > > > and that access is not filtered, for example by hosts files. > > > > > > > > > > > >> PORT STATE SERVICE > > > >> 25/tcp open smtp > > > >> 80/tcp open http > > > >> 143/tcp open imap > > > >> 389/tcp open ldap > > > >> 443/tcp open https > > > >> 465/tcp open smtps > > > >> 993/tcp open imaps > > > >> 995/tcp open pop3s > > > >> 1234/tcp open hotline > > > >> 2000/tcp open callbook > > > >> 3306/tcp open mysql > > > >> > > > >> more important I can use the SSL enabled services, like > > pop3s , > > > smtps etc... > > > >> > > > >> If I check with check_smtp I get the following > > > >> > > > >> /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 > > -S -v > > > >> CRITICAL - Socket timeout after 10 seconds > > > >> > > > > > > > > Check with the ip address that is usually used - it's > > quite possible > > > > the service is not bound to localhost. > > > > > > > > > > > >> And here is the check fir ftp :-( > > > >> > > > >> /usr/lib/nagios/plugins/check_ftp -H localhost -p 60021 > > -S -v > > > >> CRITICAL - Cannot make SSL connection > > 13948:error:140770FC:SSL > > > >> routines:SSL23_GET_SERVER_HELLO:unknown > > protocol:s23_clnt.c:478: > > > >> > > > >> Plese note I am practically using ftps, smtps, pop3s > > > >> > > > >> I have no clue really. > > > >> Hope you can enlighten me to point out my mistake. > > > >> > > > > > > > > Try what I suggested... that's what I'd do now. > > > > > > > > Arno > > > > > > > > > > Dear Arno and Alex, > > > > > > thanks a lot for your kind guidance. > > > > > > Arno, I have also checked with IP but no success. > > > > > > Here is some more feedback which you can find interesting > > > > > > #### IMAPS successful ########## > > > > > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S > > -w 5 -c > > > 8 -t 10 > > > IMAP OK - 0.099 second response time on port 993 [* OK > > Cyrus IMAP4 > > > v2.2.12 server ready] > > > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > > > > > > ######## POP3S successful ########## > > > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 > > -c 8 > > > -t 10 -S > > > POP OK - 0.101 second response time on port 995 [+OK > > lvps87?230?8?228. > > > Cyrus POP3 v2.2.12 server ready > > > > > <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de > > > > > >] > > > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > > > > > > ######## SMTPS failed but telnet successful ######### > > > > > > /usr/lib/nagios/plugins/check_smtp -H > server IP> > > > -p > > > 465 -w 5 -c 8 -t 10 -S > > > CRITICAL - Socket timeout after 10 seconds > > > > > > telnet 87.230.8.228 > > 465 > > > Trying 87.230.8.228... > > > Connected to 87.230.8.228 > > . > > > Escape character is '^]'. > > > > > > quit > > > quit > > > Connection closed by foreign host. > > > > > > > > > ####### FTPS failed but successful by telnet ###############33 > > > > > > /usr/lib/nagios/plugins/check_ftp -H > IP> -p > > > 60021 -w 5 -c 8 -t 10 -S > > > CRITICAL - Cannot make SSL connection 30050:error:140770FC:SSL > > > routines:SSL23_GET_SERVER_HELLO:unknown > protocol:s23_clnt.c:478: > > > > > > telnet localhost 60021 > > > Trying 127.0.0.1... > > > Connected to localhost. > > > Escape character is '^]'. > > > 220 *******This server is configured by Jatasankar******* > > > > > > 530 Please login with USER and PASS. > > > > > > 530 Please login with USER and PASS. > > > quit > > > 221 Goodbye. > > > Connection closed by foreign host. > > > > > > > > > Any clue ? > > > thanks > > > > > > > > > > > > > > > > > > > >> with many thanks > > > >> > > > >> > > > >>> Arno > > > >>> > > > >>> > > > >>>> thanks > > > >>>> > > > >>>> > > > >>>> > > > >> > > > > > > > > > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > Email - alexdehaini at gmail.com > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at truthisfreedom.org.uk Tue Sep 2 12:20:38 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Tue, 2 Sep 2008 11:20:38 +0100 Subject: Using Nagios to check if webpage is really shown In-Reply-To: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> References: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> Message-ID: <20080902112038.5b6fdcfc@tclmmw.in.tiger-computing.com> On Tue, 2 Sep 2008 12:14:09 +0200 Bastiaan wrote: > At the moment I have Nagios 2.9 up and running, and it does different > kind of checks. But now I would not only like to check if, for > example port 80 is open on my webserver, but also if the webpage on > the same webserver is shown that customers can see it. > I have been searching on the internet for a plugin that can help me > do this, but I have not found something useful yet. check_http can send and receive HTTP requests as well as just monitoring port 80. If you really want to test your website, then WebInject will allow you to write complete tests to simulate users browsing your site. Hope this helps, M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 12:31:35 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 16:01:35 +0530 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <4b008f7d0809020325r34a2fb82nb9a4fb6e5de43415@mail.gmail.com> References: <48BCED24.5060207@infoservices.in> <48BCFAA1.1010609@its-lehmann.de> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> <48BD06AB.3050304@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> <48BD0A99.2080901@infoservices.in> <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> <48BD1249.9080601@infoservices.in> <4b008f7d0809020325r34a2fb82nb9a4fb6e5de43415@mail.gmail.com> Message-ID: <48BD1607.2050705@infoservices.in> Alex Dehaini wrote: > So, check_tcp worked for smtp? but not for ftps? Exactly. 1> SMTPS is not working at all with check_smtp :-( 2> chekck_ftp is working without -S !!! but not with -S ; though it is not possible to loginto my ftpserver ( using lftp, filezilla) > > On Tue, Sep 2, 2008 at 10:15 AM, J. Bakshi > wrote: > > Alex Dehaini wrote: > > Use check_tcp or check_udp to see if you can connect to these ports > > Here is for ftp port > ~~~~~~~~~~~~~~~ > > ./check_tcp -H localhost -p 60021 > TCP OK - 0.003 second response time on port 60021 > |time=0.002922s;0.000000;0.000000;0.000000;10.000000 > > ./check_tcp -H localhost -p 60021 -S > CRITICAL - Cannot make SSL connection 15556:error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > > Here is for smtps > ~~~~~~~~~~~~~~~ > > ./check_tcp -H localhost -p 465 > TCP OK - 0.001 second response time on port 465 > |time=0.000886s;0.000000;0.000000;0.000000;10.000000 > > ./check_tcp -H localhost -p 465 -S > TCP OK - 0.119 second response time on port 465 > |time=0.118984s;0.000000;0.000000;0.000000;10.000000 > > > thanks > > > > Lex > > > > On Tue, Sep 2, 2008 at 9:42 AM, J. Bakshi > > > >> wrote: > > > > Alex Dehaini wrote: > > > Your smtp server and your ftp server, are they different from > > your pop > > > and imap server? > > > > > > Your imaps and pop3s are connected locally i.e. on the > nagios server > > > if I am correct? Your ftp and smtp are not. Is this correct? > > > > > > > Hi Alex, > > > > My ftp (vsftpd with ssl support), postfix, Cyrus all are in > the same > > server where nrpe is running. > > thanks > > > > > > > > > > > > > Lex > > > > > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi > > > > > > > > > >>> wrote: > > > > > > Arno Lehmann wrote: > > > > Hello, > > > > > > > > please respond to the list. > > > > > > > > 02.09.2008 10:44, J. Bakshi wrote: > > > > > > > >> Arno Lehmann wrote: > > > >> > > > >>> Hi, > > > >>> > > > >>> 02.09.2008 09:37, J. Bakshi wrote: > > > >>> > > > >>>> Dear list, > > > >>>> > > > >>>> I have installed > > > >>>> > > > >>>> nagios-nrpe 2.0 > > > >>>> nagios-plugins 1.4 > > > >>>> nagios-plugins-extras 1.4 > > > >>>> > > > >>>> How can I check smtps, ldaps, pop3s, imaps with > nrpe ? > > > >>>> the default check_smtp ; check_imap etc can't > check the SSL > > > version of > > > >>>> the services. > > > >>>> > > > >>> Mine can; call them with -h for help and read the > output. I > > > usually > > > >>> use the -S swich plus, as needed, -p for the > target port. > > > >>> > > > >>> Example output: > > > >>> $ /usr/local/nagios3/libexec/check_imap -H > 192.168.1.2 > > > > > -S -p 993 -D 12 > > > >>> OK - Certificate will expire on 04/27/2009 21:13. > > > >>> IMAP OK - 0.060 second response time on port 993 [* OK > > IMAP4 Ready > > > >>> balrog.privat.lehleute.de > > > > > > > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > > > >>> > > > >>> > > > >> Hi Arno, > > > >> > > > >> first of all thanks for your kind response. I have > also found > > > the "-S" > > > >> option but the story is different here and it is > > > >> negative :-( > > > >> > > > >> here is the nmap output which proves the required port > > are open > > > >> > > > > > > > > It does not actually prove the services are listening on > > localhost, > > > > and that access is not filtered, for example by > hosts files. > > > > > > > > > > > >> PORT STATE SERVICE > > > >> 25/tcp open smtp > > > >> 80/tcp open http > > > >> 143/tcp open imap > > > >> 389/tcp open ldap > > > >> 443/tcp open https > > > >> 465/tcp open smtps > > > >> 993/tcp open imaps > > > >> 995/tcp open pop3s > > > >> 1234/tcp open hotline > > > >> 2000/tcp open callbook > > > >> 3306/tcp open mysql > > > >> > > > >> more important I can use the SSL enabled services, like > > pop3s , > > > smtps etc... > > > >> > > > >> If I check with check_smtp I get the following > > > >> > > > >> /usr/lib/nagios/plugins/check_smtp -H localhost -p 465 > > -S -v > > > >> CRITICAL - Socket timeout after 10 seconds > > > >> > > > > > > > > Check with the ip address that is usually used - it's > > quite possible > > > > the service is not bound to localhost. > > > > > > > > > > > >> And here is the check fir ftp :-( > > > >> > > > >> /usr/lib/nagios/plugins/check_ftp -H localhost -p > 60021 > > -S -v > > > >> CRITICAL - Cannot make SSL connection > > 13948:error:140770FC:SSL > > > >> routines:SSL23_GET_SERVER_HELLO:unknown > > protocol:s23_clnt.c:478: > > > >> > > > >> Plese note I am practically using ftps, smtps, pop3s > > > >> > > > >> I have no clue really. > > > >> Hope you can enlighten me to point out my mistake. > > > >> > > > > > > > > Try what I suggested... that's what I'd do now. > > > > > > > > Arno > > > > > > > > > > Dear Arno and Alex, > > > > > > thanks a lot for your kind guidance. > > > > > > Arno, I have also checked with IP but no success. > > > > > > Here is some more feedback which you can find interesting > > > > > > #### IMAPS successful ########## > > > > > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S > > -w 5 -c > > > 8 -t 10 > > > IMAP OK - 0.099 second response time on port 993 [* OK > > Cyrus IMAP4 > > > v2.2.12 server ready] > > > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > > > > > > ######## POP3S successful ########## > > > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 > -w 5 > > -c 8 > > > -t 10 -S > > > POP OK - 0.101 second response time on port 995 [+OK > > lvps87?230?8?228. > > > Cyrus POP3 v2.2.12 server ready > > > > > > <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de > > > > > > >] > > > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > > > > > > ######## SMTPS failed but telnet successful ######### > > > > > > /usr/lib/nagios/plugins/check_smtp -H > server IP> > > > -p > > > 465 -w 5 -c 8 -t 10 -S > > > CRITICAL - Socket timeout after 10 seconds > > > > > > telnet 87.230.8.228 > > > 465 > > > Trying 87.230.8.228... > > > Connected to 87.230.8.228 > > > . > > > Escape character is '^]'. > > > > > > quit > > > quit > > > Connection closed by foreign host. > > > > > > > > > ####### FTPS failed but successful by telnet > ###############33 > > > > > > /usr/lib/nagios/plugins/check_ftp -H server > > IP> -p > > > 60021 -w 5 -c 8 -t 10 -S > > > CRITICAL - Cannot make SSL connection > 30050:error:140770FC:SSL > > > routines:SSL23_GET_SERVER_HELLO:unknown > protocol:s23_clnt.c:478: > > > > > > telnet localhost 60021 > > > Trying 127.0.0.1... > > > Connected to localhost. > > > Escape character is '^]'. > > > 220 *******This server is configured by Jatasankar******* > > > > > > 530 Please login with USER and PASS. > > > > > > 530 Please login with USER and PASS. > > > quit > > > 221 Goodbye. > > > Connection closed by foreign host. > > > > > > > > > Any clue ? > > > thanks > > > > > > > > > > > > > > > > > > > >> with many thanks > > > >> > > > >> > > > >>> Arno > > > >>> > > > >>> > > > >>>> thanks > > > >>>> > > > >>>> > > > >>>> > > > >> > > > > > > > > > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > > Email - alexdehaini at gmail.com > > > > > >> > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 12:37:03 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 16:07:03 +0530 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <4b008f7d0809020340n159f2440v572b38f1a58db78a@mail.gmail.com> References: <48BCED24.5060207@infoservices.in> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> <48BD06AB.3050304@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> <48BD0A99.2080901@infoservices.in> <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> <48BD1249.9080601@infoservices.in> <4b008f7d0809020325r34a2fb82nb9a4fb6e5de43415@mail.gmail.com> <48BD1607.2050705@infoservices.in> <4b008f7d0809020340n159f2440v572b38f1a58db78a@mail.gmail.com> Message-ID: <48BD174F.7090109@infoservices.in> Alex Dehaini wrote: > You didn't get my question. When you use check_tcp to check your smtp > and ftps services, does it work? > Yes, this is a production server > Lex > > On Tue, Sep 2, 2008 at 10:31 AM, J. Bakshi > wrote: > > Alex Dehaini wrote: > > So, check_tcp worked for smtp? but not for ftps? > > Exactly. > > 1> SMTPS is not working at all with check_smtp :-( > > 2> chekck_ftp is working without -S !!! but not with -S ; > though it is not possible to loginto my ftpserver ( using lftp, > filezilla) > > > > > > > On Tue, Sep 2, 2008 at 10:15 AM, J. Bakshi > > > >> wrote: > > > > Alex Dehaini wrote: > > > Use check_tcp or check_udp to see if you can connect to > these ports > > > > Here is for ftp port > > ~~~~~~~~~~~~~~~ > > > > ./check_tcp -H localhost -p 60021 > > TCP OK - 0.003 second response time on port 60021 > > |time=0.002922s;0.000000;0.000000;0.000000;10.000000 > > > > ./check_tcp -H localhost -p 60021 -S > > CRITICAL - Cannot make SSL connection 15556:error:140770FC:SSL > > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: > > > > > > Here is for smtps > > ~~~~~~~~~~~~~~~ > > > > ./check_tcp -H localhost -p 465 > > TCP OK - 0.001 second response time on port 465 > > |time=0.000886s;0.000000;0.000000;0.000000;10.000000 > > > > ./check_tcp -H localhost -p 465 -S > > TCP OK - 0.119 second response time on port 465 > > |time=0.118984s;0.000000;0.000000;0.000000;10.000000 > > > > > > thanks > > > > > > Lex > > > > > > On Tue, Sep 2, 2008 at 9:42 AM, J. Bakshi > > > > > > > > > >>> wrote: > > > > > > Alex Dehaini wrote: > > > > Your smtp server and your ftp server, are they > different from > > > your pop > > > > and imap server? > > > > > > > > Your imaps and pop3s are connected locally i.e. on the > > nagios server > > > > if I am correct? Your ftp and smtp are not. Is this > correct? > > > > > > > > > > Hi Alex, > > > > > > My ftp (vsftpd with ssl support), postfix, Cyrus all > are in > > the same > > > server where nrpe is running. > > > thanks > > > > > > > > > > > > > > > > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi > > > > > > >> > > > > > > > > > > > > >>>> wrote: > > > > > > > > Arno Lehmann wrote: > > > > > Hello, > > > > > > > > > > please respond to the list. > > > > > > > > > > 02.09.2008 10:44, J. Bakshi wrote: > > > > > > > > > >> Arno Lehmann wrote: > > > > >> > > > > >>> Hi, > > > > >>> > > > > >>> 02.09.2008 09:37, J. Bakshi wrote: > > > > >>> > > > > >>>> Dear list, > > > > >>>> > > > > >>>> I have installed > > > > >>>> > > > > >>>> nagios-nrpe 2.0 > > > > >>>> nagios-plugins 1.4 > > > > >>>> nagios-plugins-extras 1.4 > > > > >>>> > > > > >>>> How can I check smtps, ldaps, pop3s, imaps > with > > nrpe ? > > > > >>>> the default check_smtp ; check_imap etc can't > > check the SSL > > > > version of > > > > >>>> the services. > > > > >>>> > > > > >>> Mine can; call them with -h for help and > read the > > output. I > > > > usually > > > > >>> use the -S swich plus, as needed, -p for the > > target port. > > > > >>> > > > > >>> Example output: > > > > >>> $ /usr/local/nagios3/libexec/check_imap -H > > 192.168.1.2 > > > > > > > -S -p 993 -D 12 > > > > >>> OK - Certificate will expire on 04/27/2009 > 21:13. > > > > >>> IMAP OK - 0.060 second response time on port > 993 [* OK > > > IMAP4 Ready > > > > >>> balrog.privat.lehleute.de > > > > > > > > > > > > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > > > > >>> > > > > >>> > > > > >> Hi Arno, > > > > >> > > > > >> first of all thanks for your kind response. I > have > > also found > > > > the "-S" > > > > >> option but the story is different here and it is > > > > >> negative :-( > > > > >> > > > > >> here is the nmap output which proves the > required port > > > are open > > > > >> > > > > > > > > > > It does not actually prove the services are > listening on > > > localhost, > > > > > and that access is not filtered, for example by > > hosts files. > > > > > > > > > > > > > > >> PORT STATE SERVICE > > > > >> 25/tcp open smtp > > > > >> 80/tcp open http > > > > >> 143/tcp open imap > > > > >> 389/tcp open ldap > > > > >> 443/tcp open https > > > > >> 465/tcp open smtps > > > > >> 993/tcp open imaps > > > > >> 995/tcp open pop3s > > > > >> 1234/tcp open hotline > > > > >> 2000/tcp open callbook > > > > >> 3306/tcp open mysql > > > > >> > > > > >> more important I can use the SSL enabled > services, like > > > pop3s , > > > > smtps etc... > > > > >> > > > > >> If I check with check_smtp I get the following > > > > >> > > > > >> /usr/lib/nagios/plugins/check_smtp -H > localhost -p 465 > > > -S -v > > > > >> CRITICAL - Socket timeout after 10 seconds > > > > >> > > > > > > > > > > Check with the ip address that is usually used > - it's > > > quite possible > > > > > the service is not bound to localhost. > > > > > > > > > > > > > > >> And here is the check fir ftp :-( > > > > >> > > > > >> /usr/lib/nagios/plugins/check_ftp -H > localhost -p > > 60021 > > > -S -v > > > > >> CRITICAL - Cannot make SSL connection > > > 13948:error:140770FC:SSL > > > > >> routines:SSL23_GET_SERVER_HELLO:unknown > > > protocol:s23_clnt.c:478: > > > > >> > > > > >> Plese note I am practically using ftps, > smtps, pop3s > > > > >> > > > > >> I have no clue really. > > > > >> Hope you can enlighten me to point out my > mistake. > > > > >> > > > > > > > > > > Try what I suggested... that's what I'd do now. > > > > > > > > > > Arno > > > > > > > > > > > > > Dear Arno and Alex, > > > > > > > > thanks a lot for your kind guidance. > > > > > > > > Arno, I have also checked with IP but no success. > > > > > > > > Here is some more feedback which you can find > interesting > > > > > > > > #### IMAPS successful ########## > > > > > > > > /usr/lib/nagios/plugins/check_imap -H localhost > -p 993 -S > > > -w 5 -c > > > > 8 -t 10 > > > > IMAP OK - 0.099 second response time on port 993 > [* OK > > > Cyrus IMAP4 > > > > v2.2.12 server ready] > > > > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > > > > > > > > ######## POP3S successful ########## > > > > /usr/lib/nagios/plugins/check_pop -H localhost > -p 995 > > -w 5 > > > -c 8 > > > > -t 10 -S > > > > POP OK - 0.101 second response time on port 995 [+OK > > > lvps87?230?8?228. > > > > Cyrus POP3 v2.2.12 server ready > > > > > > > > > > <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de > > > > > > > > > > >] > > > > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > > > > > > > > ######## SMTPS failed but telnet successful > ######### > > > > > > > > /usr/lib/nagios/plugins/check_smtp -H > > > server IP> > > > > -p > > > > 465 -w 5 -c 8 -t 10 -S > > > > CRITICAL - Socket timeout after 10 seconds > > > > > > > > telnet 87.230.8.228 > > > > > > 465 > > > > Trying 87.230.8.228... > > > > Connected to 87.230.8.228 > > > > > > . > > > > Escape character is '^]'. > > > > > > > > quit > > > > quit > > > > Connection closed by foreign host. > > > > > > > > > > > > ####### FTPS failed but successful by telnet > > ###############33 > > > > > > > > /usr/lib/nagios/plugins/check_ftp -H by my > > server > > > IP> -p > > > > 60021 -w 5 -c 8 -t 10 -S > > > > CRITICAL - Cannot make SSL connection > > 30050:error:140770FC:SSL > > > > routines:SSL23_GET_SERVER_HELLO:unknown > > protocol:s23_clnt.c:478: > > > > > > > > telnet localhost 60021 > > > > Trying 127.0.0.1... > > > > Connected to localhost. > > > > Escape character is '^]'. > > > > 220 *******This server is configured by > Jatasankar******* > > > > > > > > 530 Please login with USER and PASS. > > > > > > > > 530 Please login with USER and PASS. > > > > quit > > > > 221 Goodbye. > > > > Connection closed by foreign host. > > > > > > > > > > > > Any clue ? > > > > thanks > > > > > > > > > > > > > > > > > > > > > > > > > >> with many thanks > > > > >> > > > > >> > > > > >>> Arno > > > > >>> > > > > >>> > > > > >>>> thanks > > > > >>>> > > > > >>>> > > > > >>>> > > > > >> > > > > > > > > > > > > > > > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > >> > > > > > > > >>> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > > Email - alexdehaini at gmail.com > > > > > >> > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 12:47:20 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 10:47:20 +0000 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BD174F.7090109@infoservices.in> References: <48BCED24.5060207@infoservices.in> <48BD06AB.3050304@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> <48BD0A99.2080901@infoservices.in> <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> <48BD1249.9080601@infoservices.in> <4b008f7d0809020325r34a2fb82nb9a4fb6e5de43415@mail.gmail.com> <48BD1607.2050705@infoservices.in> <4b008f7d0809020340n159f2440v572b38f1a58db78a@mail.gmail.com> <48BD174F.7090109@infoservices.in> Message-ID: <4b008f7d0809020347u8847360wcff794f0b6d4aa34@mail.gmail.com> Super. You can throw a mail to the developers mailing list and find out why check_smtp doesn't work. I guess you will use heck_tcp to achieve your goal now. Lex On Tue, Sep 2, 2008 at 10:37 AM, J. Bakshi wrote: > Alex Dehaini wrote: > > You didn't get my question. When you use check_tcp to check your smtp > > and ftps services, does it work? > > > > Yes, this is a production server > > > > Lex > > > > On Tue, Sep 2, 2008 at 10:31 AM, J. Bakshi > > wrote: > > > > Alex Dehaini wrote: > > > So, check_tcp worked for smtp? but not for ftps? > > > > Exactly. > > > > 1> SMTPS is not working at all with check_smtp :-( > > > > 2> chekck_ftp is working without -S !!! but not with -S ; > > though it is not possible to loginto my ftpserver ( using lftp, > > filezilla) > > > > > > > > > > > > On Tue, Sep 2, 2008 at 10:15 AM, J. Bakshi > > > > > > >> wrote: > > > > > > Alex Dehaini wrote: > > > > Use check_tcp or check_udp to see if you can connect to > > these ports > > > > > > Here is for ftp port > > > ~~~~~~~~~~~~~~~ > > > > > > ./check_tcp -H localhost -p 60021 > > > TCP OK - 0.003 second response time on port 60021 > > > |time=0.002922s;0.000000;0.000000;0.000000;10.000000 > > > > > > ./check_tcp -H localhost -p 60021 -S > > > CRITICAL - Cannot make SSL connection 15556:error:140770FC:SSL > > > routines:SSL23_GET_SERVER_HELLO:unknown > protocol:s23_clnt.c:478: > > > > > > > > > Here is for smtps > > > ~~~~~~~~~~~~~~~ > > > > > > ./check_tcp -H localhost -p 465 > > > TCP OK - 0.001 second response time on port 465 > > > |time=0.000886s;0.000000;0.000000;0.000000;10.000000 > > > > > > ./check_tcp -H localhost -p 465 -S > > > TCP OK - 0.119 second response time on port 465 > > > |time=0.118984s;0.000000;0.000000;0.000000;10.000000 > > > > > > > > > thanks > > > > > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 9:42 AM, J. Bakshi > > > > > > > > > > > > > > > >>> wrote: > > > > > > > > Alex Dehaini wrote: > > > > > Your smtp server and your ftp server, are they > > different from > > > > your pop > > > > > and imap server? > > > > > > > > > > Your imaps and pop3s are connected locally i.e. on the > > > nagios server > > > > > if I am correct? Your ftp and smtp are not. Is this > > correct? > > > > > > > > > > > > > Hi Alex, > > > > > > > > My ftp (vsftpd with ssl support), postfix, Cyrus all > > are in > > > the same > > > > server where nrpe is running. > > > > thanks > > > > > > > > > > > > > > > > > > > > > > > > > Lex > > > > > > > > > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>>> wrote: > > > > > > > > > > Arno Lehmann wrote: > > > > > > Hello, > > > > > > > > > > > > please respond to the list. > > > > > > > > > > > > 02.09.2008 10:44, J. Bakshi wrote: > > > > > > > > > > > >> Arno Lehmann wrote: > > > > > >> > > > > > >>> Hi, > > > > > >>> > > > > > >>> 02.09.2008 09:37, J. Bakshi wrote: > > > > > >>> > > > > > >>>> Dear list, > > > > > >>>> > > > > > >>>> I have installed > > > > > >>>> > > > > > >>>> nagios-nrpe 2.0 > > > > > >>>> nagios-plugins 1.4 > > > > > >>>> nagios-plugins-extras 1.4 > > > > > >>>> > > > > > >>>> How can I check smtps, ldaps, pop3s, imaps > > with > > > nrpe ? > > > > > >>>> the default check_smtp ; check_imap etc can't > > > check the SSL > > > > > version of > > > > > >>>> the services. > > > > > >>>> > > > > > >>> Mine can; call them with -h for help and > > read the > > > output. I > > > > > usually > > > > > >>> use the -S swich plus, as needed, -p for the > > > target port. > > > > > >>> > > > > > >>> Example output: > > > > > >>> $ /usr/local/nagios3/libexec/check_imap -H > > > 192.168.1.2 > > > > > > > > > -S -p 993 -D 12 > > > > > >>> OK - Certificate will expire on 04/27/2009 > > 21:13. > > > > > >>> IMAP OK - 0.060 second response time on port > > 993 [* OK > > > > IMAP4 Ready > > > > > >>> balrog.privat.lehleute.de > > > > > > > > > > > > > > > > > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > > > > > >>> > > > > > >>> > > > > > >> Hi Arno, > > > > > >> > > > > > >> first of all thanks for your kind response. I > > have > > > also found > > > > > the "-S" > > > > > >> option but the story is different here and it is > > > > > >> negative :-( > > > > > >> > > > > > >> here is the nmap output which proves the > > required port > > > > are open > > > > > >> > > > > > > > > > > > > It does not actually prove the services are > > listening on > > > > localhost, > > > > > > and that access is not filtered, for example by > > > hosts files. > > > > > > > > > > > > > > > > > >> PORT STATE SERVICE > > > > > >> 25/tcp open smtp > > > > > >> 80/tcp open http > > > > > >> 143/tcp open imap > > > > > >> 389/tcp open ldap > > > > > >> 443/tcp open https > > > > > >> 465/tcp open smtps > > > > > >> 993/tcp open imaps > > > > > >> 995/tcp open pop3s > > > > > >> 1234/tcp open hotline > > > > > >> 2000/tcp open callbook > > > > > >> 3306/tcp open mysql > > > > > >> > > > > > >> more important I can use the SSL enabled > > services, like > > > > pop3s , > > > > > smtps etc... > > > > > >> > > > > > >> If I check with check_smtp I get the following > > > > > >> > > > > > >> /usr/lib/nagios/plugins/check_smtp -H > > localhost -p 465 > > > > -S -v > > > > > >> CRITICAL - Socket timeout after 10 seconds > > > > > >> > > > > > > > > > > > > Check with the ip address that is usually used > > - it's > > > > quite possible > > > > > > the service is not bound to localhost. > > > > > > > > > > > > > > > > > >> And here is the check fir ftp :-( > > > > > >> > > > > > >> /usr/lib/nagios/plugins/check_ftp -H > > localhost -p > > > 60021 > > > > -S -v > > > > > >> CRITICAL - Cannot make SSL connection > > > > 13948:error:140770FC:SSL > > > > > >> routines:SSL23_GET_SERVER_HELLO:unknown > > > > protocol:s23_clnt.c:478: > > > > > >> > > > > > >> Plese note I am practically using ftps, > > smtps, pop3s > > > > > >> > > > > > >> I have no clue really. > > > > > >> Hope you can enlighten me to point out my > > mistake. > > > > > >> > > > > > > > > > > > > Try what I suggested... that's what I'd do now. > > > > > > > > > > > > Arno > > > > > > > > > > > > > > > > Dear Arno and Alex, > > > > > > > > > > thanks a lot for your kind guidance. > > > > > > > > > > Arno, I have also checked with IP but no success. > > > > > > > > > > Here is some more feedback which you can find > > interesting > > > > > > > > > > #### IMAPS successful ########## > > > > > > > > > > /usr/lib/nagios/plugins/check_imap -H localhost > > -p 993 -S > > > > -w 5 -c > > > > > 8 -t 10 > > > > > IMAP OK - 0.099 second response time on port 993 > > [* OK > > > > Cyrus IMAP4 > > > > > v2.2.12 server ready] > > > > > > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > > > > > > > > > > ######## POP3S successful ########## > > > > > /usr/lib/nagios/plugins/check_pop -H localhost > > -p 995 > > > -w 5 > > > > -c 8 > > > > > -t 10 -S > > > > > POP OK - 0.101 second response time on port 995 > [+OK > > > > lvps87?230?8?228. > > > > > Cyrus POP3 v2.2.12 server ready > > > > > > > > > > > > > > <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de > > > > > > > > > > > > > > >] > > > > > > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > > > > > > > > > > ######## SMTPS failed but telnet successful > > ######### > > > > > > > > > > /usr/lib/nagios/plugins/check_smtp -H > > > > > server IP> > > > > > -p > > > > > 465 -w 5 -c 8 -t 10 -S > > > > > CRITICAL - Socket timeout after 10 seconds > > > > > > > > > > telnet 87.230.8.228 > > > > > > > > > 465 > > > > > Trying 87.230.8.228... > > > > > Connected to 87.230.8.228 > > > > > > > > > . > > > > > Escape character is '^]'. > > > > > > > > > > quit > > > > > quit > > > > > Connection closed by foreign host. > > > > > > > > > > > > > > > ####### FTPS failed but successful by telnet > > > ###############33 > > > > > > > > > > /usr/lib/nagios/plugins/check_ftp -H > by my > > > server > > > > IP> -p > > > > > 60021 -w 5 -c 8 -t 10 -S > > > > > CRITICAL - Cannot make SSL connection > > > 30050:error:140770FC:SSL > > > > > routines:SSL23_GET_SERVER_HELLO:unknown > > > protocol:s23_clnt.c:478: > > > > > > > > > > telnet localhost 60021 > > > > > Trying 127.0.0.1... > > > > > Connected to localhost. > > > > > Escape character is '^]'. > > > > > 220 *******This server is configured by > > Jatasankar******* > > > > > > > > > > 530 Please login with USER and PASS. > > > > > > > > > > 530 Please login with USER and PASS. > > > > > quit > > > > > 221 Goodbye. > > > > > Connection closed by foreign host. > > > > > > > > > > > > > > > Any clue ? > > > > > thanks > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> with many thanks > > > > > >> > > > > > >> > > > > > >>> Arno > > > > > >>> > > > > > >>> > > > > > >>>> thanks > > > > > >>>> > > > > > >>>> > > > > > >>>> > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > Joydeep Bakshi, Linux System Admin > > > > > Kolkatainfoservices Pvt Ltd, > > > > > 23A Royd Street, Kolkata 700016, India > > > > > Work Phone 91 033 40014784 > > > > > http://infoservices.in/ > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alex Dehaini > > > > > Developer > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > >> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > Email - alexdehaini at gmail.com > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 12:44:14 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 16:14:14 +0530 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BD174F.7090109@infoservices.in> References: <48BCED24.5060207@infoservices.in> <48BCFCF2.2040501@infoservices.in> <48BD00AB.8070101@its-lehmann.de> <48BD06AB.3050304@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> <48BD0A99.2080901@infoservices.in> <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> <48BD1249.9080601@infoservices.in> <4b008f7d0809020325r34a2fb82nb9a4fb6e5de43415@mail.gmail.com> <48BD1607.2050705@infoservices.in> <4b008f7d0809020340n159f2440v572b38f1a58db78a@mail.gmail.com> <48BD174F.7090109@infoservices.in> Message-ID: <48BD18FE.3040007@infoservices.in> J. Bakshi wrote: > Alex Dehaini wrote: > >> You didn't get my question. When you use check_tcp to check your smtp >> and ftps services, does it work? >> >> > > Yes, this is a production server > and check_tcp was also successful for smtp and ftp > > >> Lex >> >> On Tue, Sep 2, 2008 at 10:31 AM, J. Bakshi > > wrote: >> >> Alex Dehaini wrote: >> > So, check_tcp worked for smtp? but not for ftps? >> >> Exactly. >> >> 1> SMTPS is not working at all with check_smtp :-( >> >> 2> chekck_ftp is working without -S !!! but not with -S ; >> though it is not possible to loginto my ftpserver ( using lftp, >> filezilla) >> >> >> >> > >> > On Tue, Sep 2, 2008 at 10:15 AM, J. Bakshi >> >> > > >> wrote: >> > >> > Alex Dehaini wrote: >> > > Use check_tcp or check_udp to see if you can connect to >> these ports >> > >> > Here is for ftp port >> > ~~~~~~~~~~~~~~~ >> > >> > ./check_tcp -H localhost -p 60021 >> > TCP OK - 0.003 second response time on port 60021 >> > |time=0.002922s;0.000000;0.000000;0.000000;10.000000 >> > >> > ./check_tcp -H localhost -p 60021 -S >> > CRITICAL - Cannot make SSL connection 15556:error:140770FC:SSL >> > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478: >> > >> > >> > Here is for smtps >> > ~~~~~~~~~~~~~~~ >> > >> > ./check_tcp -H localhost -p 465 >> > TCP OK - 0.001 second response time on port 465 >> > |time=0.000886s;0.000000;0.000000;0.000000;10.000000 >> > >> > ./check_tcp -H localhost -p 465 -S >> > TCP OK - 0.119 second response time on port 465 >> > |time=0.118984s;0.000000;0.000000;0.000000;10.000000 >> > >> > >> > thanks >> > > >> > > Lex >> > > >> > > On Tue, Sep 2, 2008 at 9:42 AM, J. Bakshi >> > >> > >> > > > >> > > >>> wrote: >> > > >> > > Alex Dehaini wrote: >> > > > Your smtp server and your ftp server, are they >> different from >> > > your pop >> > > > and imap server? >> > > > >> > > > Your imaps and pop3s are connected locally i.e. on the >> > nagios server >> > > > if I am correct? Your ftp and smtp are not. Is this >> correct? >> > > > >> > > >> > > Hi Alex, >> > > >> > > My ftp (vsftpd with ssl support), postfix, Cyrus all >> are in >> > the same >> > > server where nrpe is running. >> > > thanks >> > > >> > > >> > > >> > > >> > > >> > > > Lex >> > > > >> > > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi >> > > > > > >> > > > >> >> > > > > >> > > > >> > > > >> > > >>>> wrote: >> > > > >> > > > Arno Lehmann wrote: >> > > > > Hello, >> > > > > >> > > > > please respond to the list. >> > > > > >> > > > > 02.09.2008 10:44, J. Bakshi wrote: >> > > > > >> > > > >> Arno Lehmann wrote: >> > > > >> >> > > > >>> Hi, >> > > > >>> >> > > > >>> 02.09.2008 09:37, J. Bakshi wrote: >> > > > >>> >> > > > >>>> Dear list, >> > > > >>>> >> > > > >>>> I have installed >> > > > >>>> >> > > > >>>> nagios-nrpe 2.0 >> > > > >>>> nagios-plugins 1.4 >> > > > >>>> nagios-plugins-extras 1.4 >> > > > >>>> >> > > > >>>> How can I check smtps, ldaps, pop3s, imaps >> with >> > nrpe ? >> > > > >>>> the default check_smtp ; check_imap etc can't >> > check the SSL >> > > > version of >> > > > >>>> the services. >> > > > >>>> >> > > > >>> Mine can; call them with -h for help and >> read the >> > output. I >> > > > usually >> > > > >>> use the -S swich plus, as needed, -p for the >> > target port. >> > > > >>> >> > > > >>> Example output: >> > > > >>> $ /usr/local/nagios3/libexec/check_imap -H >> > 192.168.1.2 >> > > >> > > > -S -p 993 -D 12 >> > > > >>> OK - Certificate will expire on 04/27/2009 >> 21:13. >> > > > >>> IMAP OK - 0.060 second response time on port >> 993 [* OK >> > > IMAP4 Ready >> > > > >>> balrog.privat.lehleute.de >> >> > >> > > >> > >> > > > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 >> > > > >>> >> > > > >>> >> > > > >> Hi Arno, >> > > > >> >> > > > >> first of all thanks for your kind response. I >> have >> > also found >> > > > the "-S" >> > > > >> option but the story is different here and it is >> > > > >> negative :-( >> > > > >> >> > > > >> here is the nmap output which proves the >> required port >> > > are open >> > > > >> >> > > > > >> > > > > It does not actually prove the services are >> listening on >> > > localhost, >> > > > > and that access is not filtered, for example by >> > hosts files. >> > > > > >> > > > > >> > > > >> PORT STATE SERVICE >> > > > >> 25/tcp open smtp >> > > > >> 80/tcp open http >> > > > >> 143/tcp open imap >> > > > >> 389/tcp open ldap >> > > > >> 443/tcp open https >> > > > >> 465/tcp open smtps >> > > > >> 993/tcp open imaps >> > > > >> 995/tcp open pop3s >> > > > >> 1234/tcp open hotline >> > > > >> 2000/tcp open callbook >> > > > >> 3306/tcp open mysql >> > > > >> >> > > > >> more important I can use the SSL enabled >> services, like >> > > pop3s , >> > > > smtps etc... >> > > > >> >> > > > >> If I check with check_smtp I get the following >> > > > >> >> > > > >> /usr/lib/nagios/plugins/check_smtp -H >> localhost -p 465 >> > > -S -v >> > > > >> CRITICAL - Socket timeout after 10 seconds >> > > > >> >> > > > > >> > > > > Check with the ip address that is usually used >> - it's >> > > quite possible >> > > > > the service is not bound to localhost. >> > > > > >> > > > > >> > > > >> And here is the check fir ftp :-( >> > > > >> >> > > > >> /usr/lib/nagios/plugins/check_ftp -H >> localhost -p >> > 60021 >> > > -S -v >> > > > >> CRITICAL - Cannot make SSL connection >> > > 13948:error:140770FC:SSL >> > > > >> routines:SSL23_GET_SERVER_HELLO:unknown >> > > protocol:s23_clnt.c:478: >> > > > >> >> > > > >> Plese note I am practically using ftps, >> smtps, pop3s >> > > > >> >> > > > >> I have no clue really. >> > > > >> Hope you can enlighten me to point out my >> mistake. >> > > > >> >> > > > > >> > > > > Try what I suggested... that's what I'd do now. >> > > > > >> > > > > Arno >> > > > > >> > > > >> > > > Dear Arno and Alex, >> > > > >> > > > thanks a lot for your kind guidance. >> > > > >> > > > Arno, I have also checked with IP but no success. >> > > > >> > > > Here is some more feedback which you can find >> interesting >> > > > >> > > > #### IMAPS successful ########## >> > > > >> > > > /usr/lib/nagios/plugins/check_imap -H localhost >> -p 993 -S >> > > -w 5 -c >> > > > 8 -t 10 >> > > > IMAP OK - 0.099 second response time on port 993 >> [* OK >> > > Cyrus IMAP4 >> > > > v2.2.12 server ready] >> > > > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 >> > > > >> > > > ######## POP3S successful ########## >> > > > /usr/lib/nagios/plugins/check_pop -H localhost >> -p 995 >> > -w 5 >> > > -c 8 >> > > > -t 10 -S >> > > > POP OK - 0.101 second response time on port 995 [+OK >> > > lvps87?230?8?228. >> > > > Cyrus POP3 v2.2.12 server ready >> > > > >> > > >> > >> <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de >> >> > >> > > >> > > > >] >> > > > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 >> > > > >> > > > ######## SMTPS failed but telnet successful >> ######### >> > > > >> > > > /usr/lib/nagios/plugins/check_smtp -H >> > > > server IP> >> > > > -p >> > > > 465 -w 5 -c 8 -t 10 -S >> > > > CRITICAL - Socket timeout after 10 seconds >> > > > >> > > > telnet 87.230.8.228 >> >> > >> > > 465 >> > > > Trying 87.230.8.228... >> > > > Connected to 87.230.8.228 >> >> > >> > > . >> > > > Escape character is '^]'. >> > > > >> > > > quit >> > > > quit >> > > > Connection closed by foreign host. >> > > > >> > > > >> > > > ####### FTPS failed but successful by telnet >> > ###############33 >> > > > >> > > > /usr/lib/nagios/plugins/check_ftp -H > by my >> > server >> > > IP> -p >> > > > 60021 -w 5 -c 8 -t 10 -S >> > > > CRITICAL - Cannot make SSL connection >> > 30050:error:140770FC:SSL >> > > > routines:SSL23_GET_SERVER_HELLO:unknown >> > protocol:s23_clnt.c:478: >> > > > >> > > > telnet localhost 60021 >> > > > Trying 127.0.0.1... >> > > > Connected to localhost. >> > > > Escape character is '^]'. >> > > > 220 *******This server is configured by >> Jatasankar******* >> > > > >> > > > 530 Please login with USER and PASS. >> > > > >> > > > 530 Please login with USER and PASS. >> > > > quit >> > > > 221 Goodbye. >> > > > Connection closed by foreign host. >> > > > >> > > > >> > > > Any clue ? >> > > > thanks >> > > > >> > > > >> > > > >> > > > >> > > > > >> > > > >> with many thanks >> > > > >> >> > > > >> >> > > > >>> Arno >> > > > >>> >> > > > >>> >> > > > >>>> thanks >> > > > >>>> >> > > > >>>> >> > > > >>>> >> > > > >> >> > > > > >> > > > > >> > > > >> > > > >> > > > -- >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > > Joydeep Bakshi, Linux System Admin >> > > > Kolkatainfoservices Pvt Ltd, >> > > > 23A Royd Street, Kolkata 700016, India >> > > > Work Phone 91 033 40014784 >> > > > http://infoservices.in/ >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > Alex Dehaini >> > > > Developer >> > > > Site - www.alexdehaini.com >> >> > >> > > >> > > > Email - alexdehaini at gmail.com >> >> > > > > >> > >> >> > > > > > >> > >> >>> >> > > >> > > >> > > -- >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > Joydeep Bakshi, Linux System Admin >> > > Kolkatainfoservices Pvt Ltd, >> > > 23A Royd Street, Kolkata 700016, India >> > > Work Phone 91 033 40014784 >> > > http://infoservices.in/ >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > >> > > >> > > >> > > >> > > -- >> > > Alex Dehaini >> > > Developer >> > > Site - www.alexdehaini.com >> >> > >> > > Email - alexdehaini at gmail.com >> > > >> > >> >> >> > >> > >> > -- >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > Joydeep Bakshi, Linux System Admin >> > Kolkatainfoservices Pvt Ltd, >> > 23A Royd Street, Kolkata 700016, India >> > Work Phone 91 033 40014784 >> > http://infoservices.in/ >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > >> > >> > >> > >> > -- >> > Alex Dehaini >> > Developer >> > Site - www.alexdehaini.com >> >> > Email - alexdehaini at gmail.com >> > >> >> >> -- >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Joydeep Bakshi, Linux System Admin >> Kolkatainfoservices Pvt Ltd, >> 23A Royd Street, Kolkata 700016, India >> Work Phone 91 033 40014784 >> http://infoservices.in/ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> >> >> >> -- >> Alex Dehaini >> Developer >> Site - www.alexdehaini.com >> Email - alexdehaini at gmail.com >> > > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 12:52:20 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 10:52:20 +0000 Subject: how to check smtps, pop3s, imaps, ldpas withy nrpe ? In-Reply-To: <48BD18FE.3040007@infoservices.in> References: <48BCED24.5060207@infoservices.in> <4b008f7d0809020241m71c8d024v98e61a1c3a5d95fd@mail.gmail.com> <48BD0A99.2080901@infoservices.in> <4b008f7d0809020315l5e7d9289t6bd37ae0a265da49@mail.gmail.com> <48BD1249.9080601@infoservices.in> <4b008f7d0809020325r34a2fb82nb9a4fb6e5de43415@mail.gmail.com> <48BD1607.2050705@infoservices.in> <4b008f7d0809020340n159f2440v572b38f1a58db78a@mail.gmail.com> <48BD174F.7090109@infoservices.in> <48BD18FE.3040007@infoservices.in> Message-ID: <4b008f7d0809020352l205fc5b1q272cfedb967b2697@mail.gmail.com> Excellent - enjoy Lex On Tue, Sep 2, 2008 at 10:44 AM, J. Bakshi wrote: > J. Bakshi wrote: > > Alex Dehaini wrote: > > > >> You didn't get my question. When you use check_tcp to check your smtp > >> and ftps services, does it work? > >> > >> > > > > Yes, this is a production server > > > > and check_tcp was also successful for smtp and ftp > > > > > > >> Lex > >> > >> On Tue, Sep 2, 2008 at 10:31 AM, J. Bakshi >> > wrote: > >> > >> Alex Dehaini wrote: > >> > So, check_tcp worked for smtp? but not for ftps? > >> > >> Exactly. > >> > >> 1> SMTPS is not working at all with check_smtp :-( > >> > >> 2> chekck_ftp is working without -S !!! but not with -S ; > >> though it is not possible to loginto my ftpserver ( using lftp, > >> filezilla) > >> > >> > >> > >> > > >> > On Tue, Sep 2, 2008 at 10:15 AM, J. Bakshi > >> > >> > >> >> wrote: > >> > > >> > Alex Dehaini wrote: > >> > > Use check_tcp or check_udp to see if you can connect to > >> these ports > >> > > >> > Here is for ftp port > >> > ~~~~~~~~~~~~~~~ > >> > > >> > ./check_tcp -H localhost -p 60021 > >> > TCP OK - 0.003 second response time on port 60021 > >> > |time=0.002922s;0.000000;0.000000;0.000000;10.000000 > >> > > >> > ./check_tcp -H localhost -p 60021 -S > >> > CRITICAL - Cannot make SSL connection > 15556:error:140770FC:SSL > >> > routines:SSL23_GET_SERVER_HELLO:unknown > protocol:s23_clnt.c:478: > >> > > >> > > >> > Here is for smtps > >> > ~~~~~~~~~~~~~~~ > >> > > >> > ./check_tcp -H localhost -p 465 > >> > TCP OK - 0.001 second response time on port 465 > >> > |time=0.000886s;0.000000;0.000000;0.000000;10.000000 > >> > > >> > ./check_tcp -H localhost -p 465 -S > >> > TCP OK - 0.119 second response time on port 465 > >> > |time=0.118984s;0.000000;0.000000;0.000000;10.000000 > >> > > >> > > >> > thanks > >> > > > >> > > Lex > >> > > > >> > > On Tue, Sep 2, 2008 at 9:42 AM, J. Bakshi > >> > > >> > > >> > > >> > >> > >> >>> wrote: > >> > > > >> > > Alex Dehaini wrote: > >> > > > Your smtp server and your ftp server, are they > >> different from > >> > > your pop > >> > > > and imap server? > >> > > > > >> > > > Your imaps and pop3s are connected locally i.e. on the > >> > nagios server > >> > > > if I am correct? Your ftp and smtp are not. Is this > >> correct? > >> > > > > >> > > > >> > > Hi Alex, > >> > > > >> > > My ftp (vsftpd with ssl support), postfix, Cyrus all > >> are in > >> > the same > >> > > server where nrpe is running. > >> > > thanks > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > Lex > >> > > > > >> > > > On Tue, Sep 2, 2008 at 9:26 AM, J. Bakshi > >> > > >> >> > > >> > >> >> >> > >> > > > >> > >> > >> > > >> > > >> > >> > >> >>>> wrote: > >> > > > > >> > > > Arno Lehmann wrote: > >> > > > > Hello, > >> > > > > > >> > > > > please respond to the list. > >> > > > > > >> > > > > 02.09.2008 10:44, J. Bakshi wrote: > >> > > > > > >> > > > >> Arno Lehmann wrote: > >> > > > >> > >> > > > >>> Hi, > >> > > > >>> > >> > > > >>> 02.09.2008 09:37, J. Bakshi wrote: > >> > > > >>> > >> > > > >>>> Dear list, > >> > > > >>>> > >> > > > >>>> I have installed > >> > > > >>>> > >> > > > >>>> nagios-nrpe 2.0 > >> > > > >>>> nagios-plugins 1.4 > >> > > > >>>> nagios-plugins-extras 1.4 > >> > > > >>>> > >> > > > >>>> How can I check smtps, ldaps, pop3s, imaps > >> with > >> > nrpe ? > >> > > > >>>> the default check_smtp ; check_imap etc can't > >> > check the SSL > >> > > > version of > >> > > > >>>> the services. > >> > > > >>>> > >> > > > >>> Mine can; call them with -h for help and > >> read the > >> > output. I > >> > > > usually > >> > > > >>> use the -S swich plus, as needed, -p for the > >> > target port. > >> > > > >>> > >> > > > >>> Example output: > >> > > > >>> $ /usr/local/nagios3/libexec/check_imap -H > >> > 192.168.1.2 > >> > > > >> > > > -S -p 993 -D 12 > >> > > > >>> OK - Certificate will expire on 04/27/2009 > >> 21:13. > >> > > > >>> IMAP OK - 0.060 second response time on port > >> 993 [* OK > >> > > IMAP4 Ready > >> > > > >>> balrog.privat.lehleute.de > >> > >> > > >> > > > >> > > >> > > > 0001b1a4]|time=0.059891s;;;0.000000;10.000000 > >> > > > >>> > >> > > > >>> > >> > > > >> Hi Arno, > >> > > > >> > >> > > > >> first of all thanks for your kind response. I > >> have > >> > also found > >> > > > the "-S" > >> > > > >> option but the story is different here and it > is > >> > > > >> negative :-( > >> > > > >> > >> > > > >> here is the nmap output which proves the > >> required port > >> > > are open > >> > > > >> > >> > > > > > >> > > > > It does not actually prove the services are > >> listening on > >> > > localhost, > >> > > > > and that access is not filtered, for example by > >> > hosts files. > >> > > > > > >> > > > > > >> > > > >> PORT STATE SERVICE > >> > > > >> 25/tcp open smtp > >> > > > >> 80/tcp open http > >> > > > >> 143/tcp open imap > >> > > > >> 389/tcp open ldap > >> > > > >> 443/tcp open https > >> > > > >> 465/tcp open smtps > >> > > > >> 993/tcp open imaps > >> > > > >> 995/tcp open pop3s > >> > > > >> 1234/tcp open hotline > >> > > > >> 2000/tcp open callbook > >> > > > >> 3306/tcp open mysql > >> > > > >> > >> > > > >> more important I can use the SSL enabled > >> services, like > >> > > pop3s , > >> > > > smtps etc... > >> > > > >> > >> > > > >> If I check with check_smtp I get the following > >> > > > >> > >> > > > >> /usr/lib/nagios/plugins/check_smtp -H > >> localhost -p 465 > >> > > -S -v > >> > > > >> CRITICAL - Socket timeout after 10 seconds > >> > > > >> > >> > > > > > >> > > > > Check with the ip address that is usually used > >> - it's > >> > > quite possible > >> > > > > the service is not bound to localhost. > >> > > > > > >> > > > > > >> > > > >> And here is the check fir ftp :-( > >> > > > >> > >> > > > >> /usr/lib/nagios/plugins/check_ftp -H > >> localhost -p > >> > 60021 > >> > > -S -v > >> > > > >> CRITICAL - Cannot make SSL connection > >> > > 13948:error:140770FC:SSL > >> > > > >> routines:SSL23_GET_SERVER_HELLO:unknown > >> > > protocol:s23_clnt.c:478: > >> > > > >> > >> > > > >> Plese note I am practically using ftps, > >> smtps, pop3s > >> > > > >> > >> > > > >> I have no clue really. > >> > > > >> Hope you can enlighten me to point out my > >> mistake. > >> > > > >> > >> > > > > > >> > > > > Try what I suggested... that's what I'd do now. > >> > > > > > >> > > > > Arno > >> > > > > > >> > > > > >> > > > Dear Arno and Alex, > >> > > > > >> > > > thanks a lot for your kind guidance. > >> > > > > >> > > > Arno, I have also checked with IP but no success. > >> > > > > >> > > > Here is some more feedback which you can find > >> interesting > >> > > > > >> > > > #### IMAPS successful ########## > >> > > > > >> > > > /usr/lib/nagios/plugins/check_imap -H localhost > >> -p 993 -S > >> > > -w 5 -c > >> > > > 8 -t 10 > >> > > > IMAP OK - 0.099 second response time on port 993 > >> [* OK > >> > > Cyrus IMAP4 > >> > > > v2.2.12 server ready] > >> > > > > |time=0.098621s;5.000000;8.000000;0.000000;10.000000 > >> > > > > >> > > > ######## POP3S successful ########## > >> > > > /usr/lib/nagios/plugins/check_pop -H localhost > >> -p 995 > >> > -w 5 > >> > > -c 8 > >> > > > -t 10 -S > >> > > > POP OK - 0.101 second response time on port 995 > [+OK > >> > > lvps87?230?8?228. > >> > > > Cyrus POP3 v2.2.12 server ready > >> > > > > >> > > > >> > > >> <4156316096.1220347347 at lvps87?230?8?228.dedicated.hosteurope.de > >> > >> > > >> > > > >> > > > >] > >> > > > > |time=0.101278s;5.000000;8.000000;0.000000;10.000000 > >> > > > > >> > > > ######## SMTPS failed but telnet successful > >> ######### > >> > > > > >> > > > /usr/lib/nagios/plugins/check_smtp -H > >> >> > > server IP> > >> > > > -p > >> > > > 465 -w 5 -c 8 -t 10 -S > >> > > > CRITICAL - Socket timeout after 10 seconds > >> > > > > >> > > > telnet 87.230.8.228 > >> > >> > > >> > > 465 > >> > > > Trying 87.230.8.228... > >> > > > Connected to 87.230.8.228 > >> > >> > > >> > > . > >> > > > Escape character is '^]'. > >> > > > > >> > > > quit > >> > > > quit > >> > > > Connection closed by foreign host. > >> > > > > >> > > > > >> > > > ####### FTPS failed but successful by telnet > >> > ###############33 > >> > > > > >> > > > /usr/lib/nagios/plugins/check_ftp -H >> by my > >> > server > >> > > IP> -p > >> > > > 60021 -w 5 -c 8 -t 10 -S > >> > > > CRITICAL - Cannot make SSL connection > >> > 30050:error:140770FC:SSL > >> > > > routines:SSL23_GET_SERVER_HELLO:unknown > >> > protocol:s23_clnt.c:478: > >> > > > > >> > > > telnet localhost 60021 > >> > > > Trying 127.0.0.1... > >> > > > Connected to localhost. > >> > > > Escape character is '^]'. > >> > > > 220 *******This server is configured by > >> Jatasankar******* > >> > > > > >> > > > 530 Please login with USER and PASS. > >> > > > > >> > > > 530 Please login with USER and PASS. > >> > > > quit > >> > > > 221 Goodbye. > >> > > > Connection closed by foreign host. > >> > > > > >> > > > > >> > > > Any clue ? > >> > > > thanks > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > > >> > > > >> with many thanks > >> > > > >> > >> > > > >> > >> > > > >>> Arno > >> > > > >>> > >> > > > >>> > >> > > > >>>> thanks > >> > > > >>>> > >> > > > >>>> > >> > > > >>>> > >> > > > >> > >> > > > > > >> > > > > > >> > > > > >> > > > > >> > > > -- > >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > > > Joydeep Bakshi, Linux System Admin > >> > > > Kolkatainfoservices Pvt Ltd, > >> > > > 23A Royd Street, Kolkata 700016, India > >> > > > Work Phone 91 033 40014784 > >> > > > http://infoservices.in/ > >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > -- > >> > > > Alex Dehaini > >> > > > Developer > >> > > > Site - www.alexdehaini.com > >> > >> > > >> > > > >> > > > Email - alexdehaini at gmail.com > >> > >> > >> > >> > >> > >>> > >> > > >> >> > > >> > > >> >>> > >> > > > >> > > > >> > > -- > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > > Joydeep Bakshi, Linux System Admin > >> > > Kolkatainfoservices Pvt Ltd, > >> > > 23A Royd Street, Kolkata 700016, India > >> > > Work Phone 91 033 40014784 > >> > > http://infoservices.in/ > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > > > >> > > > >> > > > >> > > > >> > > -- > >> > > Alex Dehaini > >> > > Developer > >> > > Site - www.alexdehaini.com > >> > >> > > >> > > Email - alexdehaini at gmail.com > >> >> > > >> > > >> >> > >> > > >> > > >> > -- > >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > Joydeep Bakshi, Linux System Admin > >> > Kolkatainfoservices Pvt Ltd, > >> > 23A Royd Street, Kolkata 700016, India > >> > Work Phone 91 033 40014784 > >> > http://infoservices.in/ > >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > > >> > > >> > > >> > > >> > -- > >> > Alex Dehaini > >> > Developer > >> > Site - www.alexdehaini.com > >> > >> > Email - alexdehaini at gmail.com > >> > > >> > >> > >> -- > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> Joydeep Bakshi, Linux System Admin > >> Kolkatainfoservices Pvt Ltd, > >> 23A Royd Street, Kolkata 700016, India > >> Work Phone 91 033 40014784 > >> http://infoservices.in/ > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > >> > >> > >> > >> -- > >> Alex Dehaini > >> Developer > >> Site - www.alexdehaini.com > >> Email - alexdehaini at gmail.com > >> > > > > > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 13:59:23 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 17:29:23 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. Message-ID: <48BD2A9B.3060905@infoservices.in> Dear list, Now I am monitoring some servers with nagios and nrpe. But some times there is an error msg as "critical" and it is ****** CHECK_NRPE: Socket timeout after 10 seconds. ****** How can I fix this ? will -t help ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 14:11:21 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 12:11:21 +0000 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BD2A9B.3060905@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> Message-ID: <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> socket time out means the plugin timed out after a specific number of time. Show use the command you are using? Lex On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi wrote: > Dear list, > > Now I am monitoring some servers with nagios and nrpe. > But some times there is an error msg as "critical" and it is > > ****** CHECK_NRPE: Socket timeout after 10 seconds. ****** > > How can I fix this ? > > will -t help ? > thanks > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 14:20:01 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 17:50:01 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> Message-ID: <48BD2F71.7030806@infoservices.in> Alex Dehaini wrote: Here ae the commands I'm using # nrpe.cfg file ##################### # Disk space command[check_space]=/usr/lib/nagios/plugins/check_disk check_disk -w 40% -c 20% -p / -u GB #Mailq command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w 10 -c 15 -t 10 #SSH command[check_SSH]=/usr/lib/nagios/plugins/check_ssh localhost #HTTP command[check_web]=/usr/lib/nagios/plugins/check_http -H localhost -p 80 -w 2 -c 4 #IMAPS /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S -w 5 -c 8 #POP3s /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 -c 8 -t 10 -S thanks > socket time out means the plugin timed out after a specific number of > time. Show use the command you are using? > > Lex > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > wrote: > > Dear list, > > Now I am monitoring some servers with nagios and nrpe. > But some times there is an error msg as "critical" and it is > > ****** CHECK_NRPE: Socket timeout after 10 seconds. ****** > > How can I fix this ? > > will -t help ? > thanks > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 14:27:23 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 12:27:23 +0000 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BD2F71.7030806@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> <48BD2F71.7030806@infoservices.in> Message-ID: <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> Are all commands above giving you scoket time out or just some of them? Lex On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi wrote: > Alex Dehaini wrote: > > Here ae the commands I'm using > > # nrpe.cfg file > ##################### > # Disk space > command[check_space]=/usr/lib/nagios/plugins/check_disk check_disk -w > 40% -c 20% -p / -u GB > #Mailq > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w 10 -c 15 -t 10 > #SSH > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh localhost > #HTTP > command[check_web]=/usr/lib/nagios/plugins/check_http -H localhost -p > 80 -w 2 -c 4 > > #IMAPS > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S -w 5 -c 8 > > #POP3s > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 -c 8 -t 10 -S > > thanks > > > > socket time out means the plugin timed out after a specific number of > > time. Show use the command you are using? > > > > Lex > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > wrote: > > > > Dear list, > > > > Now I am monitoring some servers with nagios and nrpe. > > But some times there is an error msg as "critical" and it is > > > > ****** CHECK_NRPE: Socket timeout after 10 seconds. ****** > > > > How can I fix this ? > > > > will -t help ? > > thanks > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win > > great prizes > > Grand prize is a trip for two to an Open Source event anywhere in > > the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 14:27:18 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 17:57:18 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> Message-ID: <48BD3126.8000200@infoservices.in> Alex Dehaini wrote: > Are all commands above giving you scoket time out or just some of them? At a time some of them are giving this error and next time , rest of the commands generates the error but the others becomes normal from its previous state > > Lex > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > wrote: > > Alex Dehaini wrote: > > Here ae the commands I'm using > > # nrpe.cfg file > ##################### > # Disk space > command[check_space]=/usr/lib/nagios/plugins/check_disk check_disk -w > 40% -c 20% -p / -u GB > #Mailq > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w 10 -c > 15 -t 10 > #SSH > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh localhost > #HTTP > command[check_web]=/usr/lib/nagios/plugins/check_http -H localhost -p > 80 -w 2 -c 4 > > #IMAPS > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S -w 5 -c 8 > > #POP3s > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 -c 8 > -t 10 -S > > thanks > > > > socket time out means the plugin timed out after a specific > number of > > time. Show use the command you are using? > > > > Lex > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > >> wrote: > > > > Dear list, > > > > Now I am monitoring some servers with nagios and nrpe. > > But some times there is an error msg as "critical" and it is > > > > ****** CHECK_NRPE: Socket timeout after 10 seconds. ****** > > > > How can I fix this ? > > > > will -t help ? > > thanks > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move > Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win > > great prizes > > Grand prize is a trip for two to an Open Source event > anywhere in > > the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sebastian.Ries at dtnet.de Tue Sep 2 14:37:04 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 02 Sep 2008 14:37:04 +0200 Subject: Using Nagios to check if webpage is really shown In-Reply-To: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> References: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> Message-ID: <1220359024.6828.19.camel@bofh.dtnet.de> Am Dienstag, den 02.09.2008, 12:14 +0200 schrieb Bastiaan: > At the moment I have Nagios 2.9 up and running, and it does different > kind of checks. But now I would not only like to check if, for example > port 80 is open on my webserver, but also if the webpage on the same > webserver is shown that customers can see it. > I have been searching on the internet for a plugin that can help me do > this, but I have not found something useful yet. > > So I hope that anyone can help me. check_http --help -s, --string=STRING String to expect in the content So specify the url and parse for a specific string. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 14:48:28 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 18:18:28 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> Message-ID: <48BD361C.40203@infoservices.in> Alex Dehaini wrote: > Run the commands interactively and see if you get socket errors? You > will have socket errors once you can't connect to the machine. > I have already run the command at the remote server through (SSH login) And all the commands are running quite normal. I am sorry but how can I run command *interactively* ? kindly enlighten me. thanks > Lex > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi > wrote: > > Alex Dehaini wrote: > > Are all commands above giving you scoket time out or just some > of them? > > At a time some of them are giving this error and next time , rest > of the > commands generates the error but the others becomes normal from its > previous state > > > > > > Lex > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > > > >> wrote: > > > > Alex Dehaini wrote: > > > > Here ae the commands I'm using > > > > # nrpe.cfg file > > ##################### > > # Disk space > > command[check_space]=/usr/lib/nagios/plugins/check_disk > check_disk -w > > 40% -c 20% -p / -u GB > > #Mailq > > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w > 10 -c > > 15 -t 10 > > #SSH > > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh localhost > > #HTTP > > command[check_web]=/usr/lib/nagios/plugins/check_http -H > localhost -p > > 80 -w 2 -c 4 > > > > #IMAPS > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S > -w 5 -c 8 > > > > #POP3s > > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 > -c 8 > > -t 10 -S > > > > thanks > > > > > > > socket time out means the plugin timed out after a specific > > number of > > > time. Show use the command you are using? > > > > > > Lex > > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > > > > > > > >>> wrote: > > > > > > Dear list, > > > > > > Now I am monitoring some servers with nagios and nrpe. > > > But some times there is an error msg as "critical" and > it is > > > > > > ****** CHECK_NRPE: Socket timeout after 10 seconds. > ****** > > > > > > How can I fix this ? > > > > > > will -t help ? > > > thanks > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move > > Developer's > > > challenge > > > Build the coolest Linux based applications with Moblin > SDK & win > > > great prizes > > > Grand prize is a trip for two to an Open Source event > > anywhere in > > > the world > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > >> > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > > Email - alexdehaini at gmail.com > > > > > >> > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 15:12:38 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 13:12:38 +0000 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BD361C.40203@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> Message-ID: <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> once you login with ssh and run them at the command line that is fine. The issue now is nagios times out when connecting to these servers. Any firewalls? Lex On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi wrote: > Alex Dehaini wrote: > > Run the commands interactively and see if you get socket errors? You > > will have socket errors once you can't connect to the machine. > > > > I have already run the command at the remote server through (SSH login) > And all the commands are running quite normal. > > I am sorry but how can I run command *interactively* ? > kindly enlighten me. > thanks > > Lex > > > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi > > wrote: > > > > Alex Dehaini wrote: > > > Are all commands above giving you scoket time out or just some > > of them? > > > > At a time some of them are giving this error and next time , rest > > of the > > commands generates the error but the others becomes normal from its > > previous state > > > > > > > > > > Lex > > > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > > > > > > >> wrote: > > > > > > Alex Dehaini wrote: > > > > > > Here ae the commands I'm using > > > > > > # nrpe.cfg file > > > ##################### > > > # Disk space > > > command[check_space]=/usr/lib/nagios/plugins/check_disk > > check_disk -w > > > 40% -c 20% -p / -u GB > > > #Mailq > > > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w > > 10 -c > > > 15 -t 10 > > > #SSH > > > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh localhost > > > #HTTP > > > command[check_web]=/usr/lib/nagios/plugins/check_http -H > > localhost -p > > > 80 -w 2 -c 4 > > > > > > #IMAPS > > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S > > -w 5 -c 8 > > > > > > #POP3s > > > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 -w 5 > > -c 8 > > > -t 10 -S > > > > > > thanks > > > > > > > > > > socket time out means the plugin timed out after a specific > > > number of > > > > time. Show use the command you are using? > > > > > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > > > > > > > > > > > > > >>> wrote: > > > > > > > > Dear list, > > > > > > > > Now I am monitoring some servers with nagios and nrpe. > > > > But some times there is an error msg as "critical" and > > it is > > > > > > > > ****** CHECK_NRPE: Socket timeout after 10 seconds. > > ****** > > > > > > > > How can I fix this ? > > > > > > > > will -t help ? > > > > thanks > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.Net email is sponsored by the Moblin Your Move > > > Developer's > > > > challenge > > > > Build the coolest Linux based applications with Moblin > > SDK & win > > > > great prizes > > > > Grand prize is a trip for two to an Open Source event > > > anywhere in > > > > the world > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > > > > > > > > > >> > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at 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 > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > >> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > Email - alexdehaini at gmail.com > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 15:14:16 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 18:44:16 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> Message-ID: <48BD3C28.800@infoservices.in> Alex Dehaini wrote: > once you login with ssh and run them at the command line that is fine. > The issue now is nagios times out when connecting to these servers. > Any firewalls? Yes I have firewall since these are production server but I have rules for nagios too ## NRPE port #### iptables -A INPUT -i $IFACE -p tcp -m tcp --dport 5666 -j ACCEPT thanks for your reply > > Lex > > On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi > wrote: > > Alex Dehaini wrote: > > Run the commands interactively and see if you get socket errors? You > > will have socket errors once you can't connect to the machine. > > > > I have already run the command at the remote server through (SSH > login) > And all the commands are running quite normal. > > I am sorry but how can I run command *interactively* ? > kindly enlighten me. > thanks > > Lex > > > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi > > > >> wrote: > > > > Alex Dehaini wrote: > > > Are all commands above giving you scoket time out or just some > > of them? > > > > At a time some of them are giving this error and next time , > rest > > of the > > commands generates the error but the others becomes normal > from its > > previous state > > > > > > > > > > Lex > > > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > > > > > > > > > >>> wrote: > > > > > > Alex Dehaini wrote: > > > > > > Here ae the commands I'm using > > > > > > # nrpe.cfg file > > > ##################### > > > # Disk space > > > command[check_space]=/usr/lib/nagios/plugins/check_disk > > check_disk -w > > > 40% -c 20% -p / -u GB > > > #Mailq > > > > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w > > 10 -c > > > 15 -t 10 > > > #SSH > > > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh > localhost > > > #HTTP > > > command[check_web]=/usr/lib/nagios/plugins/check_http -H > > localhost -p > > > 80 -w 2 -c 4 > > > > > > #IMAPS > > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 -S > > -w 5 -c 8 > > > > > > #POP3s > > > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 > -w 5 > > -c 8 > > > -t 10 -S > > > > > > thanks > > > > > > > > > > socket time out means the plugin timed out after a > specific > > > number of > > > > time. Show use the command you are using? > > > > > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > > > > >> > > > > > > > > > > > > >>>> wrote: > > > > > > > > Dear list, > > > > > > > > Now I am monitoring some servers with nagios and > nrpe. > > > > But some times there is an error msg as > "critical" and > > it is > > > > > > > > ****** CHECK_NRPE: Socket timeout after 10 seconds. > > ****** > > > > > > > > How can I fix this ? > > > > > > > > will -t help ? > > > > thanks > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.Net email is sponsored by the Moblin > Your Move > > > Developer's > > > > challenge > > > > Build the coolest Linux based applications with > Moblin > > SDK & win > > > > great prizes > > > > Grand prize is a trip for two to an Open Source > event > > > anywhere in > > > > the world > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at 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 > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > >> > > > > > > > >>> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > > Email - alexdehaini at gmail.com > > > > > >> > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 15:21:16 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 13:21:16 +0000 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BD3C28.800@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> Message-ID: <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> temporarily all access from nagios server to access these servers On Tue, Sep 2, 2008 at 1:14 PM, J. Bakshi wrote: > Alex Dehaini wrote: > > once you login with ssh and run them at the command line that is fine. > > The issue now is nagios times out when connecting to these servers. > > Any firewalls? > > Yes I have firewall since these are production server but I have rules > for nagios too > > ## NRPE port #### > iptables -A INPUT -i $IFACE -p tcp -m tcp --dport 5666 -j ACCEPT > > thanks for your reply > > > > > Lex > > > > On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi > > wrote: > > > > Alex Dehaini wrote: > > > Run the commands interactively and see if you get socket errors? > You > > > will have socket errors once you can't connect to the machine. > > > > > > > I have already run the command at the remote server through (SSH > > login) > > And all the commands are running quite normal. > > > > I am sorry but how can I run command *interactively* ? > > kindly enlighten me. > > thanks > > > Lex > > > > > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi > > > > > > >> wrote: > > > > > > Alex Dehaini wrote: > > > > Are all commands above giving you scoket time out or just > some > > > of them? > > > > > > At a time some of them are giving this error and next time , > > rest > > > of the > > > commands generates the error but the others becomes normal > > from its > > > previous state > > > > > > > > > > > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > > > > > > > > > > > > > > > >>> wrote: > > > > > > > > Alex Dehaini wrote: > > > > > > > > Here ae the commands I'm using > > > > > > > > # nrpe.cfg file > > > > ##################### > > > > # Disk space > > > > command[check_space]=/usr/lib/nagios/plugins/check_disk > > > check_disk -w > > > > 40% -c 20% -p / -u GB > > > > #Mailq > > > > > > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w > > > 10 -c > > > > 15 -t 10 > > > > #SSH > > > > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh > > localhost > > > > #HTTP > > > > command[check_web]=/usr/lib/nagios/plugins/check_http -H > > > localhost -p > > > > 80 -w 2 -c 4 > > > > > > > > #IMAPS > > > > /usr/lib/nagios/plugins/check_imap -H localhost -p 993 > -S > > > -w 5 -c 8 > > > > > > > > #POP3s > > > > /usr/lib/nagios/plugins/check_pop -H localhost -p 995 > > -w 5 > > > -c 8 > > > > -t 10 -S > > > > > > > > thanks > > > > > > > > > > > > > socket time out means the plugin timed out after a > > specific > > > > number of > > > > > time. Show use the command you are using? > > > > > > > > > > Lex > > > > > > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>>> wrote: > > > > > > > > > > Dear list, > > > > > > > > > > Now I am monitoring some servers with nagios and > > nrpe. > > > > > But some times there is an error msg as > > "critical" and > > > it is > > > > > > > > > > ****** CHECK_NRPE: Socket timeout after 10 > seconds. > > > ****** > > > > > > > > > > How can I fix this ? > > > > > > > > > > will -t help ? > > > > > thanks > > > > > > > > > > -- > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > Joydeep Bakshi, Linux System Admin > > > > > Kolkatainfoservices Pvt Ltd, > > > > > 23A Royd Street, Kolkata 700016, India > > > > > Work Phone 91 033 40014784 > > > > > http://infoservices.in/ > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.Net email is sponsored by the Moblin > > Your Move > > > > Developer's > > > > > challenge > > > > > Build the coolest Linux based applications with > > Moblin > > > SDK & win > > > > > great prizes > > > > > Grand prize is a trip for two to an Open Source > > event > > > > anywhere in > > > > > the world > > > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>> > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at 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 > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alex Dehaini > > > > > Developer > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > >> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > Email - alexdehaini at gmail.com > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 15:24:34 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 18:54:34 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020511t1d66f7ffj8e7914a3f9fc6551@mail.gmail.com> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> Message-ID: <48BD3E92.5040406@infoservices.in> Alex Dehaini wrote: > temporarily all access from nagios server to access these servers Did it and no CHECK_NRPE: Socket timeout after 10 seconds. That means some thing in firewall ? But then why it blocking some and not all nrpe commands ? Pleaseeeee enlighten me what else should I add in firewall to resolve this problem ? thanks > > On Tue, Sep 2, 2008 at 1:14 PM, J. Bakshi > wrote: > > Alex Dehaini wrote: > > once you login with ssh and run them at the command line that is > fine. > > The issue now is nagios times out when connecting to these servers. > > Any firewalls? > > Yes I have firewall since these are production server but I have rules > for nagios too > > ## NRPE port #### > iptables -A INPUT -i $IFACE -p tcp -m tcp --dport 5666 -j ACCEPT > > thanks for your reply > > > > > Lex > > > > On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi > > > >> wrote: > > > > Alex Dehaini wrote: > > > Run the commands interactively and see if you get socket > errors? You > > > will have socket errors once you can't connect to the machine. > > > > > > > I have already run the command at the remote server through (SSH > > login) > > And all the commands are running quite normal. > > > > I am sorry but how can I run command *interactively* ? > > kindly enlighten me. > > thanks > > > Lex > > > > > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi > > > > > > > > > >>> wrote: > > > > > > Alex Dehaini wrote: > > > > Are all commands above giving you scoket time out or > just some > > > of them? > > > > > > At a time some of them are giving this error and next > time , > > rest > > > of the > > > commands generates the error but the others becomes normal > > from its > > > previous state > > > > > > > > > > > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > > > > > > >> > > > > > > > > > > > > >>>> wrote: > > > > > > > > Alex Dehaini wrote: > > > > > > > > Here ae the commands I'm using > > > > > > > > # nrpe.cfg file > > > > ##################### > > > > # Disk space > > > > > command[check_space]=/usr/lib/nagios/plugins/check_disk > > > check_disk -w > > > > 40% -c 20% -p / -u GB > > > > #Mailq > > > > > > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w > > > 10 -c > > > > 15 -t 10 > > > > #SSH > > > > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh > > localhost > > > > #HTTP > > > > > command[check_web]=/usr/lib/nagios/plugins/check_http -H > > > localhost -p > > > > 80 -w 2 -c 4 > > > > > > > > #IMAPS > > > > /usr/lib/nagios/plugins/check_imap -H localhost > -p 993 -S > > > -w 5 -c 8 > > > > > > > > #POP3s > > > > /usr/lib/nagios/plugins/check_pop -H localhost > -p 995 > > -w 5 > > > -c 8 > > > > -t 10 -S > > > > > > > > thanks > > > > > > > > > > > > > socket time out means the plugin timed out after a > > specific > > > > number of > > > > > time. Show use the command you are using? > > > > > > > > > > Lex > > > > > > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > > > > > > > >> > > > > > > > > >>> > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>> wrote: > > > > > > > > > > Dear list, > > > > > > > > > > Now I am monitoring some servers with > nagios and > > nrpe. > > > > > But some times there is an error msg as > > "critical" and > > > it is > > > > > > > > > > ****** CHECK_NRPE: Socket timeout after > 10 seconds. > > > ****** > > > > > > > > > > How can I fix this ? > > > > > > > > > > will -t help ? > > > > > thanks > > > > > > > > > > -- > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > Joydeep Bakshi, Linux System Admin > > > > > Kolkatainfoservices Pvt Ltd, > > > > > 23A Royd Street, Kolkata 700016, India > > > > > Work Phone 91 033 40014784 > > > > > http://infoservices.in/ > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.Net email is sponsored by the Moblin > > Your Move > > > > Developer's > > > > > challenge > > > > > Build the coolest Linux based applications > with > > Moblin > > > SDK & win > > > > > great prizes > > > > > Grand prize is a trip for two to an Open > Source > > event > > > > anywhere in > > > > > the world > > > > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>> > > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at 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 > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alex Dehaini > > > > > Developer > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > >> > > > > > > >>> > > > > > > > > > >> > > > > > > > >>>> > > > > > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > >> > > > > > > > >>> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > > Email - alexdehaini at gmail.com > > > > > >> > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 15:35:44 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 13:35:44 +0000 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BD3E92.5040406@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> Message-ID: <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> Dude, I am assisting with nagios not your firewall. Read your firewall docs very well. Remember to always read the documentation carefully before requesting for assistance that are already in the docs. If you want someone to assist you professionally, then you have to pay for their time. Lex On Tue, Sep 2, 2008 at 1:24 PM, J. Bakshi wrote: > Alex Dehaini wrote: > > temporarily all access from nagios server to access these servers > > Did it and no CHECK_NRPE: Socket timeout after 10 seconds. > That means some thing in firewall ? > But then why it blocking some and not all nrpe commands ? > Pleaseeeee enlighten me what else should I add in firewall to resolve > this problem ? > thanks > > > > On Tue, Sep 2, 2008 at 1:14 PM, J. Bakshi > > wrote: > > > > Alex Dehaini wrote: > > > once you login with ssh and run them at the command line that is > > fine. > > > The issue now is nagios times out when connecting to these servers. > > > Any firewalls? > > > > Yes I have firewall since these are production server but I have > rules > > for nagios too > > > > ## NRPE port #### > > iptables -A INPUT -i $IFACE -p tcp -m tcp --dport 5666 -j ACCEPT > > > > thanks for your reply > > > > > > > > Lex > > > > > > On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi > > > > > > >> wrote: > > > > > > Alex Dehaini wrote: > > > > Run the commands interactively and see if you get socket > > errors? You > > > > will have socket errors once you can't connect to the > machine. > > > > > > > > > > I have already run the command at the remote server through > (SSH > > > login) > > > And all the commands are running quite normal. > > > > > > I am sorry but how can I run command *interactively* ? > > > kindly enlighten me. > > > thanks > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi > > > > > > > > > > > > > > > >>> wrote: > > > > > > > > Alex Dehaini wrote: > > > > > Are all commands above giving you scoket time out or > > just some > > > > of them? > > > > > > > > At a time some of them are giving this error and next > > time , > > > rest > > > > of the > > > > commands generates the error but the others becomes > normal > > > from its > > > > previous state > > > > > > > > > > > > > > > > > > Lex > > > > > > > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>>> wrote: > > > > > > > > > > Alex Dehaini wrote: > > > > > > > > > > Here ae the commands I'm using > > > > > > > > > > # nrpe.cfg file > > > > > ##################### > > > > > # Disk space > > > > > > > command[check_space]=/usr/lib/nagios/plugins/check_disk > > > > check_disk -w > > > > > 40% -c 20% -p / -u GB > > > > > #Mailq > > > > > > > > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w > > > > 10 -c > > > > > 15 -t 10 > > > > > #SSH > > > > > > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh > > > localhost > > > > > #HTTP > > > > > > > command[check_web]=/usr/lib/nagios/plugins/check_http -H > > > > localhost -p > > > > > 80 -w 2 -c 4 > > > > > > > > > > #IMAPS > > > > > /usr/lib/nagios/plugins/check_imap -H localhost > > -p 993 -S > > > > -w 5 -c 8 > > > > > > > > > > #POP3s > > > > > /usr/lib/nagios/plugins/check_pop -H localhost > > -p 995 > > > -w 5 > > > > -c 8 > > > > > -t 10 -S > > > > > > > > > > thanks > > > > > > > > > > > > > > > > socket time out means the plugin timed out after > a > > > specific > > > > > number of > > > > > > time. Show use the command you are using? > > > > > > > > > > > > Lex > > > > > > > > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>>>> wrote: > > > > > > > > > > > > Dear list, > > > > > > > > > > > > Now I am monitoring some servers with > > nagios and > > > nrpe. > > > > > > But some times there is an error msg as > > > "critical" and > > > > it is > > > > > > > > > > > > ****** CHECK_NRPE: Socket timeout after > > 10 seconds. > > > > ****** > > > > > > > > > > > > How can I fix this ? > > > > > > > > > > > > will -t help ? > > > > > > thanks > > > > > > > > > > > > -- > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > Joydeep Bakshi, Linux System Admin > > > > > > Kolkatainfoservices Pvt Ltd, > > > > > > 23A Royd Street, Kolkata 700016, India > > > > > > Work Phone 91 033 40014784 > > > > > > http://infoservices.in/ > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > This SF.Net email is sponsored by the Moblin > > > Your Move > > > > > Developer's > > > > > > challenge > > > > > > Build the coolest Linux based applications > > with > > > Moblin > > > > SDK & win > > > > > > great prizes > > > > > > Grand prize is a trip for two to an Open > > Source > > > event > > > > > anywhere in > > > > > > the world > > > > > > > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>>> > > > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Alex Dehaini > > > > > > Developer > > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > > > > > > > >> > > > > > > > > > > > >>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > -- > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > Joydeep Bakshi, Linux System Admin > > > > > Kolkatainfoservices Pvt Ltd, > > > > > 23A Royd Street, Kolkata 700016, India > > > > > Work Phone 91 033 40014784 > > > > > http://infoservices.in/ > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alex Dehaini > > > > > Developer > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > >> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > Email - alexdehaini at gmail.com > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rgravlin at elizacorp.com Tue Sep 2 15:37:47 2008 From: rgravlin at elizacorp.com (Ryan Gravlin) Date: Tue, 2 Sep 2008 09:37:47 -0400 Subject: Default Nagios process self-check Message-ID: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B0A3@MAIL-CCR1.elizacorp.com> Hello all, Nagios Version: 3.0.3 Host: Intel Xeon 1.6GHz / 2GB RAM # of Hosts Monitored: 322 # of Services Monitored: 35 The localhost.cfg comes with a default process check with the values 250+ for warnings and 400+ for critical. Usually about twice an hour from checking the event log I get this message: [09-02-2008 07:02:48] SERVICE ALERT: NAGIOS;Total Processes;WARNING;SOFT;1;PROCS WARNING: 370 processes with STATE = RSZDT It seems to me the machine itself is powerful enough to execute this many checks without even breaking a sweat. Were these defaults configured in the thinking that there should never be that many processes? I'm by no means a Linux or Nagios expert and I was hoping someone could explain more of the thinking behind this check than what I see. I can obviously just bump the numbers up but I want to make sure that I'm not ignoring something obvious that may have unwanted results after the fact. Should I use these numbers I see here as the basis for my new thresholds? Thanks in advance for your help, Ryan Gravlin Eliza Corporation IT Department (w) 978.299.2765 (c) 781.535.7647 (e) rgravlin at elizacorp.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 15:47:10 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 19:17:10 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> References: <48BD2A9B.3060905@infoservices.in> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> Message-ID: <48BD43DE.2080806@infoservices.in> Alex Dehaini wrote: > Dude, > > I am assisting with nagios not your firewall. Read your firewall docs > very well. Remember to always read the documentation carefully before > requesting for assistance that are already in the docs. The nrpe docs mentions abt the firewall rules which I have already used, but no luck :-( > > If you want someone to assist you professionally, then you have to pay > for their time. I understand, thanks so far for your suggestion, guidance > > Lex > > On Tue, Sep 2, 2008 at 1:24 PM, J. Bakshi > wrote: > > Alex Dehaini wrote: > > temporarily all access from nagios server to access these servers > > Did it and no CHECK_NRPE: Socket timeout after 10 seconds. > That means some thing in firewall ? > But then why it blocking some and not all nrpe commands ? > Pleaseeeee enlighten me what else should I add in firewall to resolve > this problem ? > thanks > > > > On Tue, Sep 2, 2008 at 1:14 PM, J. Bakshi > > > >> wrote: > > > > Alex Dehaini wrote: > > > once you login with ssh and run them at the command line > that is > > fine. > > > The issue now is nagios times out when connecting to these > servers. > > > Any firewalls? > > > > Yes I have firewall since these are production server but I > have rules > > for nagios too > > > > ## NRPE port #### > > iptables -A INPUT -i $IFACE -p tcp -m tcp --dport 5666 -j ACCEPT > > > > thanks for your reply > > > > > > > > Lex > > > > > > On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi > > > > > > > > > >>> wrote: > > > > > > Alex Dehaini wrote: > > > > Run the commands interactively and see if you get socket > > errors? You > > > > will have socket errors once you can't connect to > the machine. > > > > > > > > > > I have already run the command at the remote server > through (SSH > > > login) > > > And all the commands are running quite normal. > > > > > > I am sorry but how can I run command *interactively* ? > > > kindly enlighten me. > > > thanks > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi > > > > > > >> > > > > > > > > > > > > >>>> wrote: > > > > > > > > Alex Dehaini wrote: > > > > > Are all commands above giving you scoket time > out or > > just some > > > > of them? > > > > > > > > At a time some of them are giving this error and > next > > time , > > > rest > > > > of the > > > > commands generates the error but the others > becomes normal > > > from its > > > > previous state > > > > > > > > > > > > > > > > > > Lex > > > > > > > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > > > > > > > > > >> > > > > > > > > >>> > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>> wrote: > > > > > > > > > > Alex Dehaini wrote: > > > > > > > > > > Here ae the commands I'm using > > > > > > > > > > # nrpe.cfg file > > > > > ##################### > > > > > # Disk space > > > > > > > command[check_space]=/usr/lib/nagios/plugins/check_disk > > > > check_disk -w > > > > > 40% -c 20% -p / -u GB > > > > > #Mailq > > > > > > > > > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w > > > > 10 -c > > > > > 15 -t 10 > > > > > #SSH > > > > > > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh > > > localhost > > > > > #HTTP > > > > > > > command[check_web]=/usr/lib/nagios/plugins/check_http -H > > > > localhost -p > > > > > 80 -w 2 -c 4 > > > > > > > > > > #IMAPS > > > > > /usr/lib/nagios/plugins/check_imap -H > localhost > > -p 993 -S > > > > -w 5 -c 8 > > > > > > > > > > #POP3s > > > > > /usr/lib/nagios/plugins/check_pop -H localhost > > -p 995 > > > -w 5 > > > > -c 8 > > > > > -t 10 -S > > > > > > > > > > thanks > > > > > > > > > > > > > > > > socket time out means the plugin timed > out after a > > > specific > > > > > number of > > > > > > time. Show use the command you are using? > > > > > > > > > > > > Lex > > > > > > > > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > > > > > > > > > > > >> > > > > > > > > >>> > > > > > > > > > > > > >> > > > > > > > > >>>> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>>> wrote: > > > > > > > > > > > > Dear list, > > > > > > > > > > > > Now I am monitoring some servers with > > nagios and > > > nrpe. > > > > > > But some times there is an error msg as > > > "critical" and > > > > it is > > > > > > > > > > > > ****** CHECK_NRPE: Socket timeout after > > 10 seconds. > > > > ****** > > > > > > > > > > > > How can I fix this ? > > > > > > > > > > > > will -t help ? > > > > > > thanks > > > > > > > > > > > > -- > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > Joydeep Bakshi, Linux System Admin > > > > > > Kolkatainfoservices Pvt Ltd, > > > > > > 23A Royd Street, Kolkata 700016, India > > > > > > Work Phone 91 033 40014784 > > > > > > http://infoservices.in/ > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > This SF.Net email is sponsored by > the Moblin > > > Your Move > > > > > Developer's > > > > > > challenge > > > > > > Build the coolest Linux based > applications > > with > > > Moblin > > > > SDK & win > > > > > > great prizes > > > > > > Grand prize is a trip for two to an Open > > Source > > > event > > > > > anywhere in > > > > > > the world > > > > > > > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>>> > > > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Alex Dehaini > > > > > > Developer > > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > >> > > > > > > > > > >>>> > > > > > > > > > > > > > >> > > > > > > >>> > > > > > > > > > >> > > > > > > > >>>>> > > > > > > > > > > > > > > > -- > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > Joydeep Bakshi, Linux System Admin > > > > > Kolkatainfoservices Pvt Ltd, > > > > > 23A Royd Street, Kolkata 700016, India > > > > > Work Phone 91 033 40014784 > > > > > http://infoservices.in/ > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alex Dehaini > > > > > Developer > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > >> > > > > > > >>> > > > > > > > > > >> > > > > > > > >>>> > > > > > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > >> > > > > > > > >>> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > > Email - alexdehaini at gmail.com > > > > > >> > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Tue Sep 2 16:44:03 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Tue, 02 Sep 2008 20:14:03 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BD43DE.2080806@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> Message-ID: <48BD5133.8050500@infoservices.in> J. Bakshi wrote: > Alex Dehaini wrote: > >> Dude, >> >> I am assisting with nagios not your firewall. Read your firewall docs >> very well. Remember to always read the documentation carefully before >> requesting for assistance that are already in the docs. >> > > The nrpe docs mentions abt the firewall rules which I have already used, > but no luck :-( > Not firewall; I have solved the problem by incresing time with -t example ## part of my local host definition file ############################# define service{ use service ; Name of service template to use host_name hosteurope_server service_description Mysql check_command check_nrpe!60650!check_Mysql -t 20 } ######################################### thanks >> If you want someone to assist you professionally, then you have to pay >> for their time. >> > > I understand, > thanks so far for your suggestion, guidance > > >> Lex >> >> On Tue, Sep 2, 2008 at 1:24 PM, J. Bakshi > > wrote: >> >> Alex Dehaini wrote: >> > temporarily all access from nagios server to access these servers >> >> Did it and no CHECK_NRPE: Socket timeout after 10 seconds. >> That means some thing in firewall ? >> But then why it blocking some and not all nrpe commands ? >> Pleaseeeee enlighten me what else should I add in firewall to resolve >> this problem ? >> thanks >> > >> > On Tue, Sep 2, 2008 at 1:14 PM, J. Bakshi >> >> > > >> wrote: >> > >> > Alex Dehaini wrote: >> > > once you login with ssh and run them at the command line >> that is >> > fine. >> > > The issue now is nagios times out when connecting to these >> servers. >> > > Any firewalls? >> > >> > Yes I have firewall since these are production server but I >> have rules >> > for nagios too >> > >> > ## NRPE port #### >> > iptables -A INPUT -i $IFACE -p tcp -m tcp --dport 5666 -j ACCEPT >> > >> > thanks for your reply >> > >> > > >> > > Lex >> > > >> > > On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi >> > >> > >> > > > >> > > >>> wrote: >> > > >> > > Alex Dehaini wrote: >> > > > Run the commands interactively and see if you get socket >> > errors? You >> > > > will have socket errors once you can't connect to >> the machine. >> > > > >> > > >> > > I have already run the command at the remote server >> through (SSH >> > > login) >> > > And all the commands are running quite normal. >> > > >> > > I am sorry but how can I run command *interactively* ? >> > > kindly enlighten me. >> > > thanks >> > > > Lex >> > > > >> > > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi >> > > > > > >> > > > >> >> > > > > >> > > > >> > > > >> > > >>>> wrote: >> > > > >> > > > Alex Dehaini wrote: >> > > > > Are all commands above giving you scoket time >> out or >> > just some >> > > > of them? >> > > > >> > > > At a time some of them are giving this error and >> next >> > time , >> > > rest >> > > > of the >> > > > commands generates the error but the others >> becomes normal >> > > from its >> > > > previous state >> > > > >> > > > >> > > > > >> > > > > Lex >> > > > > >> > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi >> > > > > >> > > > > >> > > >> >> > > > >> > > > > >> > > >>> >> > > > > > >> > > > >> > > > >> > > >> >> > > > > >> > > > >> > > > >> > > >>>>> wrote: >> > > > > >> > > > > Alex Dehaini wrote: >> > > > > >> > > > > Here ae the commands I'm using >> > > > > >> > > > > # nrpe.cfg file >> > > > > ##################### >> > > > > # Disk space >> > > > > >> > command[check_space]=/usr/lib/nagios/plugins/check_disk >> > > > check_disk -w >> > > > > 40% -c 20% -p / -u GB >> > > > > #Mailq >> > > > > >> > > >> command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w >> > > > 10 -c >> > > > > 15 -t 10 >> > > > > #SSH >> > > > > >> command[check_SSH]=/usr/lib/nagios/plugins/check_ssh >> > > localhost >> > > > > #HTTP >> > > > > >> > command[check_web]=/usr/lib/nagios/plugins/check_http -H >> > > > localhost -p >> > > > > 80 -w 2 -c 4 >> > > > > >> > > > > #IMAPS >> > > > > /usr/lib/nagios/plugins/check_imap -H >> localhost >> > -p 993 -S >> > > > -w 5 -c 8 >> > > > > >> > > > > #POP3s >> > > > > /usr/lib/nagios/plugins/check_pop -H localhost >> > -p 995 >> > > -w 5 >> > > > -c 8 >> > > > > -t 10 -S >> > > > > >> > > > > thanks >> > > > > >> > > > > >> > > > > > socket time out means the plugin timed >> out after a >> > > specific >> > > > > number of >> > > > > > time. Show use the command you are using? >> > > > > > >> > > > > > Lex >> > > > > > >> > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi >> > > > > > >> > > > >> > > > >> > > >> > >> > > > >> > > > >> > > >>> >> > > > > >> > > > >> > > > >> > > >> > >> > > > >> > > > >> > > >>>> >> > > > > > > >> > > > >> > > > >> > > >> >> > > > > >> > > > >> > > > >> > > >>> >> > > > > > >> > > > >> > > > >> > > >> >> > > > > >> > > > >> > > > >> > > >>>>>> wrote: >> > > > > > >> > > > > > Dear list, >> > > > > > >> > > > > > Now I am monitoring some servers with >> > nagios and >> > > nrpe. >> > > > > > But some times there is an error msg as >> > > "critical" and >> > > > it is >> > > > > > >> > > > > > ****** CHECK_NRPE: Socket timeout after >> > 10 seconds. >> > > > ****** >> > > > > > >> > > > > > How can I fix this ? >> > > > > > >> > > > > > will -t help ? >> > > > > > thanks >> > > > > > >> > > > > > -- >> > > > > > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > > > > Joydeep Bakshi, Linux System Admin >> > > > > > Kolkatainfoservices Pvt Ltd, >> > > > > > 23A Royd Street, Kolkata 700016, India >> > > > > > Work Phone 91 033 40014784 >> > > > > > http://infoservices.in/ >> > > > > > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > > > > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> ------------------------------------------------------------------------- >> > > > > > This SF.Net email is sponsored by >> the Moblin >> > > Your Move >> > > > > Developer's >> > > > > > challenge >> > > > > > Build the coolest Linux based >> applications >> > with >> > > Moblin >> > > > SDK & win >> > > > > > great prizes >> > > > > > Grand prize is a trip for two to an Open >> > Source >> > > event >> > > > > anywhere in >> > > > > > the world >> > > > > > >> > > > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> > > > >> > > >> > >> > > >> >> > > > >> > > >> > > > >> > > >> > >> > > >>> >> > > > > >> > > >> > >> > > > >> > > >> > >> > > >> >> > > > >> > > >> > > > >> > > >> > >> > > >>>> >> > > > > > >> > > > >> > > >> > > > >> > > >> > >> > > >> >> > > > >> > > >> > > > >> > > >> > >> > > >>> >> > > > > >> > > >> > >> > > > >> > > >> > >> > > >> >> > > > >> > > >> > > > >> > > >> > >> > > >>>>> >> > > > > > >> > _______________________________________________ >> > > > > > Nagios-users mailing list >> > > > > > Nagios-users at 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 >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > -- >> > > > > > Alex Dehaini >> > > > > > Developer >> > > > > > Site - www.alexdehaini.com >> >> > >> > > >> > > > >> > > > > >> > > > > > Email - alexdehaini at gmail.com >> >> > > >> > > > > >> >> > > > > >> > > >> > > > >> > > >>> > >> > > >> > > > > >> >> > > > > >> > > > > >> > >>>> >> > > > > > >> > > >> > > > >> > > >> > >> > > >> > > > > >>> >> > > > > >> > > > > >> > >> >> > > > > > >> > >> >>>>> >> > > > > >> > > > > >> > > > > -- >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > > > Joydeep Bakshi, Linux System Admin >> > > > > Kolkatainfoservices Pvt Ltd, >> > > > > 23A Royd Street, Kolkata 700016, India >> > > > > Work Phone 91 033 40014784 >> > > > > http://infoservices.in/ >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > Alex Dehaini >> > > > > Developer >> > > > > Site - www.alexdehaini.com >> >> > >> > > >> > > > >> > > > > Email - alexdehaini at gmail.com >> >> > > >> > > > >> > > >> > >> > > >> > > > > >>> >> > > > > >> > > > > >> > >> >> > > > > > >> > >> >>>> >> > > > >> > > > >> > > > -- >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > > Joydeep Bakshi, Linux System Admin >> > > > Kolkatainfoservices Pvt Ltd, >> > > > 23A Royd Street, Kolkata 700016, India >> > > > Work Phone 91 033 40014784 >> > > > http://infoservices.in/ >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > Alex Dehaini >> > > > Developer >> > > > Site - www.alexdehaini.com >> >> > >> > > >> > > > Email - alexdehaini at gmail.com >> >> > > > > >> > >> >> > > > > > >> > >> >>> >> > > >> > > >> > > -- >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > Joydeep Bakshi, Linux System Admin >> > > Kolkatainfoservices Pvt Ltd, >> > > 23A Royd Street, Kolkata 700016, India >> > > Work Phone 91 033 40014784 >> > > http://infoservices.in/ >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > >> > > >> > > >> > > >> > > -- >> > > Alex Dehaini >> > > Developer >> > > Site - www.alexdehaini.com >> >> > >> > > Email - alexdehaini at gmail.com >> > > >> > >> >> >> > >> > >> > -- >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > Joydeep Bakshi, Linux System Admin >> > Kolkatainfoservices Pvt Ltd, >> > 23A Royd Street, Kolkata 700016, India >> > Work Phone 91 033 40014784 >> > http://infoservices.in/ >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > >> > >> > >> > >> > -- >> > Alex Dehaini >> > Developer >> > Site - www.alexdehaini.com >> >> > Email - alexdehaini at gmail.com >> > >> >> >> -- >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Joydeep Bakshi, Linux System Admin >> Kolkatainfoservices Pvt Ltd, >> 23A Royd Street, Kolkata 700016, India >> Work Phone 91 033 40014784 >> http://infoservices.in/ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> >> >> >> -- >> Alex Dehaini >> Developer >> Site - www.alexdehaini.com >> Email - alexdehaini at gmail.com >> > > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 16:53:31 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 14:53:31 +0000 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BD43DE.2080806@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> Message-ID: <4b008f7d0809020753j3ca407eahefc0f20c975ff326@mail.gmail.com> NP On Tue, Sep 2, 2008 at 1:47 PM, J. Bakshi wrote: > Alex Dehaini wrote: > > Dude, > > > > I am assisting with nagios not your firewall. Read your firewall docs > > very well. Remember to always read the documentation carefully before > > requesting for assistance that are already in the docs. > > The nrpe docs mentions abt the firewall rules which I have already used, > but no luck :-( > > > > If you want someone to assist you professionally, then you have to pay > > for their time. > > I understand, > thanks so far for your suggestion, guidance > > > > > Lex > > > > On Tue, Sep 2, 2008 at 1:24 PM, J. Bakshi > > wrote: > > > > Alex Dehaini wrote: > > > temporarily all access from nagios server to access these servers > > > > Did it and no CHECK_NRPE: Socket timeout after 10 seconds. > > That means some thing in firewall ? > > But then why it blocking some and not all nrpe commands ? > > Pleaseeeee enlighten me what else should I add in firewall to > resolve > > this problem ? > > thanks > > > > > > On Tue, Sep 2, 2008 at 1:14 PM, J. Bakshi > > > > > > >> wrote: > > > > > > Alex Dehaini wrote: > > > > once you login with ssh and run them at the command line > > that is > > > fine. > > > > The issue now is nagios times out when connecting to these > > servers. > > > > Any firewalls? > > > > > > Yes I have firewall since these are production server but I > > have rules > > > for nagios too > > > > > > ## NRPE port #### > > > iptables -A INPUT -i $IFACE -p tcp -m tcp --dport 5666 -j > ACCEPT > > > > > > thanks for your reply > > > > > > > > > > > Lex > > > > > > > > On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi > > > > > > > > > > > > > > > >>> wrote: > > > > > > > > Alex Dehaini wrote: > > > > > Run the commands interactively and see if you get > socket > > > errors? You > > > > > will have socket errors once you can't connect to > > the machine. > > > > > > > > > > > > > I have already run the command at the remote server > > through (SSH > > > > login) > > > > And all the commands are running quite normal. > > > > > > > > I am sorry but how can I run command *interactively* ? > > > > kindly enlighten me. > > > > thanks > > > > > Lex > > > > > > > > > > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>>> wrote: > > > > > > > > > > Alex Dehaini wrote: > > > > > > Are all commands above giving you scoket time > > out or > > > just some > > > > > of them? > > > > > > > > > > At a time some of them are giving this error and > > next > > > time , > > > > rest > > > > > of the > > > > > commands generates the error but the others > > becomes normal > > > > from its > > > > > previous state > > > > > > > > > > > > > > > > > > > > > > Lex > > > > > > > > > > > > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>>>> wrote: > > > > > > > > > > > > Alex Dehaini wrote: > > > > > > > > > > > > Here ae the commands I'm using > > > > > > > > > > > > # nrpe.cfg file > > > > > > ##################### > > > > > > # Disk space > > > > > > > > > command[check_space]=/usr/lib/nagios/plugins/check_disk > > > > > check_disk -w > > > > > > 40% -c 20% -p / -u GB > > > > > > #Mailq > > > > > > > > > > > > command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w > > > > > 10 -c > > > > > > 15 -t 10 > > > > > > #SSH > > > > > > > > command[check_SSH]=/usr/lib/nagios/plugins/check_ssh > > > > localhost > > > > > > #HTTP > > > > > > > > > command[check_web]=/usr/lib/nagios/plugins/check_http -H > > > > > localhost -p > > > > > > 80 -w 2 -c 4 > > > > > > > > > > > > #IMAPS > > > > > > /usr/lib/nagios/plugins/check_imap -H > > localhost > > > -p 993 -S > > > > > -w 5 -c 8 > > > > > > > > > > > > #POP3s > > > > > > /usr/lib/nagios/plugins/check_pop -H > localhost > > > -p 995 > > > > -w 5 > > > > > -c 8 > > > > > > -t 10 -S > > > > > > > > > > > > thanks > > > > > > > > > > > > > > > > > > > socket time out means the plugin timed > > out after a > > > > specific > > > > > > number of > > > > > > > time. Show use the command you are using? > > > > > > > > > > > > > > Lex > > > > > > > > > > > > > > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>>>>> wrote: > > > > > > > > > > > > > > Dear list, > > > > > > > > > > > > > > Now I am monitoring some servers with > > > nagios and > > > > nrpe. > > > > > > > But some times there is an error msg as > > > > "critical" and > > > > > it is > > > > > > > > > > > > > > ****** CHECK_NRPE: Socket timeout > after > > > 10 seconds. > > > > > ****** > > > > > > > > > > > > > > How can I fix this ? > > > > > > > > > > > > > > will -t help ? > > > > > > > thanks > > > > > > > > > > > > > > -- > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > Joydeep Bakshi, Linux System Admin > > > > > > > Kolkatainfoservices Pvt Ltd, > > > > > > > 23A Royd Street, Kolkata 700016, India > > > > > > > Work Phone 91 033 40014784 > > > > > > > http://infoservices.in/ > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by > > the Moblin > > > > Your Move > > > > > > Developer's > > > > > > > challenge > > > > > > > Build the coolest Linux based > > applications > > > with > > > > Moblin > > > > > SDK & win > > > > > > > great prizes > > > > > > > Grand prize is a trip for two to an > Open > > > Source > > > > event > > > > > > anywhere in > > > > > > > the world > > > > > > > > > > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>>>> > > > > > > > > > > _______________________________________________ > > > > > > > Nagios-users mailing list > > > > > > > Nagios-users at 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Alex Dehaini > > > > > > > Developer > > > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>>> > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > >>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>> > > > > > > > > > > > > > > > > > > -- > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > Joydeep Bakshi, Linux System Admin > > > > > > Kolkatainfoservices Pvt Ltd, > > > > > > 23A Royd Street, Kolkata 700016, India > > > > > > Work Phone 91 033 40014784 > > > > > > http://infoservices.in/ > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Alex Dehaini > > > > > > Developer > > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > > > > > > > >> > > > > > > > > > > > >>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > -- > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > Joydeep Bakshi, Linux System Admin > > > > > Kolkatainfoservices Pvt Ltd, > > > > > 23A Royd Street, Kolkata 700016, India > > > > > Work Phone 91 033 40014784 > > > > > http://infoservices.in/ > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alex Dehaini > > > > > Developer > > > > > Site - www.alexdehaini.com > > > > > > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > -- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Joydeep Bakshi, Linux System Admin > > > > Kolkatainfoservices Pvt Ltd, > > > > 23A Royd Street, Kolkata 700016, India > > > > Work Phone 91 033 40014784 > > > > http://infoservices.in/ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > > > > > > Email - alexdehaini at gmail.com > > > > > > > > > >> > > > > > > > > > -- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Joydeep Bakshi, Linux System Admin > > > Kolkatainfoservices Pvt Ltd, > > > 23A Royd Street, Kolkata 700016, India > > > Work Phone 91 033 40014784 > > > http://infoservices.in/ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > > > Email - alexdehaini at gmail.com > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Tue Sep 2 17:01:15 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 2 Sep 2008 17:01:15 +0200 Subject: Antwort: Default Nagios process self-check In-Reply-To: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B0A3@MAIL-CCR1.elizacorp.com> References: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B0A3@MAIL-CCR1.elizacorp.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 02.09.2008 15:37:47: > # of Hosts Monitored: 322 > # of Services Monitored: 35 > > The localhost.cfg comes with a default process check with the values > 250+ for warnings and 400+ for critical. Usually about twice an > hour from checking the event log I get this message: > > [09-02-2008 07:02:48] SERVICE ALERT: NAGIOS;Total Processes;WARNING; > SOFT;1;PROCS WARNING: 370 processes with STATE = RSZDT > > It seems to me the machine itself is powerful enough to execute this > many checks without even breaking a sweat. Were these defaults > configured in the thinking that there should never be that many processes? > > I'm by no means a Linux or Nagios expert and I was hoping someone > could explain more of the thinking behind this check than what I > see. I can obviously just bump the numbers up but I want to make > sure that I'm not ignoring something obvious that may have unwanted > results after the fact. Should I use these numbers I see here as > the basis for my new thresholds? These thresholds were never meant to be any upper limit, the maximum number of concurrent checks your box can handle solely depends on your hardware. See it more like an "if you have a nagios installation which produces that many concurrent checks - then you should know by now how to change this behaviour" ;-) But then - I fail to see how your setup with 322 host and only 35(?) service checks could produce that many processes. Maybe it'll be a good idea to doublecheck what's going on there. S GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From myoung at nagios.org Tue Sep 2 17:42:37 2008 From: myoung at nagios.org (Mark Young) Date: Tue, 2 Sep 2008 10:42:37 -0500 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BD5133.8050500@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> <48BD5133.8050500@infoservices.in> Message-ID: <24EFADC0-22E7-4C5F-AA4C-B586E03DF36F@nagios.org> On Sep 2, 2008, at 9:44 AM, J. Bakshi wrote: > J. Bakshi wrote: >> Alex Dehaini wrote: >> >>> Dude, >>> >>> I am assisting with nagios not your firewall. Read your firewall >>> docs >>> very well. Remember to always read the documentation carefully >>> before >>> requesting for assistance that are already in the docs. >>> >> >> The nrpe docs mentions abt the firewall rules which I have already >> used, >> but no luck :-( >> > > Not firewall; I have solved the problem by incresing time with -t From what you are describing I believe that this is a problem with your xinetd nrpe configuration. I run into this problem a lot. By default Xinet will only allow so many instances per second that if exceeded xinet will refuse connects for certain amount of time. Basically your remote server thinks that it is being DDoS. Increasing the time is only covering a symptom. You can change this globally or per service by adding these lines in ether /etc/xinetd.conf or /etc/xinetd.d/nrpe. You can play with the exact numbers you need. I believe the default is 50 connections a second. # CPS where 100 connection per second with a timepout of 10 seconds if exceded. # Max number of instances running [myoung at vserve xinetd.d]# more nrpe # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1,IP.ADDRESS.OF.NAGIOS cps = 100 10 instances = 300 } Good luck! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From myoung at nagios.org Tue Sep 2 17:19:03 2008 From: myoung at nagios.org (Mark Young) Date: Tue, 2 Sep 2008 10:19:03 -0500 Subject: multiple nagios instances on one machine In-Reply-To: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> References: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> Message-ID: <5B7F3B1A-59E3-4C70-8CBE-85DA468183A8@nagios.org> On Sep 1, 2008, at 8:12 AM, Steven Battaille wrote: > Is there anyone who can tell me if it is possible to run more than > one instance of nagios on the same machine? To answer your question... Yes! It is really easy to run multiple instances of Nagios on the same machine. :-) A simple approach, albeit more overhead, is to simply configure/install both Nagios and Nagios Plugins in a different directories by passing the '--prefix=/ path/to/separate/nagios/installations'. Each instance will than have its own init script and apache web alias (which you could setup as customer1.domain.com). I think it is a great way to separate customers instances, though you may have to do some scalability testing to see how far you can push your hardware. It is not as elegant as Gerhard's method (http://people.consol.de/~lausser/nagios/more-than-one-nagios.html ) BUT it has the ability to update each individual instance of Nagios, Nagios Plugins, and 'configuration changes' without affecting the other instances. Which I think is really nice. :-) As another benefit.. you can give each instance owner full rights to their instance. We use it internally to test out different versions and combinations of Nagios and Nagios Plugins. ::For Example:: In Nagios source directory: ./configure --with-command-group=nagcmd --prefix=/path/to/separate/ nagios/installations make all make install make install-init make install-config make install-commandmode make install-webconf htpasswd -c /path/to/separate/nagios/installations/etc/htpasswd.users nagiosadmin In the Nagios Plugins source directory: ./configure --with-nagios-user=nagios --with-nagios-group=nagios -- prefix=/path/to/separate/nagios/installations make make install Good luck! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Tue Sep 2 18:34:41 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 2 Sep 2008 16:34:41 +0000 Subject: Nagvis alternatives Message-ID: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> Hi Guys, Are there other projects like nagvis? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smartin at akazaresearch.com Tue Sep 2 19:01:33 2008 From: smartin at akazaresearch.com (Shaun Martin) Date: Tue, 02 Sep 2008 13:01:33 -0400 Subject: Notification Problem In-Reply-To: References: Message-ID: Hi Marc, Thanks for looking at my problem as it is driving me nuts why one hosts alerts and the other does not. I have provided the requested info below. > Please post -- > the service template definition define service{ name generic-service ; The 'name' of this service templ ate active_checks_enabled 1 ; Active service checks are enable d passive_checks_enabled 1 ; Passive service checks are enabl ed/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this servi ce (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enable d event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information ac ross program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at an y time of the day max_check_attempts 3 ; Re-check the service up to 3 tim es in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minut es under normal conditions retry_check_interval 2 ; Re-check the service every two m inutes until a hard state can be determined contact_groups admins ; Notifications get sent out to ev eryone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning , unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } # Local service definition template - This is NOT a real service, just a template! define service{ name local-service ; The name of this service templat e use generic-service ; Inherit default values from the generic-service definition max_check_attempts 4 ; Re-check the service up to 4 tim es in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 5 minute s under normal conditions retry_check_interval 1 ; Re-check the service every minut e until a hard state can be determined register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ name local-service-isovera ; The name of this service template use generic-service ; Inherit default values from the generic-service definition max_check_attempts 3 ; Re-check the service up to 4 tim es in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 5 minute s under normal conditions retry_check_interval 1 ; Re-check the service every minut e until a hard state can be determined register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! contact_groups isovera } > the service definition > the host template definition define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across pro gram restarts notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ name linux-server-isovera ; The name of th is host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux host s are checked round the clock check_interval 5 ; Actively check the hos t every 5 minutes retry_interval 1 ; Schedule host check re tries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period 24x7 ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variab le is being overridden from ; the value that is inherited from the gene ric-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific hos t states contact_groups isovera ; Notifications get sent to the admins by default register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } > the host and service definition ############################################################################ ### ############################################################################ ### # # HOST DEFINITION # ############################################################################ ### ############################################################################ ### # Define a host for the local machine define host{ use linux-server host_name www.localhost.org alias www.localhost.org address 198.xxx.xxx.xx } ############################################################################ ### ############################################################################ ### # # SERVICE DEFINITIONS # ############################################################################ ### ############################################################################ ### # Define a service to "ping" the local machine # Define a service to check the disk space of the root partition # on the local machine. Warning if < 20% free, critical if # < 10% free space on partition. define service{ use local-service-isovera host_name www.localhost.org service_description / Partition check_command check_nrpe!check_disk1 } define service{ use local-service-isovera host_name www.localhost.org service_description /usr Partition check_command check_nrpe!check_disk4 } define service{ use local-service-isovera host_name www.localhost.org service_description /var Partition check_command check_nrpe!check_disk5 } define service{ use local-service-isovera host_name www.localhost.org service_description /var/run Partition check_command check_nrpe!check_disk9 } define service{ use local-service-isovera host_name www.localhost.org service_description /opt Partition check_command check_nrpe!check_disk8 } define service{ use local-service-isovera host_name www.localhost.org service_description /tmp Partition check_command check_nrpe!check_disk3 } define service{ use local-service-isovera host_name www.localhost.org service_description /home Partition check_command check_nrpe!check_disk6 } # Define a service to check the number of currently logged in # users on the local machine. Warning if > 20 users, critical # if > 50 users. define service{ use local-service host_name www.localhost.org service_description Current Users check_command check_nrpe!check_users } # Define a service to check the number of currently running procs # on the local machine. Warning if > 250 processes, critical if # > 400 users. define service{ use local-service-isovera host_name www.localhost.org service_description Local Processes check_command check_nrpe!check_local_procs } define service{ use local-service-isovera host_name www.localhost.org service_description Total Processes check_command check_nrpe!check_total_procs } define service{ use local-service-isovera host_name www.localhost.org service_description Zombie Processes check_command check_nrpe!check_zombie_procs } # Define a service to check the load on the local machine. define service{ use local-service-isovera host_name www.localhost.org service_description Current Load check_command check_nrpe!check_local_load } # Define a service to check the swap usage the local machine. # Critical if less than 10% of swap is free, warning if less than 20% is free define service{ use local-service host_name www.localhost.org service_description Memory Usage check_command check_nrpe!check_mem } define service{ use local-service-isovera host_name www.localhost.org service_description Swap Usage check_command check_nrpe!check_local_swap } # Define a service to check SSH on the local machine. # Disable notifications for this service by default, as not all users may have SSH enabled. define service{ use local-service-isovera host_name www.localhost.org service_description SSH check_command check_ssh } # Define a service to check HTTP on the local machine. # Disable notifications for this service by default, as not all users may have HTTP enabled. define service{ use local-service-isovera host_name www.localhost.org service_description HTTP check_command check_http } define service{ use local-service-isovera host_name www.localhost.org service_description Check Domain check_command check_domain!biosciednet.org } > the contactgroup definition define contactgroup{ contactgroup_name isovera alias Nagios Administrators members sdemi,nagiosadmin } efine contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } > the contact definition define contact{ name generic-contact ; The name of th is contact template service_notification_period 24x7 ; service notifi cations can be sent anytime host_notification_period 24x7 ; host notificat ions can be sent anytime service_notification_options w,u,c,r,f,s ; send notificat ions for all service states, flapping events, and scheduled downtime events host_notification_options d,u,r,f,s ; send notificat ions for all host states, flapping events, and scheduled downtime events service_notification_commands notify-service-by-email ; send service n otifications via email host_notification_commands notify-host-by-email ; send host noti fications via email register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE! } define contact{ contact_name sdemi use generic-contact alias Isovera Admin2 email sdemi at isovera.com } define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from gene ric-contact template (defined above) alias Nagios Admin ; Full name of user email smartin at akazaresearch.com ; <<***** CHANGE THIS TO Y OUR EMAIL ADDRESS ****** } > the Service State Information from the web gui when it should have > sent a notification (click on the service name) Service State Information Current Status: WARNING (for 3d 22h 36m 52s) Status Information: USERS WARNING - 1 users currently logged in Performance Data: users=1;1;10;0 Current Attempt: 1/4 (HARD state) Last Check Time: 09-02-2008 12:55:00 Check Type: ACTIVE Check Latency / Duration: 0.205 / 0.186 seconds Next Scheduled Check: 09-02-2008 13:00:00 Last State Change: 08-29-2008 14:22:33 Last Notification: N/A (notification 0) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 09-02-2008 12:59:16 ( 0d 0h 0m 9s ago) Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED > any nagios.log entries for the service when it should have sent a > notification That is the thing if I click on notifications it does not even report sending one. So I know it is now an email issue as nagios never even tries to send a notification. The weirdest part is I have other hosts using the exact same templates that do send and log that they send notifications for hosts and services. This box only sends and logs host notifications. Thanks for all your help. Thanks, Shaun On 8/29/08 6:00 PM, "Marc Powell" wrote: > > On Aug 29, 2008, at 1:48 PM, Shaun Martin wrote: > >> Hi All, >> >> So I am using all templates and I just added a new host today. Using >> the same service and host templates as all my other hosts. Those >> other hosts send me out notifications when a service hits warning or >> critical. My new host only seems to send out host notifications and >> not service notifications. Like I said the same template is used for >> this new host and my old hosts for services. I am using the nrpe >> agent, the only real difference about this machine is it is Sun OS, >> but the check_nrpe ?c returns the same values as it does on a linux >> box so I do not think that is the issue. Also I noticed even though >> the service has been checked many times with a warning or critical >> status, the current attempt never progresses of of one. I do a check >> service now and wait for it to finish and the attempt is still 1/4. >> So I do not know is that is the underlying issue. I have restarted >> nagios after ever configuration change and I did a ps to make sure >> their was no instance running before starting backup. Since I am >> using templates I do not know what my problem is as every other >> service notifies except services on this host which is using the >> same host and service templates. I am bout to pull my hair out any >> help would be appreciated. > > > You'll have to provide more detailed information. The above is too > vague to figure out what the underlying issue is. You've covered some > of the bases though. > > Please post -- > the service template definition > the service definition > the host template definition > the host definition > the contactgroup definition > the contact definition > the Service State Information from the web gui when it should have > sent a notification (click on the service name) > any nagios.log entries for the service when it should have sent a > notification > > -- > Marc > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Shaun Martin Systems Administrator Akaza Research smartin at akazaresearch.com Office: (617) 621-8585 x 13 Cell: (978) 360-3402 www.akazaresearch.com www.openclinica.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rgravlin at elizacorp.com Tue Sep 2 19:12:01 2008 From: rgravlin at elizacorp.com (Ryan Gravlin) Date: Tue, 2 Sep 2008 13:12:01 -0400 Subject: Antwort: Default Nagios process self-check In-Reply-To: References: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B0A3@MAIL-CCR1.elizacorp.com> Message-ID: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B427@MAIL-CCR1.elizacorp.com> Hi Sascha, It seems that for every host, 3 processes are launched to do the host ping check: sh, ping, and nagios. I currently have ~57 hosts that are in an down state and have been acknowledged as out of service. I would assume 57*3 plus the 30 second timeout could cause this many processes at the same time. I guess that brings me to my next question. I could disable active host checks for these out of service machines which would most likely alleviate my warnings about the amount of processes, but would I have to re-enable them once the machines are brought back up? I currently just acknowledge the problem and leave a comment when a machine is put out of service, but this means that it will be back at some point. When it does come back, acknowledgement is gone and regular checks are still happening. Does anyone know of a better way to do this? Thanks so much, Ryan Gravlin ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sascha.Runschke at gfkl.com Sent: Tuesday, September 02, 2008 11:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Antwort: Default Nagios process self-check nagios-users-bounces at lists.sourceforge.net schrieb am 02.09.2008 15:37:47: > # of Hosts Monitored: 322 > # of Services Monitored: 35 > > The localhost.cfg comes with a default process check with the values > 250+ for warnings and 400+ for critical. Usually about twice an > hour from checking the event log I get this message: > > [09-02-2008 07:02:48] SERVICE ALERT: NAGIOS;Total Processes;WARNING; > SOFT;1;PROCS WARNING: 370 processes with STATE = RSZDT > > It seems to me the machine itself is powerful enough to execute this > many checks without even breaking a sweat. Were these defaults > configured in the thinking that there should never be that many processes? > > I'm by no means a Linux or Nagios expert and I was hoping someone > could explain more of the thinking behind this check than what I > see. I can obviously just bump the numbers up but I want to make > sure that I'm not ignoring something obvious that may have unwanted > results after the fact. Should I use these numbers I see here as > the basis for my new thresholds? These thresholds were never meant to be any upper limit, the maximum number of concurrent checks your box can handle solely depends on your hardware. See it more like an "if you have a nagios installation which produces that many concurrent checks - then you should know by now how to change this behaviour" ;-) But then - I fail to see how your setup with 322 host and only 35(?) service checks could produce that many processes. Maybe it'll be a good idea to doublecheck what's going on there. S GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 2 19:39:12 2008 From: marc at ena.com (Marc Powell) Date: Tue, 2 Sep 2008 12:39:12 -0500 Subject: Notification Problem In-Reply-To: References: Message-ID: <3A0DF43F-6015-4D18-A868-9D294122C0D8@ena.com> On Sep 2, 2008, at 12:01 PM, Shaun Martin wrote: > Hi Marc, > > Thanks for looking at my problem as it is driving me nuts why one > hosts > alerts and the other does not. I have provided the requested info > below. [chop] >> the Service State Information from the web gui when it should have >> sent a notification (click on the service name) > Service State Information > Current Status: > WARNING > (for 3d 22h 36m 52s) > Status Information: USERS WARNING - 1 users currently logged in > Performance Data: users=1;1;10;0 > Current Attempt: 1/4 (HARD state) > Last Check Time: 09-02-2008 12:55:00 > Check Type: ACTIVE > Check Latency / Duration: 0.205 / 0.186 seconds > Next Scheduled Check: 09-02-2008 13:00:00 > Last State Change: 08-29-2008 14:22:33 > Last Notification: N/A (notification 0) > Is This Service Flapping? > NO > (0.00% state change) > In Scheduled Downtime? > NO > Last Update: 09-02-2008 12:59:16 ( 0d 0h 0m 9s ago) > Active Checks: > ENABLED > Passive Checks: > ENABLED > Obsessing: > ENABLED > Notifications: > ENABLED > Event Handler: > ENABLED > Flap Detection: > ENABLED > >> any nagios.log entries for the service when it should have sent a >> notification > > That is the thing if I click on notifications it does not even report > sending one. So I know it is now an email issue as nagios never even > tries > to send a notification. The weirdest part is I have other hosts > using the > exact same templates that do send and log that they send > notifications for > hosts and services. This box only sends and logs host notifications. > This all looks good... I see no obvious or not-so-obvious problems with the config. What was the state of the host when this service went into a non-OK state originally? Nagios will suppress service notifications if the host check returns a non-OK state. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 2 20:24:34 2008 From: marc at ena.com (Marc Powell) Date: Tue, 2 Sep 2008 13:24:34 -0500 Subject: Notification Problem In-Reply-To: References: Message-ID: <09996A89-E6B3-4DD0-A72C-BD1070F334F5@ena.com> Please always respond on-list so that others, now and in the future, learn from your experience. More below -- On Sep 2, 2008, at 1:04 PM, Shaun Martin wrote: > Hi Marc, > > Nagios will suppress service > notifications if the host check returns a non-OK state. > > I had no idea the host has to be up for services to notify. That is > my issue > the host is not pingable from my network. How can I resolve this? As > the > host entry has to have the right ip for the services to work so I > cannot > change that to localhost. How do I disable the host check in such a > way that > the services still work and notify? You have a few options -- - Change the host check_command to something that works when the host is up and doesn't when it's down. Ping is just the most common case but you can use any plugin/test you like. - use the 'check_dummy' plugin instead of check_[ping,icmp,fping] to always return an OK state for the host check. - set active_checks_enabled in the host definition to '0' - set the host check_period to 'none' - do not specify the check_command directive _at all_ in the host definition. You should also set the check_period to none. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smartin at akazaresearch.com Tue Sep 2 21:51:11 2008 From: smartin at akazaresearch.com (Shaun Martin) Date: Tue, 02 Sep 2008 15:51:11 -0400 Subject: Notification Problem In-Reply-To: <09996A89-E6B3-4DD0-A72C-BD1070F334F5@ena.com> References: <09996A89-E6B3-4DD0-A72C-BD1070F334F5@ena.com> Message-ID: Hi Marc, Ok I did the following below and included updated config info. Submitted a passive check result of ok and the host still turned red to a down status and I still do not get my services notifying anyone. - set active_checks_enabled in the host definition to '0' THIS ONE HERE DID NOT WORK IT YELLED AT ME ABOUT A CONFIGURATION ERROR - set the host check_period to 'none' - do not specify the check_command directive _at all_ in the host definition. You should also set the check_period to none. UPDATED TEMPLATE define host{ name linux-server-isovera ; The name of th is host template use generic-host ; This template inherits other values from the generic-host template check_period none ; By default, Linux host s are checked round the clock active_checks_enabled 0 check_interval 5 ; Actively check the hos t every 5 minutes retry_interval 1 ; Schedule host check re tries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) ; check_command check-host-alive ; Default command to c heck Linux hosts notification_period 24x7 ; Linux admins hate to be wok en up, so we only notify during the day ; Note that the notifica tion_period variable is being overridden from ; the value that is inher ited from the generic-host template! notification_interval 120 ; Resend notifications e very 2 hours notification_options d,u,r ; Only send notification s for specific host states contact_groups isovera ; Notifications get sen t to the admins by default register 0 ; DONT REGISTER THIS DEF INITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } Thanks, Shaun On 9/2/08 2:24 PM, "Marc Powell" wrote: > Please always respond on-list so that others, now and in the future, > learn from your experience. More below -- > > On Sep 2, 2008, at 1:04 PM, Shaun Martin wrote: > >> Hi Marc, >> >> Nagios will suppress service >> notifications if the host check returns a non-OK state. >> >> I had no idea the host has to be up for services to notify. That is >> my issue >> the host is not pingable from my network. How can I resolve this? As >> the >> host entry has to have the right ip for the services to work so I >> cannot >> change that to localhost. How do I disable the host check in such a >> way that >> the services still work and notify? > > You have a few options -- > - Change the host check_command to something that works when the host > is up and doesn't when it's down. Ping is just the most common case > but you can use any plugin/test you like. > - use the 'check_dummy' plugin instead of check_[ping,icmp,fping] to > always return an OK state for the host check. > - set active_checks_enabled in the host definition to '0' > - set the host check_period to 'none' > - do not specify the check_command directive _at all_ in the host > definition. You should also set the check_period to none. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Shaun Martin Systems Administrator Akaza Research smartin at akazaresearch.com Office: (617) 621-8585 x 13 Cell: (978) 360-3402 www.akazaresearch.com www.openclinica.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smartin at akazaresearch.com Tue Sep 2 22:38:41 2008 From: smartin at akazaresearch.com (Shaun Martin) Date: Tue, 02 Sep 2008 16:38:41 -0400 Subject: Notification Problem In-Reply-To: References: Message-ID: Hi Marc, Nevermind stupid error all set :) Thanks for all your help. Thanks, Shaun On 9/2/08 3:51 PM, "Shaun Martin" wrote: > Hi Marc, > > Ok I did the following below and included updated config info. Submitted a > passive check result of ok and the host still turned red to a down status > and I still do not get my services notifying anyone. > > - set active_checks_enabled in the host definition to '0' > THIS ONE HERE DID NOT WORK IT YELLED AT ME ABOUT A CONFIGURATION ERROR - > set the host check_period to 'none' > - do not specify the check_command directive _at all_ in the host > definition. You should also set the check_period to none. > > UPDATED TEMPLATE > > define host{ > name linux-server-isovera ; The name > of th > is host template > use generic-host ; This template > inherits > other values from the generic-host template > check_period none ; By default, Linux host > s are checked round the clock > active_checks_enabled 0 > check_interval 5 ; Actively check the > hos > t every 5 minutes > retry_interval 1 ; Schedule host > check re > tries at 1 minute intervals > max_check_attempts 10 ; Check each Linux > host > 10 times (max) > ; check_command check-host-alive ; Default command > to c > heck Linux hosts > notification_period 24x7 ; Linux admins hate to be > wok > en up, so we only notify during the day > ; Note that the > notifica > tion_period variable is being overridden from > ; the value that is > inher > ited from the generic-host template! > notification_interval 120 ; Resend > notifications e > very 2 hours > notification_options d,u,r ; Only send > notification > s for specific host states > contact_groups isovera ; Notifications get > sen > t to the admins by default > register 0 ; DONT REGISTER THIS > DEF > INITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > Thanks, > Shaun > > On 9/2/08 2:24 PM, "Marc Powell" wrote: > >> Please always respond on-list so that others, now and in the future, >> learn from your experience. More below -- >> >> On Sep 2, 2008, at 1:04 PM, Shaun Martin wrote: >> >>> Hi Marc, >>> >>> Nagios will suppress service >>> notifications if the host check returns a non-OK state. >>> >>> I had no idea the host has to be up for services to notify. That is >>> my issue >>> the host is not pingable from my network. How can I resolve this? As >>> the >>> host entry has to have the right ip for the services to work so I >>> cannot >>> change that to localhost. How do I disable the host check in such a >>> way that >>> the services still work and notify? >> >> You have a few options -- >> - Change the host check_command to something that works when the host >> is up and doesn't when it's down. Ping is just the most common case >> but you can use any plugin/test you like. >> - use the 'check_dummy' plugin instead of check_[ping,icmp,fping] to >> always return an OK state for the host check. >> - set active_checks_enabled in the host definition to '0' >> - set the host check_period to 'none' >> - do not specify the check_command directive _at all_ in the host >> definition. You should also set the check_period to none. >> >> -- >> Marc >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 -- Shaun Martin Systems Administrator Akaza Research smartin at akazaresearch.com Office: (617) 621-8585 x 13 Cell: (978) 360-3402 www.akazaresearch.com www.openclinica.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Wed Sep 3 01:20:13 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 2 Sep 2008 15:20:13 -0800 Subject: Nagvis alternatives In-Reply-To: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> Message-ID: <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> On Sep 2, 2008, at 8:34 AM, Alex Dehaini wrote: > Hi Guys, > > Are there other projects like nagvis? If you are still running nagios 2, nexsm ( http://nexsm.sf.net ) is an excellent option, one that I highly preferred over nagvis for a number of reasons. Doesn't work with nagios 3, however. I Don't know how hard it would be to fix (I suspect it is just a log parsing issue, but I don't know), but it is written in java, which I don't know, and the developer hasn't had time to work on it lately. Oh well. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From webknowledge at gmail.com Wed Sep 3 02:24:52 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 2 Sep 2008 21:24:52 -0300 Subject: Wrong next scheduled active check? In-Reply-To: References: Message-ID: <2dfcbd1b0809021724r592d1a89p95fb63a6d30677ad@mail.gmail.com> How many services did you have configured? You should post also the relevant directives of nagios.cfg for us to look at. On Fri, Aug 29, 2008 at 10:00 AM, Livio Zanol Puppim < livio.zanol.puppim at gmail.com> wrote: > Hello, > > My Nagios is reporting a strange value at "next scheduled active > check" for a specified service that is suposed to run every 2 min. > When I open the service detail at web interface it gives me the following: > > > ------------------------------------------------------------------------------------- > Last Check Time: 2008-08-29 08:44:37 > Next Scheduled Active Check: 2008-08-29 08:59:42 > > ------------------------------------------------------------------------------------- > > The service definition is as following: > > define service{ > host_name SERVER > service_description PING > check_command check_ping!2000.0,90%!2900.0,100% > max_check_attempts 1 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 1 > parallelize_check 1 > notifications_enabled 0 > check_period 24x7 > notification_period 24x7 > notification_options c > notification_interval 0 > contact_groups CONTACT > } > > Anyone knows why? > > Running Nagios 2.6 on Debian etch stable > > -- > []'s > > L?vio Zanol Puppim > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nadiakheffache at yahoo.fr Wed Sep 3 04:56:16 2008 From: nadiakheffache at yahoo.fr (nadia kheffache) Date: Wed, 3 Sep 2008 02:56:16 +0000 (GMT) Subject: Warning with status null on BackupPC service Message-ID: <679134.22540.qm@web25503.mail.ukl.yahoo.com> Hi, I just installed nagios to monitoring backuppc service, i intalled check_backuppc, plugin for nagios, but i have only warning whith status information null, when i stop the backuppc service, i have not a critical status. backuppc and nagios are intalleded on the same host, with CENTOs5(ditribution redhat) thank you for your help nadia -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Wed Sep 3 06:21:16 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 03 Sep 2008 09:51:16 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <24EFADC0-22E7-4C5F-AA4C-B586E03DF36F@nagios.org> References: <48BD2A9B.3060905@infoservices.in> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> <48BD5133.8050500@infoservices.in> <24EFADC0-22E7-4C5F-AA4C-B586E03DF36F@nagios.org> Message-ID: <48BE10BC.4050106@infoservices.in> Mark Young wrote: > On Sep 2, 2008, at 9:44 AM, J. Bakshi wrote: > > >> J. Bakshi wrote: >> >>> Alex Dehaini wrote: >>> >>> >>>> Dude, >>>> >>>> I am assisting with nagios not your firewall. Read your firewall >>>> docs >>>> very well. Remember to always read the documentation carefully >>>> before >>>> requesting for assistance that are already in the docs. >>>> >>>> >>> The nrpe docs mentions abt the firewall rules which I have already >>> used, >>> but no luck :-( >>> >>> >> Not firewall; I have solved the problem by incresing time with -t >> > > From what you are describing I believe that this is a problem with > your xinetd nrpe configuration. I run into this problem a lot. By > default Xinet will only allow so many instances per second that if > exceeded xinet will refuse connects for certain amount of time. > Basically your remote server thinks that it is being DDoS. Increasing > the time is only covering a symptom. > Hi Mark, Thanks for your hints and configuration. I'm not using xinetd. I'm using nrpe daemon instead. May be my firewall is responsible for the problem but I'm not sure Even after increasing the time with -t 20 the commands still report socket time out :-( Here is the rule set I have in my firewall. May be this create the problem ## SYN-FLOODING PROTECTION # This rule maximises the rate of incoming connections. In order to do this we divert tcp # packets with the SYN bit set off to a user-defined chain. Up to limit-burst connections # can arrive in 1/limit seconds ..... in this case 4 connections in one second. After this, one # of the burst is regained every second and connections are allowed again. The default limit # is 3/hour. The default limit burst is 5. # iptables -N syn-flood iptables -A INPUT -i $IFACE -p tcp --syn -j syn-flood iptables -A syn-flood -m limit --limit 1/s --limit-burst 4 -j RETURN iptables -A syn-flood -j DROP with regards > You can change this globally or per service by adding these lines in > ether /etc/xinetd.conf or /etc/xinetd.d/nrpe. You can play with the > exact numbers you need. I believe the default is 50 connections a > second. > > # CPS where 100 connection per second with a timepout of 10 seconds if > exceded. > > # Max number of instances running > > [myoung at vserve xinetd.d]# more nrpe > # default: on > # description: NRPE (Nagios Remote Plugin Executor) > service nrpe > { > flags = REUSE > socket_type = stream > port = 5666 > wait = no > user = nagios > group = nagios > server = /usr/local/nagios/bin/nrpe > server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd > log_on_failure += USERID > disable = no > only_from = 127.0.0.1,IP.ADDRESS.OF.NAGIOS > cps = 100 10 > instances = 300 > } > > > Good luck! > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Sep 3 07:56:06 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 03 Sep 2008 07:56:06 +0200 Subject: Default Nagios process self-check In-Reply-To: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B0A3@MAIL-CCR1.elizacorp.com> References: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B0A3@MAIL-CCR1.elizacorp.com> Message-ID: <48BE26F6.5020803@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ryan Gravlin wrote: > Nagios Version: 3.0.3 > Host: Intel Xeon 1.6GHz / 2GB RAM > # of Hosts Monitored: 322 > # of Services Monitored: 35 > > The localhost.cfg comes with a default process check with the values 250+ for warnings and 400+ for critical. Usually about twice an hour from checking the event log I get this message: > > [09-02-2008 07:02:48] SERVICE ALERT: NAGIOS;Total Processes;WARNING;SOFT;1;PROCS WARNING: 370 processes with STATE = RSZDT > > It seems to me the machine itself is powerful enough to execute this many checks without even breaking a sweat. Were these defaults configured in the thinking that there should never be that many processes? > > I'm by no means a Linux or Nagios expert and I was hoping someone could explain more of the thinking behind this check than what I see. I can obviously just bump the numbers up but I want to make sure that I'm not ignoring something obvious that may have unwanted results after the fact. Should I use these numbers I see here as the basis for my new thresholds? > > Thanks in advance for your help, The simple logic is: It seemed like a good value to someone at some time for some systems. If anything nagios MUST be adjusted to meet the needs of YOUR environment. So if your system runs normally around 365 processes then adjust your thresholds accordingly. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIvib0BvzDRVjxmYERAh8pAKCxzfRVnQCDHgGUSbuLMCpey0UyowCgrG6O 13YRqJQZvsBcfrzOAHM14tI= =dr8E -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Wed Sep 3 08:12:32 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 03 Sep 2008 11:42:32 +0530 Subject: Can I group particular process from all servers ? Message-ID: <48BE2AD0.7070007@infoservices.in> Hi list, Hope all are well. I have set nagios at my local machine and nrpe on remote servers to monitor servers and till now everything is going well except one problem ( socket timeout ). Any ways I like to make groups of particular services. Say making a group which will monitor only the SSH services from 10 servers. Similarly a group of POP and so on. Is it possible in nagios ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Wed Sep 3 08:42:30 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 03 Sep 2008 12:12:30 +0530 Subject: [solved] Can I group particular process from all servers ? In-Reply-To: <48BE2AD0.7070007@infoservices.in> References: <48BE2AD0.7070007@infoservices.in> Message-ID: <48BE31D6.4010700@infoservices.in> J. Bakshi wrote: > Hi list, > > Hope all are well. > I have set nagios at my local machine and nrpe on remote servers to > monitor servers and till now everything is going well except one problem > ( socket timeout ). Any ways I like to make groups of particular > services. Say making a group which will monitor only the SSH services > from 10 > servers. Similarly a group of POP and so on. Is it possible in nagios ? > thanks > > Got it. define servicegroup is the required template thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Wed Sep 3 09:40:51 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 3 Sep 2008 09:40:51 +0200 Subject: Antwort: Re: Antwort: Default Nagios process self-check In-Reply-To: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B427@MAIL-CCR1.elizacorp.com> References: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCF4B427@MAIL-CCR1.elizacorp.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 02.09.2008 19:12:01: Hello Ryan, first of all: please to not top-post and do a fullquote at the same time. It's considered rude on mailing lists and it's unnecessary waste of bandwidth and makes mails hard to read, as I do not know if you posted between the lines too. Either please don't quote at all, or post your replies between the quotes, like I do usually for example. Thanks for your understanding. > It seems that for every host, 3 processes are launched to do the > host ping check: sh, ping, and nagios. I currently have ~57 hosts > that are in an down state and have been acknowledged as out of > service. I would assume 57*3 plus the 30 second timeout could cause > this many processes at the same time. Ok, that seems like a possible explanation. If you have a lot of checks, which are expected to time out, then you will have a lot of "hanging" processes waiting to quit. There is really nothing you can do about it, but lower your timeout value. Another option is to refrain from using check_ping, but use check_icmp instead. check_ping is a wrapper script, which calls /bin/ping and parses its output. Therefor you have the extra "sh" fork. check_icmp is a plugin with native icmp implementation and doesn't require the extra fork. It's faster, less bulky and todays check of choice for host checks - at least for intranet hosts in my opinion. WAN hosts are another thing though... but that might be my personal opinion only. > I guess that brings me to my next question. I could disable active > host checks for these out of service machines which would most > likely alleviate my warnings about the amount of processes, but > would I have to re-enable them once the machines are brought back > up? I currently just acknowledge the problem and leave a comment > when a machine is put out of service, but this means that it will be > back at some point. When it does come back, acknowledgement is gone > and regular checks are still happening. Does anyone know of a > better way to do this? There is really no way to solve that "problem". It is like it is. Question is rather: how can it be, that you have 57 hosts, which are down for an extended period? I do not know your environment, but it seems questionable to me, why such hosts would deserve a monitoring. But that's up to you to decide. Regards Sascha -- Sascha Runschke IT-Infrastruktur GFKL Financial Services AG Limbecker Platz 1 45127 Essen Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ralf.Schreg at telemarkt-ag.de Wed Sep 3 10:01:57 2008 From: Ralf.Schreg at telemarkt-ag.de (Ralf.Schreg at telemarkt-ag.de) Date: Wed, 3 Sep 2008 10:01:57 +0200 Subject: =?iso-8859-1?q?Ralf_Schreg_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab 01.09.2008 nicht im B?ro sein. Ich kehre zur?ck am 14.09.2008. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 3 10:16:38 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 3 Sep 2008 08:16:38 +0000 Subject: Nagvis alternatives In-Reply-To: <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> Message-ID: <4b008f7d0809030116s7fdd03b6xa36150ed4b151e9b@mail.gmail.com> Checking it out thanks On Tue, Sep 2, 2008 at 11:20 PM, Israel Brewster wrote: > On Sep 2, 2008, at 8:34 AM, Alex Dehaini wrote: > > Hi Guys, > > Are there other projects like nagvis? > > > If you are still running nagios 2, nexsm ( http://nexsm.sf.net ) is > an excellent option, one that I highly preferred over nagvis for a number of > reasons. Doesn't work with nagios 3, however. I Don't know how hard it would > be to fix (I suspect it is just a log parsing issue, but I don't know), but > it is written in java, which I don't know, and the developer hasn't had time > to work on it lately. Oh well. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 3 10:57:22 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 3 Sep 2008 08:57:22 +0000 Subject: Warning with status null on BackupPC service In-Reply-To: <679134.22540.qm@web25503.mail.ukl.yahoo.com> References: <679134.22540.qm@web25503.mail.ukl.yahoo.com> Message-ID: <4b008f7d0809030157i7543f199p76855efc6d8d5db9@mail.gmail.com> You need to give us more information my friend. Show us the check_backuppc command you are using. Run it from the CLI and give us the output. Lex On Wed, Sep 3, 2008 at 2:56 AM, nadia kheffache wrote: > Hi, > > I just installed nagios to monitoring backuppc service, i intalled > check_backuppc, plugin for nagios, but i have only warning whith status > information null, when i stop the backuppc service, i have not a critical > status. > backuppc and nagios are intalleded on the same host, with > CENTOs5(ditribution redhat) > > thank you for your help > > nadia > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 3 11:00:07 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 3 Sep 2008 09:00:07 +0000 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BE10BC.4050106@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> <48BD5133.8050500@infoservices.in> <24EFADC0-22E7-4C5F-AA4C-B586E03DF36F@nagios.org> <48BE10BC.4050106@infoservices.in> Message-ID: <4b008f7d0809030200w1119844j4bd8d42e3e62c985@mail.gmail.com> Why not drop this rule temporarily and test. If it works, then you know for sure it is your firewall. If you need help with your iptables, visit their site or throw this question to their mailing list. Alternatively, you could seek commercial support. Lex On Wed, Sep 3, 2008 at 4:21 AM, J. Bakshi wrote: > Mark Young wrote: > > On Sep 2, 2008, at 9:44 AM, J. Bakshi wrote: > > > > > >> J. Bakshi wrote: > >> > >>> Alex Dehaini wrote: > >>> > >>> > >>>> Dude, > >>>> > >>>> I am assisting with nagios not your firewall. Read your firewall > >>>> docs > >>>> very well. Remember to always read the documentation carefully > >>>> before > >>>> requesting for assistance that are already in the docs. > >>>> > >>>> > >>> The nrpe docs mentions abt the firewall rules which I have already > >>> used, > >>> but no luck :-( > >>> > >>> > >> Not firewall; I have solved the problem by incresing time with -t > >> > > > > From what you are describing I believe that this is a problem with > > your xinetd nrpe configuration. I run into this problem a lot. By > > default Xinet will only allow so many instances per second that if > > exceeded xinet will refuse connects for certain amount of time. > > Basically your remote server thinks that it is being DDoS. Increasing > > the time is only covering a symptom. > > > > Hi Mark, > > Thanks for your hints and configuration. > I'm not using xinetd. I'm using nrpe daemon instead. > May be my firewall is responsible for the problem but I'm not sure > Even after increasing the time with -t 20 the commands still report > socket time out :-( > > Here is the rule set I have in my firewall. May be this create the problem > > ## SYN-FLOODING PROTECTION > # This rule maximises the rate of incoming connections. In order to do > this we divert tcp > # packets with the SYN bit set off to a user-defined chain. Up to > limit-burst connections > # can arrive in 1/limit seconds ..... in this case 4 connections in one > second. After this, one > # of the burst is regained every second and connections are allowed > again. The default limit > # is 3/hour. The default limit burst is 5. > # > iptables -N syn-flood > iptables -A INPUT -i $IFACE -p tcp --syn -j syn-flood > iptables -A syn-flood -m limit --limit 1/s --limit-burst 4 -j RETURN > iptables -A syn-flood -j DROP > > > with regards > > > You can change this globally or per service by adding these lines in > > ether /etc/xinetd.conf or /etc/xinetd.d/nrpe. You can play with the > > exact numbers you need. I believe the default is 50 connections a > > second. > > > > # CPS where 100 connection per second with a timepout of 10 seconds if > > exceded. > > > > # Max number of instances running > > > > [myoung at vserve xinetd.d]# more nrpe > > # default: on > > # description: NRPE (Nagios Remote Plugin Executor) > > service nrpe > > { > > flags = REUSE > > socket_type = stream > > port = 5666 > > wait = no > > user = nagios > > group = nagios > > server = /usr/local/nagios/bin/nrpe > > server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd > > log_on_failure += USERID > > disable = no > > only_from = 127.0.0.1,IP.ADDRESS.OF.NAGIOS > > cps = 100 10 > > instances = 300 > > } > > > > > > Good luck! > > > > Mark Young > > ___ > > Nagios Enterprises, LLC > > Web: www.nagios.com > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 3 11:01:06 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 3 Sep 2008 09:01:06 +0000 Subject: [solved] Can I group particular process from all servers ? In-Reply-To: <48BE31D6.4010700@infoservices.in> References: <48BE2AD0.7070007@infoservices.in> <48BE31D6.4010700@infoservices.in> Message-ID: <4b008f7d0809030201v23b7ed7bubc2e4a3598e69f5@mail.gmail.com> I was about to say use servicegroups - u beatme to it. Lex On Wed, Sep 3, 2008 at 6:42 AM, J. Bakshi wrote: > J. Bakshi wrote: > > Hi list, > > > > Hope all are well. > > I have set nagios at my local machine and nrpe on remote servers to > > monitor servers and till now everything is going well except one problem > > ( socket timeout ). Any ways I like to make groups of particular > > services. Say making a group which will monitor only the SSH services > > from 10 > > servers. Similarly a group of POP and so on. Is it possible in nagios ? > > thanks > > > > > > Got it. define servicegroup is the required template > > thanks > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Wed Sep 3 10:58:30 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 03 Sep 2008 14:28:30 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <4b008f7d0809030200w1119844j4bd8d42e3e62c985@mail.gmail.com> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> <48BD5133.8050500@infoservices.in> <24EFADC0-22E7-4C5F-AA4C-B586E03DF36F@nagios.org> <48BE10BC.4050106@infoservices.in> <4b008f7d0809030200w1119844j4bd8d42e3e62c985@mail.gmail.com> Message-ID: <48BE51B6.2060506@infoservices.in> Alex Dehaini wrote: > Why not drop this rule temporarily and test. If it works, then you > know for sure it is your firewall. I did it. but no success. I should look into it in depth > > Alternatively, you could seek commercial support. > > Lex > > On Wed, Sep 3, 2008 at 4:21 AM, J. Bakshi > wrote: > > Mark Young wrote: > > On Sep 2, 2008, at 9:44 AM, J. Bakshi wrote: > > > > > >> J. Bakshi wrote: > >> > >>> Alex Dehaini wrote: > >>> > >>> > >>>> Dude, > >>>> > >>>> I am assisting with nagios not your firewall. Read your firewall > >>>> docs > >>>> very well. Remember to always read the documentation carefully > >>>> before > >>>> requesting for assistance that are already in the docs. > >>>> > >>>> > >>> The nrpe docs mentions abt the firewall rules which I have already > >>> used, > >>> but no luck :-( > >>> > >>> > >> Not firewall; I have solved the problem by incresing time with -t > >> > > > > From what you are describing I believe that this is a problem with > > your xinetd nrpe configuration. I run into this problem a lot. By > > default Xinet will only allow so many instances per second that if > > exceeded xinet will refuse connects for certain amount of time. > > Basically your remote server thinks that it is being DDoS. > Increasing > > the time is only covering a symptom. > > > > Hi Mark, > > Thanks for your hints and configuration. > I'm not using xinetd. I'm using nrpe daemon instead. > May be my firewall is responsible for the problem but I'm not sure > Even after increasing the time with -t 20 the commands still report > socket time out :-( > > Here is the rule set I have in my firewall. May be this create the > problem > > ## SYN-FLOODING PROTECTION > # This rule maximises the rate of incoming connections. In order to do > this we divert tcp > # packets with the SYN bit set off to a user-defined chain. Up to > limit-burst connections > # can arrive in 1/limit seconds ..... in this case 4 connections > in one > second. After this, one > # of the burst is regained every second and connections are allowed > again. The default limit > # is 3/hour. The default limit burst is 5. > # > iptables -N syn-flood > iptables -A INPUT -i $IFACE -p tcp --syn -j syn-flood > iptables -A syn-flood -m limit --limit 1/s --limit-burst 4 -j RETURN > iptables -A syn-flood -j DROP > > > with regards > > > You can change this globally or per service by adding these lines in > > ether /etc/xinetd.conf or /etc/xinetd.d/nrpe. You can play with the > > exact numbers you need. I believe the default is 50 connections a > > second. > > > > # CPS where 100 connection per second with a timepout of 10 > seconds if > > exceded. > > > > # Max number of instances running > > > > [myoung at vserve xinetd.d]# more nrpe > > # default: on > > # description: NRPE (Nagios Remote Plugin Executor) > > service nrpe > > { > > flags = REUSE > > socket_type = stream > > port = 5666 > > wait = no > > user = nagios > > group = nagios > > server = /usr/local/nagios/bin/nrpe > > server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd > > log_on_failure += USERID > > disable = no > > only_from = 127.0.0.1 > ,IP.ADDRESS.OF.NAGIOS > > cps = 100 10 > > instances = 300 > > } > > > > > > Good luck! > > > > Mark Young > > ___ > > Nagios Enterprises, LLC > > Web: www.nagios.com > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win > great prizes > > Grand prize is a trip for two to an Open Source event anywhere > in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 3 11:06:11 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 3 Sep 2008 09:06:11 +0000 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BE51B6.2060506@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> <48BD5133.8050500@infoservices.in> <24EFADC0-22E7-4C5F-AA4C-B586E03DF36F@nagios.org> <48BE10BC.4050106@infoservices.in> <4b008f7d0809030200w1119844j4bd8d42e3e62c985@mail.gmail.com> <48BE51B6.2060506@infoservices.in> Message-ID: <4b008f7d0809030206h667eefg588ee1d92e60cc3e@mail.gmail.com> In that case, then it is not the firewall then. Lex On Wed, Sep 3, 2008 at 8:58 AM, J. Bakshi wrote: > Alex Dehaini wrote: > > Why not drop this rule temporarily and test. If it works, then you > > know for sure it is your firewall. > > I did it. but no success. I should look into it in depth > > > > > > > Alternatively, you could seek commercial support. > > > > Lex > > > > On Wed, Sep 3, 2008 at 4:21 AM, J. Bakshi > > wrote: > > > > Mark Young wrote: > > > On Sep 2, 2008, at 9:44 AM, J. Bakshi wrote: > > > > > > > > >> J. Bakshi wrote: > > >> > > >>> Alex Dehaini wrote: > > >>> > > >>> > > >>>> Dude, > > >>>> > > >>>> I am assisting with nagios not your firewall. Read your firewall > > >>>> docs > > >>>> very well. Remember to always read the documentation carefully > > >>>> before > > >>>> requesting for assistance that are already in the docs. > > >>>> > > >>>> > > >>> The nrpe docs mentions abt the firewall rules which I have > already > > >>> used, > > >>> but no luck :-( > > >>> > > >>> > > >> Not firewall; I have solved the problem by incresing time with -t > > >> > > > > > > From what you are describing I believe that this is a problem with > > > your xinetd nrpe configuration. I run into this problem a lot. By > > > default Xinet will only allow so many instances per second that if > > > exceeded xinet will refuse connects for certain amount of time. > > > Basically your remote server thinks that it is being DDoS. > > Increasing > > > the time is only covering a symptom. > > > > > > > Hi Mark, > > > > Thanks for your hints and configuration. > > I'm not using xinetd. I'm using nrpe daemon instead. > > May be my firewall is responsible for the problem but I'm not sure > > Even after increasing the time with -t 20 the commands still report > > socket time out :-( > > > > Here is the rule set I have in my firewall. May be this create the > > problem > > > > ## SYN-FLOODING PROTECTION > > # This rule maximises the rate of incoming connections. In order to > do > > this we divert tcp > > # packets with the SYN bit set off to a user-defined chain. Up to > > limit-burst connections > > # can arrive in 1/limit seconds ..... in this case 4 connections > > in one > > second. After this, one > > # of the burst is regained every second and connections are allowed > > again. The default limit > > # is 3/hour. The default limit burst is 5. > > # > > iptables -N syn-flood > > iptables -A INPUT -i $IFACE -p tcp --syn -j syn-flood > > iptables -A syn-flood -m limit --limit 1/s --limit-burst 4 -j RETURN > > iptables -A syn-flood -j DROP > > > > > > with regards > > > > > You can change this globally or per service by adding these lines > in > > > ether /etc/xinetd.conf or /etc/xinetd.d/nrpe. You can play with > the > > > exact numbers you need. I believe the default is 50 connections a > > > second. > > > > > > # CPS where 100 connection per second with a timepout of 10 > > seconds if > > > exceded. > > > > > > # Max number of instances running > > > > > > [myoung at vserve xinetd.d]# more nrpe > > > # default: on > > > # description: NRPE (Nagios Remote Plugin Executor) > > > service nrpe > > > { > > > flags = REUSE > > > socket_type = stream > > > port = 5666 > > > wait = no > > > user = nagios > > > group = nagios > > > server = /usr/local/nagios/bin/nrpe > > > server_args = -c /usr/local/nagios/etc/nrpe.cfg > --inetd > > > log_on_failure += USERID > > > disable = no > > > only_from = 127.0.0.1 > > ,IP.ADDRESS.OF.NAGIOS > > > cps = 100 10 > > > instances = 300 > > > } > > > > > > > > > Good luck! > > > > > > Mark Young > > > ___ > > > Nagios Enterprises, LLC > > > Web: www.nagios.com > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move > > Developer's challenge > > > Build the coolest Linux based applications with Moblin SDK & win > > great prizes > > > Grand prize is a trip for two to an Open Source event anywhere > > in the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win > > great prizes > > Grand prize is a trip for two to an Open Source event anywhere in > > the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 3 11:22:07 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 3 Sep 2008 09:22:07 +0000 Subject: Warning with status null on BackupPC service In-Reply-To: <473982.38292.qm@web25501.mail.ukl.yahoo.com> References: <4b008f7d0809030157i7543f199p76855efc6d8d5db9@mail.gmail.com> <473982.38292.qm@web25501.mail.ukl.yahoo.com> Message-ID: <4b008f7d0809030222q452e8969j3f5ef98e10ca04df@mail.gmail.com> Please install Compress::Zlib Lex On Wed, Sep 3, 2008 at 9:18 AM, nadia kheffache wrote: > Hi Alex, > > in command.cfg i have this: > > # 'service-backuppc' command definition > define command{ > command_name check_backuppc > command_line /usr/bin/sudo -u backuppc > /usr/local/nagios/libexec/check_backuppc -v > } > > when i execute this command whith nagios user in shell, i have this warning > > bash-3.1$ /usr/bin/sudo -u backuppc > /usr/local/nagios/libexec/check_backuppc -v > BACKUPPC CRITICAL - (192.168.0.1 (can't find Compress::Zlib), ) critical > bash-3.1$ > > > When i stop the service BackupPC, i have not status critical, just the same > warning with yellow color? why do not change color in red when i stop the > service? > > Options BackupPC: > bash-3.1$ /usr/bin/sudo -u backuppc > /usr/local/nagios/libexec/check_backuppc -h > check_backuppc - 1.1.0 > A Nagios plugin to check on BackupPC backup status. > > Options: > --hostname,-H only check the specified host > --exclude,-x do not check the specified host > --archive-only,-a only check the archive hosts > --backup-only,-b only check the backup hosts > --status-only,-s only check backup status, omit connection failures > that are > less than $Conf{FullPeriod} old > --warning,-w days old an errored host must be to cause a warning > --critical,-c number of days old an errored backup must be to be > critical > --reduce,-r maximum number of failed hosts for severity reduction > --verbose,-v increase verbosity > --version,-V display plugin version > --help,-h display this message > > > Thank you > > Nadia > > > > > > > localhost.cfg: > define service{ > use local-service > host_name localhost > service_description BackupPC > check_command check_backuppc > notifications_enabled 0 > > > > > > > --- En date de : *Mer 3.9.08, Alex Dehaini * a > ?crit : > > De: Alex Dehaini > Objet: Re: [Nagios-users] Warning with status null on BackupPC service > ?: nadiakheffache at yahoo.fr > Cc: nagios-users at lists.sourceforge.net > Date: Mercredi 3 Septembre 2008, 10h57 > > > You need to give us more information my friend. Show us the check_backuppc > command you are using. Run it from the CLI and give us the output. > > Lex > > On Wed, Sep 3, 2008 at 2:56 AM, nadia kheffache wrote: > >> Hi, >> >> I just installed nagios to monitoring backuppc service, i intalled >> check_backuppc, plugin for nagios, but i have only warning whith status >> information null, when i stop the backuppc service, i have not a critical >> status. >> backuppc and nagios are intalleded on the same host, with >> CENTOs5(ditribution redhat) >> >> thank you for your help >> >> nadia >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 3 11:25:53 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 3 Sep 2008 09:25:53 +0000 Subject: Nagvis alternatives In-Reply-To: <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> Message-ID: <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> Have you used it in production environment before. What are the disadvantages and advantages over nagvis? Lex On Tue, Sep 2, 2008 at 11:20 PM, Israel Brewster wrote: > On Sep 2, 2008, at 8:34 AM, Alex Dehaini wrote: > > Hi Guys, > > Are there other projects like nagvis? > > > If you are still running nagios 2, nexsm ( http://nexsm.sf.net ) is > an excellent option, one that I highly preferred over nagvis for a number of > reasons. Doesn't work with nagios 3, however. I Don't know how hard it would > be to fix (I suspect it is just a log parsing issue, but I don't know), but > it is written in java, which I don't know, and the developer hasn't had time > to work on it lately. Oh well. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Wed Sep 3 13:43:57 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 03 Sep 2008 17:13:57 +0530 Subject: System call sent warnings to stderr Message-ID: <48BE787D.5020603@infoservices.in> Dear list, I am sorry but I'm opening an old thread again as I really don't have no idea about it. One of my managed server is runnining with suse 9.3 nrpe is installed and running there. But when I check that server with nrpe it reports [ System call sent warnings to stderr ] Here is the commands I am using from CLI of my nagios PC to check the remote server ./check_nrpe -H < IP of remote server > -p 5565 -c check_zombie_procs System call sent warnings to stderr /check_nrpe -H < IP of remote server > -p 5565 -c check_total_procs System call sent warnings to stderr Could any one give me a clue please ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From duncan.ferguson at altinity.com Wed Sep 3 14:14:24 2008 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Wed, 3 Sep 2008 13:14:24 +0100 Subject: System call sent warnings to stderr In-Reply-To: <48BE787D.5020603@infoservices.in> References: <48BE787D.5020603@infoservices.in> Message-ID: <7CAB3F10-B870-4C60-9D35-0D845573C61A@altinity.com> On 3 Sep 2008, at 12:43, J. Bakshi wrote: > > Here is the commands I am using from CLI of my nagios PC to check the > remote server > > ./check_nrpe -H < IP of remote server > -p 5565 -c > check_zombie_procs > System call sent warnings to stderr > > /check_nrpe -H < IP of remote server > -p 5565 -c > check_total_procs > System call sent warnings to stderr > Get the actual commands run for 'check_zombie_procs' and 'check_total_procs' out of the nrpe.cfg file on the remote server and run them by hand as the same user as the nrpe agent runs as to see what happens. Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Sep 3 14:26:26 2008 From: marc at ena.com (Marc Powell) Date: Wed, 3 Sep 2008 07:26:26 -0500 Subject: System call sent warnings to stderr In-Reply-To: <48BE787D.5020603@infoservices.in> References: <48BE787D.5020603@infoservices.in> Message-ID: <51465B04-C795-4BA4-881D-25E57311F562@ena.com> On Sep 3, 2008, at 6:43 AM, J. Bakshi wrote: > Dear list, > > I am sorry but I'm opening an old thread again as I really don't > have no > idea about it. > > One of my managed server is runnining with suse 9.3 > nrpe is installed and running there. > > But when I check that server with nrpe it reports > > [ System call sent warnings to stderr ] > > Here is the commands I am using from CLI of my nagios PC to check the > remote server > > ./check_nrpe -H < IP of remote server > -p 5565 -c > check_zombie_procs > System call sent warnings to stderr The running of the 'check_zombie_procs' command on the remote machine generated an error that wasn't captured. Run the check_zombie_procs command, as you have it defined in nrpe.cfg, as the user nrpe runs as, on the remote machine to see what that error is. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Wed Sep 3 14:22:19 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 03 Sep 2008 17:52:19 +0530 Subject: System call sent warnings to stderr In-Reply-To: <7CAB3F10-B870-4C60-9D35-0D845573C61A@altinity.com> References: <48BE787D.5020603@infoservices.in> <7CAB3F10-B870-4C60-9D35-0D845573C61A@altinity.com> Message-ID: <48BE817B.1090505@infoservices.in> Duncan Ferguson wrote: > > On 3 Sep 2008, at 12:43, J. Bakshi wrote: >> >> Here is the commands I am using from CLI of my nagios PC to check the >> remote server >> >> ./check_nrpe -H < IP of remote server > -p 5565 -c >> check_zombie_procs >> System call sent warnings to stderr >> >> /check_nrpe -H < IP of remote server > -p 5565 -c check_total_procs >> System call sent warnings to stderr >> > > Get the actual commands run for 'check_zombie_procs' and > 'check_total_procs' out of the nrpe.cfg file on the remote server and > run them by hand as the same user as the nrpe agent runs as to see > what happens. > Here are the actual command and out put on the remote server For Checking total process ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z For Zombie process ~~~~~~~~~~~~~~~~~~ # /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z thanks > Duncs > > --Duncan Ferguson > Senior Developer, Altinity Limited > > http://www.altinity.com > Tel: +44 (0)870 787 9243 > US: +1 866 879 9184 > Fax: +44 (0)845 280 1725 > Skype: duncan_j_ferguson > MSN: duncan.ferguson at altinity.com > > The contents of this email and any files transmitted with it are > confidential and intended solely for the use of the individuals to > whom it is addressed. > If you are not the intended recipient or have received this e-mail in > error please notify the sender and delete this e-mail immediately. > Any unauthorised copying, disclosure or distribution of the material > in this e-mail is strictly prohibited. > > Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United > Kingdom > Registered in England and Wales under company number 4743767 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Steven.Battaille at ap2.be Wed Sep 3 15:03:34 2008 From: Steven.Battaille at ap2.be (Steven Battaille) Date: Wed, 3 Sep 2008 15:03:34 +0200 Subject: multiple nagios instances on one machine In-Reply-To: <5B7F3B1A-59E3-4C70-8CBE-85DA468183A8@nagios.org> References: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> <5B7F3B1A-59E3-4C70-8CBE-85DA468183A8@nagios.org> Message-ID: <16A9FB339EF0024C80FD6D1910268C7F01595E81@apps18.ap2.local> Thanks for the answer. This really works good. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Young Sent: dinsdag 2 september 2008 17:19 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] multiple nagios instances on one machine On Sep 1, 2008, at 8:12 AM, Steven Battaille wrote: > Is there anyone who can tell me if it is possible to run more than > one instance of nagios on the same machine? To answer your question... Yes! It is really easy to run multiple instances of Nagios on the same machine. :-) A simple approach, albeit more overhead, is to simply configure/install both Nagios and Nagios Plugins in a different directories by passing the '--prefix=/ path/to/separate/nagios/installations'. Each instance will than have its own init script and apache web alias (which you could setup as customer1.domain.com). I think it is a great way to separate customers instances, though you may have to do some scalability testing to see how far you can push your hardware. It is not as elegant as Gerhard's method (http://people.consol.de/~lausser/nagios/more-than-one-nagios.html ) BUT it has the ability to update each individual instance of Nagios, Nagios Plugins, and 'configuration changes' without affecting the other instances. Which I think is really nice. :-) As another benefit.. you can give each instance owner full rights to their instance. We use it internally to test out different versions and combinations of Nagios and Nagios Plugins. ::For Example:: In Nagios source directory: ./configure --with-command-group=nagcmd --prefix=/path/to/separate/ nagios/installations make all make install make install-init make install-config make install-commandmode make install-webconf htpasswd -c /path/to/separate/nagios/installations/etc/htpasswd.users nagiosadmin In the Nagios Plugins source directory: ./configure --with-nagios-user=nagios --with-nagios-group=nagios -- prefix=/path/to/separate/nagios/installations make make install Good luck! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jeremy.page at gilbarco.com Wed Sep 3 15:40:24 2008 From: jeremy.page at gilbarco.com (Page, Jeremy) Date: Wed, 3 Sep 2008 06:40:24 -0700 Subject: Error when trying to add a check_netapp check Message-ID: <0631C3905C0FF042A74F71A92C65DD48034EDD12@dhrseasvxb05.messaging.danaherad.com> I am sorry for asking what I am sure is a very basic question, but I've inherited my Nagios system and I'm trying to get a disk space check in ASAP. Here is the error I'm getting: Checking services... Error: Service check command 'check_netapp -H gvr-array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10' specified in service 'Disk space' for host 'gvr-array02' not defined anywhere! Checked 1386 services. And here is the check command it's choking on: check_command check_netapp -H gvr-array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10 max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 notification_interval 120 contact_groups admins notification_period 24x7 } Where have I gone wrong? I know this command works if I run it from the command line, so does that mean I need to do something in another config file to define this check? This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcelo.maia.garcia at googlemail.com Wed Sep 3 15:43:05 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Wed, 03 Sep 2008 14:43:05 +0100 Subject: collectd or cacti Message-ID: <48BE9469.6010603@googlemail.com> Hi Is anybody using collectd or cacti? I would like some feedback about on why choose one or another. Maybe in a not so near future use with Nagios. I tried Ganglia but it doesn't seems very easy to configure or that it must runs in a separated network, like a cluster. Regards Marcelo ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Gerhard.Lausser at consol.de Wed Sep 3 15:48:03 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Wed, 3 Sep 2008 15:48:03 +0200 Subject: multiple nagios instances on one machine In-Reply-To: <5B7F3B1A-59E3-4C70-8CBE-85DA468183A8@nagios.org> References: <16A9FB339EF0024C80FD6D1910268C7F01595E12@apps18.ap2.local> <5B7F3B1A-59E3-4C70-8CBE-85DA468183A8@nagios.org> Message-ID: > ) BUT it has the ability to update each individual instance of Nagios, > Nagios Plugins, and 'configuration changes' If you are a friend of symbolic links, you can do this with my method too: normally, the instances share a common installation of nagios, plugins,... nagios at nsrv:~> ls -l instances/instance_os_solaris total 12 lrwxrwxrwx 1 nagios nagios 31 2008-03-06 20:41 bin -> /opt/nagios/core/nagios/bin drwxr-xr-x 2 nagios nagios 4096 2008-06-11 21:15 etc lrwxrwxrwx 1 nagios nagios 43 2008-03-06 20:41 libexec -> /opt/nagios/core/nagios-plugins/libexec lrwxrwxrwx 1 nagios nagios 47 2008-03-06 20:41 locallibexec -> /opt/nagios/core/local-plugins/locallibexec drwxr-xr-x 3 nagios nagios 4096 2008-03-06 20:41 ndoutils lrwxrwxrwx 1 nagios nagios 32 2008-03-06 20:41 sbin -> /opt/nagios/core/nagios/sbin lrwxrwxrwx 1 nagios nagios 33 2008-03-06 20:41 share -> /opt/nagios/core/nagios/share drwxr-xr-x 4 nagios nagios 4096 2008-03-06 20:41 var nagios at nsrv:~> ls -l instances/instance_os_linux total 12 lrwxrwxrwx 1 nagios nagios 31 2008-03-06 20:56 bin -> /opt/nagios/core/nagios/bin drwxr-xr-x 2 nagios nagios 4096 2008-08-26 02:38 etc lrwxrwxrwx 1 nagios nagios 43 2008-03-06 20:56 libexec -> /opt/nagios/core/nagios-plugins/libexec lrwxrwxrwx 1 nagios nagios 47 2008-03-06 20:56 locallibexec -> /opt/nagios/core/local-plugins/locallibexec drwxr-xr-x 3 nagios nagios 4096 2008-03-06 20:56 ndoutils lrwxrwxrwx 1 nagios nagios 32 2008-03-06 20:56 sbin -> /opt/nagios/core/nagios/sbin lrwxrwxrwx 1 nagios nagios 33 2008-03-06 20:56 share -> /opt/nagios/core/nagios/share drwxr-xr-x 4 nagios nagios 4096 2008-03-06 20:56 var nagios at nsrv:~> ls -l core total 36 lrwxrwxrwx 1 nagios nagios 17 2007-07-10 10:30 local-plugins -> local-plugins-1.0 drwxr-xr-x 3 nagios nagios 4096 2006-02-28 12:34 local-plugins-1.0 lrwxrwxrwx 1 nagios nagios 11 2008-01-18 21:08 nagios -> nagios-3.0.3 drwxrwxr-x 6 nagios nagios 4096 2008-08-23 13:44 nagios-4.0a drwxrwxr-x 7 nagios nagios 4096 2008-01-18 21:08 nagios-3.0.3 lrwxrwxrwx 1 nagios nagios 21 2008-01-21 16:35 nagios-plugins -> nagios-plugins-1.4.12 drwxr-xr-x 3 nagios nagios 4096 2008-01-21 16:35 nagios-plugins-1.4.11 drwxr-xr-x 4 nagios nagios 4096 2005-12-28 20:21 nagios-plugins-1.4.12 .... nagios at nsrv:~> As you see, the sbin of the two instances point to ~/core/nagios/sbin which in fact is ~/core/nagios-3.0.3/sbin. The core/nagios always points to the "default" release. Now if you want to upgrade the instance_os_linux to use the brandnew Nagios-4.0 Alpha, you would directly link from the instance directory to the new release. nagios at nsrv:~> ls -l instances/instance_os_linux total 12 ..... lrwxrwxrwx 1 nagios nagios 32 2008-03-06 20:56 sbin -> /opt/nagios/core/nagios-4.0a/sbin lrwxrwxrwx 1 nagios nagios 33 2008-03-06 20:56 share -> /opt/nagios/core/nagios-4.0a/share ..... But if you plan to change releases often and play around a lot, then i would also prefer to compile a nagios installation for each instance. Gerhard ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kyleodonnell at gmail.com Wed Sep 3 15:54:36 2008 From: kyleodonnell at gmail.com (kyleodonnell at gmail.com) Date: Wed, 3 Sep 2008 09:54:36 -0400 Subject: Error when trying to add a check_netapp check In-Reply-To: <0631C3905C0FF042A74F71A92C65DD48034EDD12@dhrseasvxb05.messaging.danaherad.com> References: <0631C3905C0FF042A74F71A92C65DD48034EDD12@dhrseasvxb05.messaging.danaherad.com> Message-ID: <2274b9c30809030654l2071027ao190f15c7cab24111@mail.gmail.com> The path to command might need to be set? On 9/3/08, Page, Jeremy wrote: > I am sorry for asking what I am sure is a very basic question, but I've > inherited my Nagios system and I'm trying to get a disk space check in > ASAP. Here is the error I'm getting: > > > > Checking services... > > Error: Service check command 'check_netapp -H gvr-array02.gilbarco.com > -C pubic -v DISKUSED -w 15 -c 10' specified in service 'Disk space' for > host 'gvr-array02' not defined anywhere! > > Checked 1386 services. > > > > And here is the check command it's choking on: > > > > check_command check_netapp -H > gvr-array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10 > > max_check_attempts 5 > > normal_check_interval 5 > > retry_check_interval 1 > > notification_interval 120 > > contact_groups admins > > notification_period 24x7 > > } > > > > Where have I gone wrong? I know this command works if I run it from the > command line, so does that mean I need to do something in another config > file to define this check? > > > > This message (including any attachments) contains confidential > and/or proprietary information intended only for the addressee. > Any unauthorized disclosure, copying, distribution or reliance on > the contents of this information is strictly prohibited and may > constitute a violation of law. If you are not the intended > recipient, please notify the sender immediately by responding to > this e-mail, and delete the message from your system. If you > have any questions about this e-mail please notify the sender > immediately. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ojan at gfi.fr Wed Sep 3 16:03:55 2008 From: ojan at gfi.fr (Olivier JAN) Date: Wed, 03 Sep 2008 16:03:55 +0200 Subject: collectd or cacti In-Reply-To: <48BE9469.6010603@googlemail.com> References: <48BE9469.6010603@googlemail.com> Message-ID: <20080903160355.srb4mpuhuso4gw0s@intra.expertise-online.net> Hi, I think those are not quite the same. Collectd is rahter a collection of metrics tool and cacti intends to be a complete solution for rrdtool. Collectd is based on the push (passive) model where each node push its data to at least one central server. Collectd doesn't have any decent frontend. You must use drraw or cacti to graph the datas collected. Also rrd databases are just a option to store the data among others (e.g csv). You can have collects frequencies you can't achieve with an active model (every 10 seconds or less if you want) Cacti is based on a polling model (active pull). It collects, store and graph the datas. Conclusion : you can use both rather than one or one. Olivier http://nagios-fr.org "Marcelo M. Garcia" a ?crit : > Hi > > Is anybody using collectd or cacti? I would like some feedback about on > why choose one or another. Maybe in a not so near future use with Nagios. > > I tried Ganglia but it doesn't seems very easy to configure or that it > must runs in a separated network, like a cluster. > > Regards > > Marcelo > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jeremy.page at gilbarco.com Wed Sep 3 16:22:40 2008 From: jeremy.page at gilbarco.com (Page, Jeremy) Date: Wed, 3 Sep 2008 07:22:40 -0700 Subject: Error when trying to add a check_netapp check In-Reply-To: <2274b9c30809030654l2071027ao190f15c7cab24111@mail.gmail.com> References: <0631C3905C0FF042A74F71A92C65DD48034EDD12@dhrseasvxb05.messaging.danaherad.com> <2274b9c30809030654l2071027ao190f15c7cab24111@mail.gmail.com> Message-ID: <0631C3905C0FF042A74F71A92C65DD48034EDD54@dhrseasvxb05.messaging.danaherad.com> I don't think so, it's in the same directory as all my other check scripts. Is there something else I need to do? Other check_netapp commands work, it's just this one that's failing (see below) Do I need to add something to my commands.cfg file? Here's an example of what does work: define service{ use generic-service host_name gvr-array02 service_description System Desctiption check_command check-netapp-sysdescr max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 notification_interval 120 contact_groups admins notification_period workhours } define service{ use generic-service host_name gvr-array02 service_description Failed Fans check_command check-netapp-failedfans max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 notification_interval 120 contact_groups admins notification_period 24x7 -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] Sent: Wednesday, September 03, 2008 9:55 AM To: Page, Jeremy Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Error when trying to add a check_netapp check The path to command might need to be set? On 9/3/08, Page, Jeremy wrote: > I am sorry for asking what I am sure is a very basic question, but I've > inherited my Nagios system and I'm trying to get a disk space check in > ASAP. Here is the error I'm getting: > > > > Checking services... > > Error: Service check command 'check_netapp -H gvr-array02.gilbarco.com > -C pubic -v DISKUSED -w 15 -c 10' specified in service 'Disk space' for > host 'gvr-array02' not defined anywhere! > > Checked 1386 services. > > > > And here is the check command it's choking on: > > > > check_command check_netapp -H > gvr-array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10 > > max_check_attempts 5 > > normal_check_interval 5 > > retry_check_interval 1 > > notification_interval 120 > > contact_groups admins > > notification_period 24x7 > > } > > > > Where have I gone wrong? I know this command works if I run it from the > command line, so does that mean I need to do something in another config > file to define this check? > > > > This message (including any attachments) contains confidential > and/or proprietary information intended only for the addressee. > Any unauthorized disclosure, copying, distribution or reliance on > the contents of this information is strictly prohibited and may > constitute a violation of law. If you are not the intended > recipient, please notify the sender immediately by responding to > this e-mail, and delete the message from your system. If you > have any questions about this e-mail please notify the sender > immediately. This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Sep 3 16:30:36 2008 From: marc at ena.com (Marc Powell) Date: Wed, 3 Sep 2008 09:30:36 -0500 Subject: Error when trying to add a check_netapp check In-Reply-To: <0631C3905C0FF042A74F71A92C65DD48034EDD12@dhrseasvxb05.messaging.danaherad.com> References: <0631C3905C0FF042A74F71A92C65DD48034EDD12@dhrseasvxb05.messaging.danaherad.com> Message-ID: <98F8BCD6-013C-4851-AF2E-C209DF58DD80@ena.com> On Sep 3, 2008, at 8:40 AM, Page, Jeremy wrote: > I am sorry for asking what I am sure is a very basic question, but > I?ve inherited my Nagios system and I?m trying to get a disk space > check in ASAP. Here is the error I?m getting: > > Checking services... > Error: Service check command 'check_netapp -H gvr- > array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10' specified in > service 'Disk space' for host 'gvr-array02' not defined anywhere! > Checked 1386 services. > > And here is the check command it?s choking on: > > check_command check_netapp -H gvr- > array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10 > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 120 > contact_groups admins > notification_period 24x7 > } > > Where have I gone wrong? I know this command works if I run it from > the command line, so does that mean I need to do something in > another config file to define this check The check_command in a service{} or host{} definition is a reference to a corresponding command{} definition, not the actual command line that would be run. You should use your current configs as a reference for how this is done as well as this documentation -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service and to simplify configuration -- http://nagios.sourceforge.net/docs/2_0/macros.html It will probably look something like -- ... check_command check_netapp max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 notification_interval 120 contact_groups admins notification_period 24x7 } define command { command_name check_netapp command_line $USER1$/check_netapp -H $HOSTADDRESS$ -C pubic -v DISKUSED -w 15 -c 10 } -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nadiakheffache at yahoo.fr Wed Sep 3 17:15:45 2008 From: nadiakheffache at yahoo.fr (nadia kheffache) Date: Wed, 3 Sep 2008 15:15:45 +0000 (GMT) Subject: Warning with status null on BackupPC service Message-ID: <236407.68886.qm@web25506.mail.ukl.yahoo.com> hi , I jute reintall backuppc, i have no error when i backup. when i execut this command, i have no error: bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v BACKUPPC OK - (0/1) failures But i have the warning on interface web of nagios: Display Filters:Host Status Types: Pending | UpHost Properties:Any Service Status Types: WarningService Properties: Not In Scheduled Downtime & Has Not Been Acknowledged & Active Checks Enabled Service Status Details For All Hosts Host?Service?Status?Last Check?Duration?Attempt?Status Information localhost BackupPC1 WARNING 09-03-2008 16:52:49 0d 1h 58m 27s 4/4 (null)? Event log: 09-03-2008 14:57:56] SERVICE ALERT: localhost;BackupPC1;WARNING;HARD;4;(null) [09-03-2008 14:56:56] SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;3;(null) [09-03-2008 14:55:56] SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;2;(null) [09-03-2008 14:54:56] SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;1;(null) Thank you --- En date de?: Mer 3.9.08, Alex Dehaini a ?crit?: De: Alex Dehaini Objet: Re: [Nagios-users] Warning with status null on BackupPC service ?: nadiakheffache at yahoo.fr, "Nagios Users Mailinglist" Date: Mercredi 3 Septembre 2008, 11h22 Please install Compress::Zlib Lex On Wed, Sep 3, 2008 at 9:18 AM, nadia kheffache wrote: Hi Alex, in command.cfg i have this: # 'service-backuppc' command definition define command{ ??????? command_name??? check_backuppc ??????? command_line??? /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v ??????? } when i execute this command whith nagios user in shell, i have this warning bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v BACKUPPC CRITICAL - (192.168.0.1 (can't find Compress::Zlib), ) critical bash-3.1$ When i stop the service BackupPC, i have not status critical, just the same warning with yellow color? why do not change color in red when i stop the service? Options BackupPC: bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -h check_backuppc - 1.1.0 A Nagios plugin to check on BackupPC backup status. Options: ? --hostname,-H????? only check the specified host ? --exclude,-x?????? do not check the specified host ? --archive-only,-a? only check the archive hosts ? --backup-only,-b?? only check the backup hosts ? --status-only,-s?? only check backup status, omit connection failures that are ???????????????????? less than $Conf{FullPeriod} old ? --warning,-w?????? days old an errored host must be to cause a warning ? --critical,-c????? number of days old an errored backup must be to be critical ? --reduce,-r??????? maximum number of failed hosts for severity reduction ? --verbose,-v?????? increase verbosity ? --version,-V?????? display plugin version ? --help,-h????????? display this message Thank you Nadia localhost.cfg: define service{ ??????? use???????????????????????????? local-service ??????? host_name?????????????????????? localhost ??????? service_description???????????? BackupPC ??????? check_command?????????????????? check_backuppc ??????? notifications_enabled?????????? 0 --- En date de?: Mer 3.9.08, Alex Dehaini a ?crit?: De: Alex Dehaini Objet: Re: [Nagios-users] Warning with status null on BackupPC service ?: nadiakheffache at yahoo.fr Cc: nagios-users at lists.sourceforge.net Date: Mercredi 3 Septembre 2008, 10h57 You need to give us more information my friend. Show us the check_backuppc command you are using. Run it from the CLI and give us the output. Lex On Wed, Sep 3, 2008 at 2:56 AM, nadia kheffache wrote: Hi, I just installed nagios to monitoring backuppc service, i intalled check_backuppc, plugin for nagios, but i have only warning whith status information null, when i stop the backuppc service, i have not a critical status. backuppc and nagios are intalleded on the same host, with CENTOs5(ditribution redhat) thank you for your help nadia ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Sep 3 17:47:56 2008 From: marc at ena.com (Marc Powell) Date: Wed, 3 Sep 2008 10:47:56 -0500 Subject: Warning with status null on BackupPC service In-Reply-To: <236407.68886.qm@web25506.mail.ukl.yahoo.com> References: <236407.68886.qm@web25506.mail.ukl.yahoo.com> Message-ID: <606223E7-CB16-43C5-9E7C-CAFF65E31C5B@ena.com> On Sep 3, 2008, at 10:15 AM, nadia kheffache wrote: > hi , > > I jute reintall backuppc, i have no error when i backup. when i > execut this command, i have no error: > > bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/ > check_backuppc -v > BACKUPPC OK - (0/1) failures There is much discussion of sudo in the archives (search gmane), but the most likely is that your sudoers file requires that the caller have a TTY. Nagios plugins do not. Make sure that requiretty is disabled. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ronaldobf at linkway.com.br Wed Sep 3 22:25:46 2008 From: ronaldobf at linkway.com.br (Ronaldo A. Bueno Filho) Date: Wed, 3 Sep 2008 17:25:46 -0300 Subject: Problems with NDOUtils Message-ID: Hi people! I've installed Nagios 3.0.2 on my Debian 4. I also installed NDOUtils 1.4b7. The problem is related with NDOUtils. I can not populate the nagios database. I followed all steps and rechecked everything. According to my serach, probably there is a bug. (Not sure). I just found people asking for some help, sometimes I got useful hints, but I did not find the root cause of my problem. I've tried several things, but did not work. - I could connect to the nagios database using the user nagios and its password. I checked the files to make sure that it is with the correct user, password and database name. - I checked the owner (user) and group that the files belong to (nagios:nagios). - I checked the permitions of the files - I tried to use both TCP and unix in the socket_type and got the same error. - I just stoped nagios and NDOUtils. I started the NDOUtils and then nagios. Did not work - I got no errors in the installation. I really appreciate any help. Las part of Nagios log: [1220472069] ndomod: Error writing to data sink! Some output may get lost... [1220472085] ndomod: Successfully reconnected to data sink! 0 items lost, 84 queued items to flush. [1220472085] ndomod: Successfully flushed 84 queued items to data sink. [1220472085] ndomod: Error writing to data sink! Some output may get lost... [1220472101] ndomod: Successfully reconnected to data sink! 0 items lost, 80 queued items to flush. [1220472101] ndomod: Successfully flushed 80 queued items to data sink. [1220472101] ndomod: Error writing to data sink! Some output may get lost... [1220472117] ndomod: Successfully reconnected to data sink! 0 items lost, 80 queued items to flush. [1220472117] ndomod: Successfully flushed 80 queued items to data sink. [1220472117] ndomod: Error writing to data sink! Some output may get lost... ================================== ndo2db.conf is as shown below: ndo2db_user=nagios ndo2db_group=nagios socket_type=unix #socket_type=tcp socket_name=/usr/local/nagios/var/ndo.sock tcp_port=5668 db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=nagios db_pass=nagios max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 ================================ ndomod.conf is as shown below: instance_name=default output_type=unixsocket output=/usr/local/nagios/var/ndo.sock tcp_port=5668 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 ================================ nagios.conf is as shown below: event_broker_options=-1 broker_module=/usr/local/nagios/bin/ndomod-3x.o config_file=/usr/local/nagios/etc/ndomod.cfg ================================ To initialize I run /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg (get no errors) Thanks in advance. -- Ronaldo A. Bueno Filho -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nadiakheffache at yahoo.fr Wed Sep 3 22:31:29 2008 From: nadiakheffache at yahoo.fr (nadia kheffache) Date: Wed, 3 Sep 2008 20:31:29 +0000 (GMT) Subject: Warning with status null on BackupPC service Message-ID: <79885.35069.qm@web25501.mail.ukl.yahoo.com> Hi every body, someone can inform me how nagios recover the result of a check_service (backuppc) for posting on the web interface nagios? because I did not install NRPE because backupPC and Nagios are installed on the same machine (localhost). I have reintalled today backupPC, i have not error when i execut the check_backuppc: bash-3.1$? /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v BACKUPPC OK - (0/1) failures But only the warning on nagios web interface, I have a presentation Tuesday morning. thank you Nadia --- En date de?: Mer 3.9.08, Alex Dehaini a ?crit?: De: Alex Dehaini Objet: Re: [Nagios-users] Warning with status null on BackupPC service ?: nadiakheffache at yahoo.fr Cc: nagios-users at lists.sourceforge.net Date: Mercredi 3 Septembre 2008, 10h57 You need to give us more information my friend. Show us the check_backuppc command you are using. Run it from the CLI and give us the output. Lex On Wed, Sep 3, 2008 at 2:56 AM, nadia kheffache wrote: Hi, I just installed nagios to monitoring backuppc service, i intalled check_backuppc, plugin for nagios, but i have only warning whith status information null, when i stop the backuppc service, i have not a critical status. backuppc and nagios are intalleded on the same host, with CENTOs5(ditribution redhat) thank you for your help nadia ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Wed Sep 3 23:07:14 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 3 Sep 2008 17:07:14 -0400 Subject: Problems with NDOUtils In-Reply-To: References: Message-ID: <13F36D2926AD444697093282F20041B707864308@buf-ex01.cymfony.com> I had this same problem about a month ago. I never got a response to my posting nor found an answer. The only difference was I ran it on fedora but had the same problem saying it can't write to data sink. I accessed the database manually to verify credentials and it was fine from there, along with other things that you already tried. I did however get it to work on suse on the first try. Not sure what made the difference. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ronaldo A. Bueno Filho Sent: Wednesday, September 3, 2008 4:26 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with NDOUtils Hi people! I've installed Nagios 3.0.2 on my Debian 4. I also installed NDOUtils 1.4b7. The problem is related with NDOUtils. I can not populate the nagios database. I followed all steps and rechecked everything. According to my serach, probably there is a bug. (Not sure). I just found people asking for some help, sometimes I got useful hints, but I did not find the root cause of my problem. I've tried several things, but did not work. - I could connect to the nagios database using the user nagios and its password. I checked the files to make sure that it is with the correct user, password and database name. - I checked the owner (user) and group that the files belong to (nagios:nagios). - I checked the permitions of the files - I tried to use both TCP and unix in the socket_type and got the same error. - I just stoped nagios and NDOUtils. I started the NDOUtils and then nagios. Did not work - I got no errors in the installation. I really appreciate any help. Las part of Nagios log: [1220472069] ndomod: Error writing to data sink! Some output may get lost... [1220472085] ndomod: Successfully reconnected to data sink! 0 items lost, 84 queued items to flush. [1220472085] ndomod: Successfully flushed 84 queued items to data sink. [1220472085] ndomod: Error writing to data sink! Some output may get lost... [1220472101] ndomod: Successfully reconnected to data sink! 0 items lost, 80 queued items to flush. [1220472101] ndomod: Successfully flushed 80 queued items to data sink. [1220472101] ndomod: Error writing to data sink! Some output may get lost... [1220472117] ndomod: Successfully reconnected to data sink! 0 items lost, 80 queued items to flush. [1220472117] ndomod: Successfully flushed 80 queued items to data sink. [1220472117] ndomod: Error writing to data sink! Some output may get lost... ================================== ndo2db.conf is as shown below: ndo2db_user=nagios ndo2db_group=nagios socket_type=unix #socket_type=tcp socket_name=/usr/local/nagios/var/ndo.sock tcp_port=5668 db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=nagios db_pass=nagios max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 ================================ ndomod.conf is as shown below: instance_name=default output_type=unixsocket output=/usr/local/nagios/var/ndo.sock tcp_port=5668 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 ================================ nagios.conf is as shown below: event_broker_options=-1 broker_module=/usr/local/nagios/bin/ndomod-3x.o config_file=/usr/local/nagios/etc/ndomod.cfg ================================ To initialize I run /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg (get no errors) Thanks in advance. -- Ronaldo A. Bueno Filho -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nadiakheffache at yahoo.fr Wed Sep 3 23:10:17 2008 From: nadiakheffache at yahoo.fr (nadia kheffache) Date: Wed, 3 Sep 2008 21:10:17 +0000 (GMT) Subject: =?iso-8859-1?q?Probl=E8me_solved_Warning_with_stat?= =?iso-8859-1?q?us_null_on_BackupPC_service?= Message-ID: <590794.12012.qm@web25504.mail.ukl.yahoo.com> Thank you for your answer marc, i have desabled only : ?#default requiretty line in /etc/sudoers/ tank you lex and tentra. Best regards Nadia --- En date de?: Mer 3.9.08, nadia kheffache a ?crit?: De: nadia kheffache Objet: Re: [Nagios-users] Warning with status null on BackupPC service ?: nagios-users at lists.sourceforge.net Cc: tentra at gmail.com, "Alex Dehaini" Date: Mercredi 3 Septembre 2008, 22h31 Hi every body, someone can inform me how nagios recover the result of a check_service (backuppc) for posting on the web interface nagios? because I did not install NRPE because backupPC and Nagios are installed on the same machine (localhost). I have reintalled today backupPC, i have not error when i execut the check_backuppc: bash-3.1$? /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v BACKUPPC OK - (0/1) failures But only the warning on nagios web interface, I have a presentation Tuesday morning. thank you Nadia --- En date de?: Mer 3.9.08, Alex Dehaini a ?crit?: De: Alex Dehaini Objet: Re: [Nagios-users] Warning with status null on BackupPC service ?: nadiakheffache at yahoo.fr Cc: nagios-users at lists.sourceforge.net Date: Mercredi 3 Septembre 2008, 10h57 You need to give us more information my friend. Show us the check_backuppc command you are using. Run it from the CLI and give us the output. Lex On Wed, Sep 3, 2008 at 2:56 AM, nadia kheffache wrote: Hi, I just installed nagios to monitoring backuppc service, i intalled check_backuppc, plugin for nagios, but i have only warning whith status information null, when i stop the backuppc service, i have not a critical status. backuppc and nagios are intalleded on the same host, with CENTOs5(ditribution redhat) thank you for your help nadia ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Thu Sep 4 01:45:30 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 3 Sep 2008 15:45:30 -0800 Subject: Nagvis alternatives In-Reply-To: <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> Message-ID: On Sep 3, 2008, at 1:25 AM, Alex Dehaini wrote: > Have you used it in production environment before. What are the > disadvantages and advantages over nagvis? Yeah, we were running nexsm on our network of about 300 devices - not huge, but not tiny. The main advantage that I found was ease of configuration. With nexsm, it starts with the map fully populated with all network devices and links, and you can simply drag the devices around to where you want them. With nagvis, it starts off with an empty map, and you have to manually place every device AND every link. If you are just trying to populate a server room or something, this is fine, and probably even easer than the nexsm approach (where you would have to tell it to hide all the unwanted hosts), but when you are trying to map 300 or so devices, plus links, it quickly becomes prohibitively time consuming. And while you can reposition devices in nagvis by dragging (although I have had no end of trouble getting that to work), they aren't attached to their links, so you have to manually reposition BOTH the device and any links to/from the device. This isn't an issue with nexsm. I also found the display in nexsm to be easier to use- you can easily zoom in and out to see more or less of the map (if you can do this in nagvis, I haven't discovered how), and the map can be as large as you want- nagvis (from what I can tell) is limited to the size of the background image you choose. Although I do prefer the icon sets with nagvis over nexsm- nexsm uses the image you set in the nagios config. Finally, I prefer nexsm over nagvis for performance issues, although admittedly I suspect this is due to mysql, not nagvis itself. On the system I am using, I have found that when nagios is dumping stuff to the database, mysql uses pretty much all available processing power, and nagios hangs waiting for it to complete. Nexsm just reads the nagios logs directly, and while it is java, which uses a fair amount of processor, it's not as bad as mysql, at least on my OS. Also, when running nagvis, nagios has a tendency to stop updating completely every day or two, and can't be restarted until I kill the ndo2db daemon. I never had issues like that with nexsm- probably because it was just passively reading the log files, rather than trying to use an active event broker in nagios. Nexsm also just "feels" simpler to me- nagvis consists of an event broker module, a ndo2db daemon, the mysql server (although that might already be running somewhere for something else) and the web front end. nexsm is "just" a single java applet. Keep in mind though that my opinions may be at least partially based on incomplete or incorrect knowledge of nagvis. While I used nexsm extensively until we moved to nagios 3, I have never actually managed to get nagvis running acceptably. The three separate occasions I tried it have all been non-starters. The last time I got it running for a couple of days, but between the above mentioned performance issues, and never really being able to get the maps configured the way I wanted, we quickly took it offline. Also it is entirely possible that my desired usage (as a full-network overview) is better suited for nexsm than nagvis, and a different usage might work better with nagvis. But so far, for us, nagvis has proven to not be sutable. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > Lex > > On Tue, Sep 2, 2008 at 11:20 PM, Israel Brewster > wrote: > On Sep 2, 2008, at 8:34 AM, Alex Dehaini wrote: > >> Hi Guys, >> >> Are there other projects like nagvis? > > If you are still running nagios 2, nexsm ( http://nexsm.sf.net ) is > an excellent option, one that I highly preferred over nagvis for a > number of reasons. Doesn't work with nagios 3, however. I Don't know > how hard it would be to fix (I suspect it is just a log parsing > issue, but I don't know), but it is written in java, which I don't > know, and the developer hasn't had time to work on it lately. Oh well. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- >> >> >> -- >> Alex Dehaini >> Developer >> Site - www.alexdehaini.com >> Email - alexdehaini at gmail.com >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in >> the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Thu Sep 4 04:28:49 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 03 Sep 2008 21:28:49 -0500 Subject: Using Nagios to check if webpage is really shown References: <765966d20809020314q77906ef2k81aa2eaaf3d41eb9@mail.gmail.com> <20080902112038.5b6fdcfc@tclmmw.in.tiger-computing.com> Message-ID: On Tue, 2 Sep 2008 11:20:38 +0100, Matthew Macdonald-Wallace wrote: >On Tue, 2 Sep 2008 12:14:09 +0200 >Bastiaan wrote: > >> At the moment I have Nagios 2.9 up and running, and it does different >> kind of checks. But now I would not only like to check if, for >> example port 80 is open on my webserver, but also if the webpage on >> the same webserver is shown that customers can see it. >> I have been searching on the internet for a plugin that can help me >> do this, but I have not found something useful yet. > >check_http can send and receive HTTP requests as well as just >monitoring port 80. I've found this good for doing simple page tests on complex sites (does the login page come up). >If you really want to test your website, then WebInject will allow you >to write complete tests to simulate users browsing your site. I use this for the complex stuff. ie, can I login, navigate through a few pages, run a report, and see expected results. I've been using WebInject for a while now, it works very well. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Thu Sep 4 04:42:33 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 03 Sep 2008 21:42:33 -0500 Subject: Problems with NDOUtils References: Message-ID: On Wed, 3 Sep 2008 17:25:46 -0300, "Ronaldo A. Bueno Filho" wrote: > >Hi people! > >I've installed Nagios 3.0.2 on my Debian 4. I also installed NDOUtils 1.4b7. >The problem is related with NDOUtils. I can not populate the nagios >database. I followed all steps and rechecked everything. According to my >serach, probably there is a bug. (Not sure). > >I just found people asking for some help, sometimes I got useful hints, but >I did not find the root cause of my problem. > >I've tried several things, but did not work. > >- I could connect to the nagios database using the user nagios and its >password. I checked the files to make sure that it is with the correct user, >password and database name. >- I checked the owner (user) and group that the files belong to >(nagios:nagios). >- I checked the permitions of the files >- I tried to use both TCP and unix in the socket_type and got the same >error. >- I just stoped nagios and NDOUtils. I started the NDOUtils and then nagios. >Did not work >- I got no errors in the installation. I did some googling, and stumbled across this thread: http://readlist.com/lists/lists.sourceforge.net/nagios-users/0/1996.html It mentions the ndo application not being able to talk to SQL, and logging to /var/log/messages. You might try checking there, and seeing if you get any extra information. It might be ndo is expecting the mysql socket file in a different location to where you have it. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frimik at gmail.com Thu Sep 4 07:23:33 2008 From: frimik at gmail.com (Mikael Fridh) Date: Thu, 4 Sep 2008 07:23:33 +0200 Subject: Problems with NDOUtils In-Reply-To: References: Message-ID: <323f67830809032223n50e8eed2l77c029bae8e648e5@mail.gmail.com> On Wed, Sep 3, 2008 at 10:25 PM, Ronaldo A. Bueno Filho wrote: > > Hi people! > > I've installed Nagios 3.0.2 on my Debian 4. I also installed NDOUtils 1.4b7. > The problem is related with NDOUtils. I can not populate the nagios > database. I followed all steps and rechecked everything. According to my > serach, probably there is a bug. (Not sure). [...] > [1220472069] ndomod: Error writing to data sink! Some output may get > lost... > [1220472085] ndomod: Successfully reconnected to data sink! 0 items lost, > 84 queued items to flush. > [1220472085] ndomod: Successfully flushed 84 queued items to data sink. > [1220472085] ndomod: Error writing to data sink! Some output may get > lost... > [1220472101] ndomod: Successfully reconnected to data sink! 0 items lost, > 80 queued items to flush. > [1220472101] ndomod: Successfully flushed 80 queued items to data sink. > [1220472101] ndomod: Error writing to data sink! Some output may get > lost... > [1220472117] ndomod: Successfully reconnected to data sink! 0 items lost, > 80 queued items to flush. > [1220472117] ndomod: Successfully flushed 80 queued items to data sink. > [1220472117] ndomod: Error writing to data sink! Some output may get > lost... > Check the permissions/ownership on your ndo configuration files, I'd created an rpm the other day with too strict permissions on these files that made ndo unable to read them. It doesn't really alert you about it, it just goes along with default values. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Thu Sep 4 07:55:21 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 04 Sep 2008 11:25:21 +0530 Subject: software raid monitoring Message-ID: <48BF7849.4010509@infoservices.in> Hi all, Is there any way to monitor software raid on the remote server by nrpe ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Thu Sep 4 07:56:20 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 04 Sep 2008 11:26:20 +0530 Subject: System call sent warnings to stderr In-Reply-To: <7CAB3F10-B870-4C60-9D35-0D845573C61A@altinity.com> References: <48BE787D.5020603@infoservices.in> <7CAB3F10-B870-4C60-9D35-0D845573C61A@altinity.com> Message-ID: <48BF7884.5090600@infoservices.in> Duncan Ferguson wrote: > > On 3 Sep 2008, at 12:43, J. Bakshi wrote: >> >> Here is the commands I am using from CLI of my nagios PC to check the >> remote server >> >> ./check_nrpe -H < IP of remote server > -p 5565 -c >> check_zombie_procs >> System call sent warnings to stderr >> >> /check_nrpe -H < IP of remote server > -p 5565 -c check_total_procs >> System call sent warnings to stderr >> > > Get the actual commands run for 'check_zombie_procs' and > 'check_total_procs' out of the nrpe.cfg file on the remote server and > run them by hand as the same user as the nrpe agent runs as to see > what happens. > Here are the actual command and out put on the remote server For Checking total process ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z For Zombie process ~~~~~~~~~~~~~~~~~~ # /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z thanks > Duncs > > --Duncan Ferguson > Senior Developer, Altinity Limited > > http://www.altinity.com > Tel: +44 (0)870 787 9243 > US: +1 866 879 9184 > Fax: +44 (0)845 280 1725 > Skype: duncan_j_ferguson > MSN: duncan.ferguson at altinity.com > > The contents of this email and any files transmitted with it are > confidential and intended solely for the use of the individuals to > whom it is addressed. > If you are not the intended recipient or have received this e-mail in > error please notify the sender and delete this e-mail immediately. > Any unauthorised copying, disclosure or distribution of the material > in this e-mail is strictly prohibited. > > Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United > Kingdom > Registered in England and Wales under company number 4743767 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Thu Sep 4 08:33:25 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 04 Sep 2008 12:03:25 +0530 Subject: software raid monitoring In-Reply-To: <48BF7F76.5070302@telcotec.com> References: <48BF7849.4010509@infoservices.in> <48BF7F76.5070302@telcotec.com> Message-ID: <48BF8135.5020804@infoservices.in> Lars Stavholm wrote: > J. Bakshi wrote: >> Hi all, >> >> Is there any way to monitor software raid on the remote server by nrpe ? > > From nagios-plugins-1.4.11: > contrib/check_adptraid > contrib/check_linux_raid > /L > Hi Lars, Thanks a lot to let me know about the contrib. Yes the mentioned script is there in my nagios monitoring system, but I have not found it in my remote server where nrpe is running. I think I hace install there the nagios-plugin thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ronaldobf at linkway.com.br Thu Sep 4 09:39:01 2008 From: ronaldobf at linkway.com.br (Ronaldo A. Bueno Filho) Date: Thu, 4 Sep 2008 04:39:01 -0300 Subject: Problems with NDOUtils Message-ID: Hi again! I have already checked all files permissions and ownership. I've changed it and was still not working, anyway, I found and solved the problem... I just remade everything and when I was creating the files to compile, using ./configure, I saw that there were some statements with "no". The list is shown below: checking ltdl.h usability... no checking ltdl.h presence... no checking socket.h usability... no checking socket.h presence... no checking tcpd.h usability... no checking tcpd.h presence... no checking for socket in -lsocket... no checking for main in -lwrap... no checking for mysql_connect in -lmysqlclient... no To solve it, I installed the following libs using apt-get: libltdl3-dev libmysqlclient15-dev libwrap0-dev I just deleted the files and created it again using ./configure For now, there are still errors ("no" statements) on my output. Before I had problems with tcpd.h and socket.h. Now I have only the socket error, as you can see below: checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for mysql_connect in -lmysqlclient... no the problem above to connect to lmysqlclient, is because it uses socket to connect. All I did was to change the ndo2db.cfg and ndomod.cfg within /usr/local/nagios/etc/ to use tcp in socket_type. It works!!! Notice thar I am still not able to use unix in socket_type due the problem when generating the files. (did not find socket.h) I found it on my debian the following socket.h /usr/include/asm-x86_64/socket.h /usr/include/sys/socket.h /usr/include/asm/socket.h /usr/include/linux/socket.h /usr/include/bits/socket.h /usr/include/asm-i486/socket.h Using diff, I see that all files are different from each other so I just left it as it is. If you know some lib that contains the socket.h or if you know how can I do to NDO find it, I appreciate. Anyway, now it is working under tcp socket_type. My hint is: Take a look on the ./configure output. If there is any "no", find the lib, install it and issue again ./configure. Thanks -- Ronaldo A. Bueno Filho --------- Mensagem Original -------- De: Mikael Fridh Para: Ronaldo A. Bueno Filho C?pia: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Problems with NDOUtils Data: 03/09/08 23:23 > > On Wed, Sep 3, 2008 at 10:25 PM, Ronaldo A. Bueno Filho > <ronaldobf at linkway.com.br> wrote: > > > > Hi people! > > > > I've installed Nagios 3.0.2 on my Debian 4. I also installed NDOUtils 1.4b7. > > The problem is related with NDOUtils. I can not populate the nagios > > database. I followed all steps and rechecked everything. According to my > > serach, probably there is a bug. (Not sure). > > [...] > > > [1220472069] ndomod: Error writing to data sink! Some output may get > > lost... > > [1220472085] ndomod: Successfully reconnected to data sink! 0 items lost, > > 84 queued items to flush. > > [1220472085] ndomod: Successfully flushed 84 queued items to data sink. > > [1220472085] ndomod: Error writing to data sink! Some output may get > > lost... > > [1220472101] ndomod: Successfully reconnected to data sink! 0 items lost, > > 80 queued items to flush. > > [1220472101] ndomod: Successfully flushed 80 queued items to data sink. > > [1220472101] ndomod: Error writing to data sink! Some output may get > > lost... > > [1220472117] ndomod: Successfully reconnected to data sink! 0 items lost, > > 80 queued items to flush. > > [1220472117] ndomod: Successfully flushed 80 queued items to data sink. > > [1220472117] ndomod: Error writing to data sink! Some output may get > > lost... > > > > Check the permissions/ownership on your ndo configuration files, I'd > created an rpm the other day with too strict permissions on these > files that made ndo unable to read them. It doesn't really alert you > about it, it just goes along with default values. > > -- > Fridh > > > -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Thu Sep 4 09:58:42 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 4 Sep 2008 07:58:42 +0000 Subject: Nagvis alternatives In-Reply-To: References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> Message-ID: <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> thanks mate, good overview. I have had the same issues with nagvis, it crashing every now and then; ndo2db issues. I will give nexsm a try. Please be expecting emails from me about nexsm, lol. thanks again Lex On Wed, Sep 3, 2008 at 11:45 PM, Israel Brewster wrote: > On Sep 3, 2008, at 1:25 AM, Alex Dehaini wrote: > > Have you used it in production environment before. What are the > disadvantages and advantages over nagvis? > > > Yeah, we were running nexsm on our network of about 300 devices - not huge, > but not tiny. The main advantage that I found was ease of configuration. > With nexsm, it starts with the map fully populated with all network devices > and links, and you can simply drag the devices around to where you want > them. With nagvis, it starts off with an empty map, and you have to manually > place every device AND every link. If you are just trying to populate a > server room or something, this is fine, and probably even easer than the > nexsm approach (where you would have to tell it to hide all the unwanted > hosts), but when you are trying to map 300 or so devices, plus links, it > quickly becomes prohibitively time consuming. And while you can reposition > devices in nagvis by dragging (although I have had no end of trouble getting > that to work), they aren't attached to their links, so you have to manually > reposition BOTH the device and any links to/from the device. This isn't an > issue with nexsm. > > I also found the display in nexsm to be easier to use- you can easily zoom > in and out to see more or less of the map (if you can do this in nagvis, I > haven't discovered how), and the map can be as large as you want- nagvis > (from what I can tell) is limited to the size of the background image you > choose. Although I do prefer the icon sets with nagvis over nexsm- nexsm > uses the image you set in the nagios config. > > Finally, I prefer nexsm over nagvis for performance issues, > although admittedly I suspect this is due to mysql, not nagvis itself. On > the system I am using, I have found that when nagios is dumping stuff to the > database, mysql uses pretty much all available processing power, and nagios > hangs waiting for it to complete. Nexsm just reads the nagios logs directly, > and while it is java, which uses a fair amount of processor, it's not as bad > as mysql, at least on my OS. Also, when running nagvis, nagios has > a tendency to stop updating completely every day or two, and can't be > restarted until I kill the ndo2db daemon. I never had issues like that with > nexsm- probably because it was just passively reading the log files, rather > than trying to use an active event broker in nagios. Nexsm also just "feels" > simpler to me- nagvis consists of an event broker module, a ndo2db daemon, > the mysql server (although that might already be running somewhere for > something else) and the web front end. nexsm is "just" a single java applet. > > Keep in mind though that my opinions may be at least partially based on > incomplete or incorrect knowledge of nagvis. While I used nexsm extensively > until we moved to nagios 3, I have never actually managed to get nagvis > running acceptably. The three separate occasions I tried it have all been > non-starters. The last time I got it running for a couple of days, but > between the above mentioned performance issues, and never really being able > to get the maps configured the way I wanted, we quickly took it offline. > Also it is entirely possible that my desired usage (as a full-network > overview) is better suited for nexsm than nagvis, and a different usage > might work better with nagvis. But so far, for us, nagvis has proven to not > be sutable. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > Lex > > On Tue, Sep 2, 2008 at 11:20 PM, Israel Brewster < > israel at frontierflying.com> wrote: > >> On Sep 2, 2008, at 8:34 AM, Alex Dehaini wrote: >> >> Hi Guys, >> >> Are there other projects like nagvis? >> >> >> If you are still running nagios 2, nexsm ( http://nexsm.sf.net ) is >> an excellent option, one that I highly preferred over nagvis for a number of >> reasons. Doesn't work with nagios 3, however. I Don't know how hard it would >> be to fix (I suspect it is just a log parsing issue, but I don't know), but >> it is written in java, which I don't know, and the developer hasn't had time >> to work on it lately. Oh well. >> >> ----------------------------------------------- >> Israel Brewster >> Computer Support Technician >> Frontier Flying Service Inc. >> 5245 Airport Industrial Rd >> Fairbanks, AK 99709 >> (907) 450-7250 x293 >> ----------------------------------------------- >> >> >> >> -- >> Alex Dehaini >> Developer >> Site - www.alexdehaini.com >> Email - alexdehaini at gmail.com >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> >> >> > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Thu Sep 4 10:09:22 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 04 Sep 2008 10:09:22 +0200 Subject: notify-{host, service}-by-email command resistant to changes Message-ID: <48BF97B2.5050100@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Folks, I just tried to get the Macro $HOSTNOTESURL$ below my notification-email for an enhanced usability experience. However, the changes I made to the command-definition are not taken into account, when nagios makes my mta send me a mail. Example: I just changed "State" to german "Status" just to see if it works, then restarted nagios and klicked on "Send custom host notification" for one of the servers. However, I still see "State" instead of "Status", and I don't see a URL-representation anywhere. I grepped for Date/Time, to see if there are maybe overlapping commands defined, but there aren't. I use the generic-contact template: service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email and the custom mail-commands, slightly enhanced for URL-sending: The command-definitions are: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nStatus: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nURL: $HOSTNOTESURL$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nStatus: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\n $HOSTNOTESURL$\n $SERVICENOTESURL$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } The mail then looks like this: ***** Nagios ***** Notification Type: RECOVERY Host: OpenVPN1 State: UP Address: ovpn1.somedomain.de Info: WARNING - ovpn1.somedomain.de: rta 0.839ms, lost 0% Date/Time: Thu Sept 4 09:44:01 CEST 2008 No URL anywhere, ... Please be so kind to guide me to the solution of this occurence. Thanks in advance, Marcus P.S.: using Nagios 3.03 with pnp4nagios -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIv5ey+qVaNRZYOakRAhkzAKCatHjlYqQDw+WIcIC2o94xeivH6gCgkhEQ WP9YupLEtSj4cikwhjIg4K8= =vWKX -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Thu Sep 4 10:14:14 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 04 Sep 2008 13:44:14 +0530 Subject: software raid monitoring In-Reply-To: <48BF8E9E.6090903@telcotec.com> References: <48BF7849.4010509@infoservices.in> <48BF7F76.5070302@telcotec.com> <48BF8135.5020804@infoservices.in> <48BF8E9E.6090903@telcotec.com> Message-ID: <48BF98D6.9080500@infoservices.in> Lars Stavholm wrote: > J. Bakshi wrote: >> Lars Stavholm wrote: >>> J. Bakshi wrote: >>>> Hi all, >>>> >>>> Is there any way to monitor software raid on the remote server by >>>> nrpe ? >>> From nagios-plugins-1.4.11: >>> contrib/check_adptraid >>> contrib/check_linux_raid >>> /L >>> >> >> Hi Lars, >> >> Thanks a lot to let me know about the contrib. >> Yes the mentioned script is there in my nagios monitoring system, but I >> have not found it in my >> remote server where nrpe is running. I think I hace install there the >> nagios-plugin > > Well, you'd better verify what you've installed on the remote machine, > and how it was installed. The contrib directory might not be included. > The contrib directory is however included in the nagios-plugin source, > i.e. you might have to pick up the check_linux_raid and put it on to > the target machine yourself. > /L > > I'll do that. with best wishes -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hpsekhon at googlemail.com Thu Sep 4 10:30:04 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 04 Sep 2008 09:30:04 +0100 Subject: software raid monitoring In-Reply-To: <48BF7849.4010509@infoservices.in> References: <48BF7849.4010509@infoservices.in> Message-ID: <48BF9C8C.4000702@googlemail.com> J. Bakshi wrote: > Hi all, > > Is there any way to monitor software raid on the remote server by nrpe http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From duncan.ferguson at altinity.com Thu Sep 4 10:31:56 2008 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Thu, 4 Sep 2008 09:31:56 +0100 Subject: System call sent warnings to stderr In-Reply-To: <48BF7884.5090600@infoservices.in> References: <48BE787D.5020603@infoservices.in> <7CAB3F10-B870-4C60-9D35-0D845573C61A@altinity.com> <48BF7884.5090600@infoservices.in> Message-ID: <05BD9B1B-77FF-410C-9395-8C20671FBCCF@altinity.com> On 4 Sep 2008, at 06:56, J. Bakshi wrote: > > Here are the actual command and out put on the remote server > > For Checking total process > ~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z > System call sent warnings to stderr > PROCS WARNING: 0 processes with STATE = Z > > For Zombie process > ~~~~~~~~~~~~~~~~~~ > # /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z > System call sent warnings to stderr > PROCS WARNING: 0 processes with STATE = Z This potentially looks like a bug in check_procs - what version of Nagios Plugins are you using and what OS is the remote server? I would suggest posting to the plugins devel list - https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Thu Sep 4 11:01:53 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 04 Sep 2008 14:31:53 +0530 Subject: System call sent warnings to stderr In-Reply-To: <05BD9B1B-77FF-410C-9395-8C20671FBCCF@altinity.com> References: <48BE787D.5020603@infoservices.in> <7CAB3F10-B870-4C60-9D35-0D845573C61A@altinity.com> <48BF7884.5090600@infoservices.in> <05BD9B1B-77FF-410C-9395-8C20671FBCCF@altinity.com> Message-ID: <48BFA401.8000300@infoservices.in> Duncan Ferguson wrote: > > On 4 Sep 2008, at 06:56, J. Bakshi wrote: >> >> Here are the actual command and out put on the remote server >> >> For Checking total process >> ~~~~~~~~~~~~~~~~~~~~~~~~~ >> /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z >> System call sent warnings to stderr >> PROCS WARNING: 0 processes with STATE = Z >> >> For Zombie process >> ~~~~~~~~~~~~~~~~~~ >> # /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z >> System call sent warnings to stderr >> PROCS WARNING: 0 processes with STATE = Z > > > This potentially looks like a bug in check_procs - what version of > Nagios Plugins are you using and what OS is the remote server? > > I would suggest posting to the plugins devel list - > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel The os is suse 9.3 and nrpe is nagios-nrpe-2.0-111 thanks > > Duncs > > --Duncan Ferguson > Senior Developer, Altinity Limited > > http://www.altinity.com > Tel: +44 (0)870 787 9243 > US: +1 866 879 9184 > Fax: +44 (0)845 280 1725 > Skype: duncan_j_ferguson > MSN: duncan.ferguson at altinity.com > > The contents of this email and any files transmitted with it are > confidential and intended solely for the use of the individuals to > whom it is addressed. > If you are not the intended recipient or have received this e-mail in > error please notify the sender and delete this e-mail immediately. > Any unauthorised copying, disclosure or distribution of the material > in this e-mail is strictly prohibited. > > Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United > Kingdom > Registered in England and Wales under company number 4743767 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Thu Sep 4 11:04:01 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 04 Sep 2008 14:34:01 +0530 Subject: software raid monitoring In-Reply-To: <48BF9C8C.4000702@googlemail.com> References: <48BF7849.4010509@infoservices.in> <48BF9C8C.4000702@googlemail.com> Message-ID: <48BFA481.2000306@infoservices.in> Hari Sekhon wrote: > J. Bakshi wrote: >> Hi all, >> >> Is there any way to monitor software raid on the remote server by nrpe > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 > > -h > Thanks Hari. with best wishes -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Sep 4 14:31:51 2008 From: marc at ena.com (Marc Powell) Date: Thu, 4 Sep 2008 07:31:51 -0500 Subject: notify-{host, service}-by-email command resistant to changes In-Reply-To: <48BF97B2.5050100@googlemail.com> References: <48BF97B2.5050100@googlemail.com> Message-ID: <8292284C-FECF-49E2-8A73-5D78F95FCAF8@ena.com> On Sep 4, 2008, at 3:09 AM, Marcus wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Folks, > > I just tried to get the Macro $HOSTNOTESURL$ below my notification- > email > for an enhanced usability experience. > However, the changes I made to the command-definition are not taken > into > account, when nagios makes my mta send me a mail Sounds like you have multiple nagios daemons running at the same time. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From listuser at adnovum.ch Thu Sep 4 15:02:13 2008 From: listuser at adnovum.ch (Bernd Nies) Date: Thu, 04 Sep 2008 15:02:13 +0200 Subject: check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08 Message-ID: <48BFDC55.5060607@adnovum.ch> Hi, Something bad happened to the check_proc plugin between version 1.45 and v1991. For counting ca 1700 processes on a Sun Enterprise M4000 it takes 45 seconds and sometimes longer. An older version was much faster qirh 0.3 seconds. I compiled Nagios plugins 1.4.12 on a Solaris 9 with GCC 3.4.6 to get binaries that can run on Solaris 8, 9 and 10. [root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs-1.45 -V check_procs (nagios-plugins 1.4.1) 1.45 [root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs -V check_procs v1991 (nagios-plugins 1.4.12) [root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs-1.45 PROCS OK: 1695 processes real 0m0.320s user 0m0.051s sys 0m0.296s [root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs -t 60 PROCS OK: 1664 processes real 0m45.543s user 0m2.851s sys 0m41.231s Any ideas what's going wrong? Bye Bernd ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From duncan.ferguson at altinity.com Thu Sep 4 15:55:48 2008 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Thu, 4 Sep 2008 14:55:48 +0100 Subject: check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08 In-Reply-To: <48BFDC55.5060607@adnovum.ch> References: <48BFDC55.5060607@adnovum.ch> Message-ID: <52064DA7-9A86-41FA-8026-542DB793833D@altinity.com> Can you please try a recent snapshot? The I rewrote the pst3 binary to enable to work faster and be zone aware (to allow use in in the global and sub zones). Its been fine for me, but I don't think there has been a release since the code was committed. CC'ing in the nagiosplug-devel list (probably best place for this thread). Duncs On 4 Sep 2008, at 14:02, Bernd Nies wrote: > Hi, > > Something bad happened to the check_proc plugin between version 1.45 > and > v1991. For counting ca 1700 processes on a Sun Enterprise M4000 it > takes > 45 seconds and sometimes longer. An older version was much faster qirh > 0.3 seconds. > > I compiled Nagios plugins 1.4.12 on a Solaris 9 with GCC 3.4.6 to get > binaries that can run on Solaris 8, 9 and 10. > > > > [root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs-1.45 -V > check_procs (nagios-plugins 1.4.1) 1.45 > > [root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs -V > check_procs v1991 (nagios-plugins 1.4.12) > > > > [root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs-1.45 > PROCS OK: 1695 processes > > real 0m0.320s > user 0m0.051s > sys 0m0.296s > > [root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs -t 60 > PROCS OK: 1664 processes > > real 0m45.543s > user 0m2.851s > sys 0m41.231s > > > Any ideas what's going wrong? > > Bye > Bernd > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jcall at verio.net Thu Sep 4 16:09:21 2008 From: jcall at verio.net (Jonathan Call) Date: Thu, 4 Sep 2008 10:09:21 -0400 Subject: Nagios gets stuck In-Reply-To: <20080904093337.T53666@mippet.ci.com.au> References: <20080904093337.T53666@mippet.ci.com.au> Message-ID: <04F3233F47E2714CB7431AE913E57E7702EB1422@IAD-WPRD-XCHB02.corp.verio.net> Yes I have. And it is very annoying. A service check goes and the thread hangs, which makes Nagios hang. The service check, its thread parent remain as unkillable zombies until the server is rebooted. No one has offered any sort of solution other than "Have you tried Nagios 3?" (Which I have not) Jonathan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dave Horsfall Sent: Wednesday, September 03, 2008 5:40 PM To: Nagios Users Subject: [Nagios-users] Nagios gets stuck Nagios 2.12 with 1.4.11 plugins, on FreeBSD 7.0. Sometimes Nagios hangs, and does not accept external commands etc; it's necessary to "kill -9" the process. Has anyone else seen this? Next time I'll try and get a coredump of the process. -- Dave Horsfall DTM VK2KFU Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch) Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Thu Sep 4 16:16:17 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 04 Sep 2008 10:16:17 -0400 Subject: Nagios gets stuck In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702EB1422@IAD-WPRD-XCHB02.corp.verio.net> References: <20080904093337.T53666@mippet.ci.com.au> <04F3233F47E2714CB7431AE913E57E7702EB1422@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <48BFEDB1.7020406@collaborativefusion.com> Jonathan Call wrote: > Yes I have. And it is very annoying. A service check goes and > the thread hangs, which makes Nagios hang. The service check, > its thread parent remain as unkillable zombies until the server is > rebooted. > > No one has offered any sort of solution other than "Have you tried > Nagios 3?" (Which I have not) > > Jonathan Jonathan, are you running BSD as well? If so, what scheduler are you using? How about you Dave? Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Thu Sep 4 16:47:09 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 04 Sep 2008 16:47:09 +0200 Subject: notify-{host, service}-by-email command resistant to changes In-Reply-To: <8292284C-FECF-49E2-8A73-5D78F95FCAF8@ena.com> References: <48BF97B2.5050100@googlemail.com> <8292284C-FECF-49E2-8A73-5D78F95FCAF8@ena.com> Message-ID: <48BFF4ED.1050308@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Marc, thanks for the hint. Marc Powell schrieb: > On Sep 4, 2008, at 3:09 AM, Marcus wrote: >> I just tried to get the Macro $HOSTNOTESURL$ below my notification- >> email >> for an enhanced usability experience. >> However, the changes I made to the command-definition are not taken >> into >> account, when nagios makes my mta send me a mail > > Sounds like you have multiple nagios daemons running at the same time. I doubt that I actually had two instances running, but who knows. Maybe there is an issue with my restart-script (from init.d)... I just killed nagios thoroughly (blood everywhere), and now, the test-mail I just initiated after restarting shows me the changes. I even almost got the desired result (a link to host or service) by building the linkification manually, by combining the servername and $HOSTNAME$-variable. But, for services that contain spaces, it doesn't work. By the way, the $HOSTNOTESURL$ definitely doesn't produce any output on my system, same goes for the $SERVICENOTESURL$. Is it supposed to produce a valid html-link or something like that? I didn't quite understand that part of the current documentation. Thanks, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIv/Tt+qVaNRZYOakRAoT7AKCsBviDLe7gtVta8gG5kQMKGZ0phACfWNXv mW2tnCzHjGj7thSsfdWdNnc= =rzjv -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From myoung at nagios.org Thu Sep 4 16:48:13 2008 From: myoung at nagios.org (Mark Young) Date: Thu, 4 Sep 2008 09:48:13 -0500 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <48BE10BC.4050106@infoservices.in> References: <48BD2A9B.3060905@infoservices.in> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> <48BD5133.8050500@infoservices.in> <24EFADC0-22E7-4C5F-AA4C-B586E03DF36F@nagios.org> <48BE10BC.4050106@infoservices.in> Message-ID: <5CD276F5-794E-4CDA-8749-B96D216AE02A@nagios.org> On Sep 2, 2008, at 11:21 PM, J. Bakshi wrote: > I'm not using xinetd. I'm using nrpe daemon instead. > May be my firewall is responsible for the problem but I'm not sure > Even after increasing the time with -t 20 the commands still report > socket time out :-( Why not try xinetd with a simple firewall rule? I believe most people use xinetd or inetd and thus you should be able to get the most help that way. I set it up the same way the documentation states. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf Have you successfully installed NRPE before? If not, it may be time to move to a testing environment that you can have full control over. That being said... Are you running SElinux? Have you checked out your relevant logs for nrpe, iptables, selinux, etc (/var/log/messages, make sure debugging is turned on with NRPE)... It may be give you some interesting information. I like to run tail on the problem server then try NRPE from the monitoring server to see what is going on. # REMOTE SERVER running NRPE daemon continuosly running tail $ tail -f /var/log/messages Sep 4 09:35:03 dev2 nrpe[7118]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Sep 4 09:35:03 dev2 xinetd[32709]: EXIT: nrpe status=0 pid=7118 duration=2(sec) ... # NAGIOS SERVER running 'check_nrpe -H REMOTEHOST' or have nagios run checks till they start to timeout. $ ./check_npre -H REMOTEHOST NRPE v2.11 Good luck! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Sep 4 16:48:55 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 4 Sep 2008 14:48:55 +0000 Subject: notify-{host, service}-by-email command resistant to changes In-Reply-To: <48BFF4ED.1050308@googlemail.com> References: <48BF97B2.5050100@googlemail.com> <8292284C-FECF-49E2-8A73-5D78F95FCAF8@ena.com> <48BFF4ED.1050308@googlemail.com> Message-ID: > By the way, the $HOSTNOTESURL$ definitely doesn't produce any output on > my system, same goes for the $SERVICENOTESURL$. Is it supposed to > produce a valid html-link or something like that? I didn't quite > understand that part of the current documentation. If you have those defined for your hosts and/or services (see the extended info docs), they work. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Thu Sep 4 17:51:31 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 04 Sep 2008 11:51:31 -0400 Subject: Nagios gets stuck In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702EB144C@IAD-WPRD-XCHB02.corp.verio.net> References: <20080904093337.T53666@mippet.ci.com.au> <04F3233F47E2714CB7431AE913E57E7702EB1422@IAD-WPRD-XCHB02.corp.verio.net> <48BFEDB1.7020406@collaborativefusion.com> <04F3233F47E2714CB7431AE913E57E7702EB144C@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <48C00403.1000800@collaborativefusion.com> Jonathan Call wrote: > I am running the default scheduler (SCHED_4BSD) with SMP. > > I have one box running FreeBSD 7.0-amd64 and three others running > FreeBSD 6.3-i386 in a distributed model. The FreeBSD 6.3 boxes had > issues in the past with service checks hanging but once Nagios was > "libmapped" to libthr instead of libpthread those issues went away. > > I've been tempted to try that on the amd64 system but I'm waiting for > Nagios to hang/fail again. > > Jonathan I orginally replied to Dave off-list, but I saw a couple of hangups on our 6.3/amd64/SMP/4BSD master during/after some NSCA result submission bombs caused by some wide outages. There was really no impact in terms of resource consumption or race conditions, just unresponsive daemons (the debug log just kept cycling through the "nothing to do!" routine.) I wasn't too worried about it since it was caused by extremely atypical events so I didn't do much troubleshooting, but I can at least confirm the behavior. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jcall at verio.net Thu Sep 4 17:34:06 2008 From: jcall at verio.net (Jonathan Call) Date: Thu, 4 Sep 2008 11:34:06 -0400 Subject: Nagios gets stuck In-Reply-To: <48BFEDB1.7020406@collaborativefusion.com> References: <20080904093337.T53666@mippet.ci.com.au> <04F3233F47E2714CB7431AE913E57E7702EB1422@IAD-WPRD-XCHB02.corp.verio.net> <48BFEDB1.7020406@collaborativefusion.com> Message-ID: <04F3233F47E2714CB7431AE913E57E7702EB144C@IAD-WPRD-XCHB02.corp.verio.net> I am running the default scheduler (SCHED_4BSD) with SMP. I have one box running FreeBSD 7.0-amd64 and three others running FreeBSD 6.3-i386 in a distributed model. The FreeBSD 6.3 boxes had issues in the past with service checks hanging but once Nagios was "libmapped" to libthr instead of libpthread those issues went away. I've been tempted to try that on the amd64 system but I'm waiting for Nagios to hang/fail again. Jonathan -----Original Message----- From: Sean McAfee [mailto:smcafee at collaborativefusion.com] Sent: Thursday, September 04, 2008 8:16 AM To: Jonathan Call Cc: Dave Horsfall; Nagios Users Subject: Re: [Nagios-users] Nagios gets stuck Jonathan Call wrote: > Yes I have. And it is very annoying. A service check goes and > the thread hangs, which makes Nagios hang. The service check, > its thread parent remain as unkillable zombies until the server is > rebooted. > > No one has offered any sort of solution other than "Have you tried > Nagios 3?" (Which I have not) > > Jonathan Jonathan, are you running BSD as well? If so, what scheduler are you using? How about you Dave? Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Rick.Garland at quantum.com Thu Sep 4 17:36:47 2008 From: Rick.Garland at quantum.com (Rick Garland) Date: Thu, 4 Sep 2008 09:36:47 -0600 Subject: mysql reporting from nagios Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD65023E1AF1@DENMSGV1.QUANTUM.COM> Hi all: Running Nagios 2.9 on a Linux system with MySQL 5.0 I have the database running and the nagios data is put into the MySQL. Are there any examples, tips or resources available to writing reports that will access the nagios data from the database? Many thanks Rick Garland ----------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum Corporation. Furthermore, Quantum Corporation is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frimik at gmail.com Thu Sep 4 18:32:15 2008 From: frimik at gmail.com (Mikael Fridh) Date: Thu, 4 Sep 2008 18:32:15 +0200 Subject: mysql reporting from nagios In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD65023E1AF1@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD65023E1AF1@DENMSGV1.QUANTUM.COM> Message-ID: <323f67830809040932i4a3ae7cg6d5469506d0f0e72@mail.gmail.com> > Are there any examples, tips or resources available to writing reports that > will access the nagios data from the database? Replying in this cross-post as well for completeness: Examples in: ndoutils-1.4b7/db/queries/ -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From localyee at gmail.com Thu Sep 4 20:12:45 2008 From: localyee at gmail.com (localyee) Date: Fri, 5 Sep 2008 02:12:45 +0800 Subject: using nagios in my own website Message-ID: <200809050212440933745@gmail.com> hi,i'm using the nagios to monitor the service,and i just want to get the data of nagios module,and don't want to using the website of nagios,how can i display the data in my own website, how can i get the data with the interface of nagios,can any one give some suggestion. your kind help would be great appreciated. 2008-09-05 localyee -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From paul.weaver at bbc.co.uk Thu Sep 4 20:18:26 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 4 Sep 2008 19:18:26 +0100 Subject: using nagios in my own website In-Reply-To: <200809050212440933745@gmail.com> References: <200809050212440933745@gmail.com> Message-ID: The host/service status is stored in /usr/local/nagios/var/status.dat (or wherever you nagios install is). This is a plain text file with the status of every host and service in it. You can read it yourself however you want, but some languages may have a module for reading the file -- perl has a "Nagios::StatusLog" module in cpan, or often via your distribution (With ubuntu "apt-get install libnagios-object-perl") You could also, I believe, look at "NDO", which sends nagios data out to a mysql database. -- "09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0" Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 8225 8109 Mobile: 07736 481006 Room 1244, BBC Television Centre, Wood Lane, London, W12 7RJ -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of localyee Sent: 04 September 2008 19:13 To: nagios-users Subject: [Nagios-users] using nagios in my own website hi,i'm using the nagios to monitor the service,and i just want to get the data of nagios module,and don't want to using the website of nagios,how can i display the data in my own website, how can i get the data with the interface of nagios,can any one give some suggestion. your kind help would be great appreciated. 2008-09-05 ________________________________ localyee http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rperezm at uci.cu Thu Sep 4 20:23:02 2008 From: rperezm at uci.cu (Reynier Perez Mira) Date: Thu, 4 Sep 2008 14:23:02 -0400 Subject: Problems while trying to configure Nagios Message-ID: <4D18382A12A9B64190E1AD825FB591F3BC3B49@ucixw2.uci.cu> Hi every: I've downloaded and compiled Nagios 3.0.3. Reading the documentation I try to configure it for monitoring services and hosts. When I access to Nagios and pick "Service Detail" I get this error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Can any help me with this? Cheers and thanks in advance Ing. Reynier P?rez Mira Grupo de Soporte al Desarrollo - Direcci?n T?cnica IP ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rsmall at ireit.com Thu Sep 4 21:26:04 2008 From: rsmall at ireit.com (Robert Small) Date: Thu, 04 Sep 2008 14:26:04 -0500 Subject: Service Escalations Message-ID: Ok, I?ve manage to thoroughly confuse my self with service escalations. Here is an example of my configs: --service_definitation: define service{ use generic-service host_name box1,box2 service_description disk_space check_command check_nrpe!check_disks contact_groups oncall,developers,backup,tech-team,management notifications_enabled 1 } My escalations config: define serviceescalation{ host_name box1,box2 service_description disk_space first_notification 1 last_notification 10 notification_interval 4 contact_groups oncall } define serviceescalation{ host_name box1,box2 service_description disk_space first_notification 11 last_notification 20 notification_interval 4 contact_groups oncall,backup } define serviceescalation{ host_name box1,box2 service_description disk_space first_notification 21 last_notification 30 notification_interval 4 contact_groups oncall,backup,tech-team } define serviceescalation{ host_name box1,box2 service_description disk_space first_notification 31 last_notification notification_interval 4 contact_groups oncall,backup,tech-team,management } My first question: There have been two times in the past 24 hours when a service went down, and within a minute was acknowledged, and everybody got the acknowledgement, not just the oncall person. And secondly, if I added and ?everyone? to my service ?contact_groups?, and utilized the time_period option in the escalations config for after hours, would everyone get the notification during the day? Thanks! Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Sep 4 21:32:53 2008 From: marc at ena.com (Marc Powell) Date: Thu, 4 Sep 2008 14:32:53 -0500 Subject: Problems while trying to configure Nagios In-Reply-To: <4D18382A12A9B64190E1AD825FB591F3BC3B49@ucixw2.uci.cu> References: <4D18382A12A9B64190E1AD825FB591F3BC3B49@ucixw2.uci.cu> Message-ID: <78424A12-4C19-4896-99B6-23BE7A092742@ena.com> On Sep 4, 2008, at 1:23 PM, Reynier Perez Mira wrote: > Hi every: > I've downloaded and compiled Nagios 3.0.3. Reading the documentation > I try to configure it for monitoring services and hosts. When I > access to Nagios and pick "Service Detail" I get this error: > > It appears as though you do not have permission to view information > for any of the services you requested... > > If you believe this is an error, check the HTTP server > authentication requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > Can any help me with this? It seems you may have enabled authorization for the CGIs but didn't configure htaccess or otherwise complete the configuration? Otherwise the username you are logged in as isn't a contact for any hosts/ services or hasn't been granted extended authorized_for permissions in cgi.cfg. http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From medula at baytree.com Thu Sep 4 22:48:18 2008 From: medula at baytree.com (Murali Edula) Date: Thu, 4 Sep 2008 16:48:18 -0400 Subject: ocsp_command option unable to complete - Code 127 Message-ID: <006201c90ecf$8fcc2670$af647350$@com> Hi, We are configuring distributed monitoring using send_nsca. I am seeing following error from Nagios.log when ocsp_command executed by nagios service. But I can run manually the same command as nagios user successful. $ /usr/local/nagios/libexec/test_nsca rome.baytree.com 'Current Users' 0 'USERS OK - 4 users currently logged in' 1 data packet(s) sent to host successfully. Please help me what I am missing and why Nagios service giving me Code 127. Even though script is existed in /usr/local/nagios/libexec See the following setup files. ===Nagios.log [1220559119] INITIAL SERVICE STATE: rome.baytree.com;Current Users;OK;HARD;1;USERS OK - 4 users currently logged in [1220559429] Warning: Attempting to execute the command "/usr/local/nagios/libexec/test_nsca rome.baytree.com 'Current Users' 0 'USERS OK - 4 users currently logged in'" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... ===commands.cfg define command{ command_name send-service-check command_line /usr/local/nagios/libexec/test_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' } === nagios.cfg obsess_over_services=1 ocsp_command=send-service-check ochp_command=send-host-check === localhost.cfg define service{ use local-service ; Name of service template to use host_name rome.baytree.com service_description Current Users check_command check_local_users!20!50 } Thank you Murali Edula -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Sep 4 23:06:15 2008 From: marc at ena.com (Marc Powell) Date: Thu, 4 Sep 2008 16:06:15 -0500 Subject: ocsp_command option unable to complete - Code 127 In-Reply-To: <006201c90ecf$8fcc2670$af647350$@com> References: <006201c90ecf$8fcc2670$af647350$@com> Message-ID: <57537100-1E54-419C-A24B-BB85C77C5B62@ena.com> On Sep 4, 2008, at 3:48 PM, Murali Edula wrote: > Hi, > We are configuring distributed monitoring using send_nsca. I am > seeing following error from > Nagios.log when ocsp_command executed by nagios service. > But I can run manually the same command as nagios user successful. > > $ /usr/local/nagios/libexec/test_nsca rome.baytree.com 'Current > Users' 0 'USERS OK - 4 users currently logged in' > 1 data packet(s) sent to host successfully. > > Please help me what I am missing and why Nagios service giving me > Code 127. Even though script is existed in > /usr/local/nagios/libexec Thanks for providing the appropriate config snippets. Looks good. Make sure that any programs used within the test_nsca script exist and use / fully/qualified/paths. The environment available when the daemon executes the script is restricted. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Fri Sep 5 02:23:02 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 04 Sep 2008 19:23:02 -0500 Subject: Service Escalations References: Message-ID: <8hu0c41fl5d2k7emdoi4tmcekh6ho799dk@4ax.com> On Thu, 04 Sep 2008 14:26:04 -0500, Robert Small wrote: >Ok, I?ve manage to thoroughly confuse my self with service escalations. > >Here is an example of my configs: > > --service_definitation: > >define service{ > use generic-service > host_name box1,box2 > service_description disk_space > check_command check_nrpe!check_disks > contact_groups >oncall,developers,backup,tech-team,management > notifications_enabled 1 > } > >My escalations config: > >define serviceescalation{ [..] > contact_groups oncall > } > >define serviceescalation{ [..] > contact_groups oncall,backup > } > >define serviceescalation{ [..] > contact_groups oncall,backup,tech-team > } > >define serviceescalation{ [..] > contact_groups oncall,backup,tech-team,management > } >My first question: >There have been two times in the past 24 hours when a service went down, and >within a minute was acknowledged, and everybody got the acknowledgement, not >just the oncall person. I'm a little confused as to why you have everybody in the service definition, and then break it down in the escallations. It seems a slightly unusual way of doing it, but based on the verbiage from the docs, should work... http://nagios.sourceforge.net/docs/3_0/escalations.html The way the docs have it laid out, and using your samples, it'd have the contact_groups for the service as just oncall. Then for the first service escallation, which would be from 11, to 20 (not 1 to 10), the groups would be oncall, and backup. Then on the 21-30, it'd be oncall, backup, and tech-team, etc etc etc. >And secondly, if I added and ?everyone? to my service ?contact_groups?, and >utilized the time_period option in the escalations config for after hours, >would everyone get the notification during the day? It doesn't seem to mention it that way, but yes, it'd appear to behave that way. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 07:45:17 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 11:15:17 +0530 Subject: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <5CD276F5-794E-4CDA-8749-B96D216AE02A@nagios.org> References: <48BD2A9B.3060905@infoservices.in> <48BD2F71.7030806@infoservices.in> <4b008f7d0809020527w4d2cb14eo60d353eb121e7201@mail.gmail.com> <48BD3126.8000200@infoservices.in> <4b008f7d0809020549v26cfa3bbw486cd57885c8b9c7@mail.gmail.com> <48BD361C.40203@infoservices.in> <4b008f7d0809020612m2581c424v28527816d5dab956@mail.gmail.com> <48BD3C28.800@infoservices.in> <4b008f7d0809020621v28c3081dp6c8daa8fba98dfdb@mail.gmail.com> <48BD3E92.5040406@infoservices.in> <4b008f7d0809020635q3b9ae317u89f73abd43d80d4f@mail.gmail.com> <48BD43DE.2080806@infoservices.in> <48BD5133.8050500@infoservices.in> <24EFADC0-22E7-4C5F-AA4C-B586E03DF36F@nagios.org> <48BE10BC.4050106@infoservices.in> <5CD276F5-794E-4CDA-8749-B96D216AE02A@nagios.org> Message-ID: <48C0C76D.5080003@infoservices.in> Mark Young wrote: > On Sep 2, 2008, at 11:21 PM, J. Bakshi wrote: > >> I'm not using xinetd. I'm using nrpe daemon instead. >> May be my firewall is responsible for the problem but I'm not sure >> Even after increasing the time with -t 20 the commands still report >> socket time out :-( >> > > Why not try xinetd with a simple firewall rule? I believe most people > use xinetd or inetd and thus you should be able to get the most help > that way. I set it up the same way the documentation states. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf > Have you successfully installed NRPE before? If not, it may be > time to move to a testing environment that you can have full control > over. > > That being said... Are you running SElinux? Have you checked out your > relevant logs for nrpe, iptables, selinux, etc (/var/log/messages, > make sure debugging is turned on with NRPE)... It may be give you > some interesting information. I like to run tail on the problem > server then try NRPE from the monitoring server to see what is going on. > > > # REMOTE SERVER running NRPE daemon continuosly running tail > $ tail -f /var/log/messages > Sep 4 09:35:03 dev2 nrpe[7118]: INFO: SSL/TLS initialized. All > network traffic will be encrypted. > Sep 4 09:35:03 dev2 xinetd[32709]: EXIT: nrpe status=0 pid=7118 > duration=2(sec) > ... > > > # NAGIOS SERVER running 'check_nrpe -H REMOTEHOST' or have nagios run > checks till they start to timeout. > $ ./check_npre -H REMOTEHOST > NRPE v2.11 > > > Good luck! > Hi, I have not found anything interesting through logs. My problem has been solved by increasing the time to 30 [ -t 30 ] . Even 20 sec time gave me trouble. But I have no clue yet why any thing less than 30 sec did not work. with regards > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Fri Sep 5 08:52:34 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Fri, 5 Sep 2008 12:22:34 +0530 Subject: how to monitor crond service Message-ID: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> Hi, I've few of HP UX and Linux boxes that were monitored by Nagios. for the past few days, I've observed that cron service on HP UX keeps shutting down and I need to manually restart cron service. Is there any way through nagios we can monitor cron service on HP UX or Linux boxes so I can login before no one compliance and restart the service? Thanks -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 08:53:27 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 12:23:27 +0530 Subject: Is there any way to know who are logged in ? Message-ID: <48C0D767.9010500@infoservices.in> Good morning, Hope all are well. I am using check_users to see the total logged in users. But I am very eager to know any possibility to check the logged in users too [ who are presently logged in ]. Any way to do that ? many thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Fri Sep 5 09:08:12 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Fri, 5 Sep 2008 12:38:12 +0530 Subject: Is there any way to know who are logged in ? In-Reply-To: <48C0D767.9010500@infoservices.in> References: <48C0D767.9010500@infoservices.in> Message-ID: <25251aec0809050008g724c8f46t1802eaf870279b0c@mail.gmail.com> Good question! I have the same question in my mind and need to know the answer for it. Thanks -Shankar On Fri, Sep 5, 2008 at 12:23 PM, J. Bakshi wrote: > Good morning, > > Hope all are well. > I am using check_users to see the total logged in users. But I am very > eager to know any possibility to check the > logged in users too [ who are presently logged in ]. > Any way to do that ? > many thanks > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Fri Sep 5 09:38:35 2008 From: Thomas.Voigt at netkom.de (Voigt, Thomas) Date: Fri, 5 Sep 2008 09:38:35 +0200 Subject: how to monitor crond service In-Reply-To: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> References: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> Message-ID: <3FDCE9918EDF88488C30BDF0F787236A1BE59D7C@SME1019.dom1.e-ssi.net> Hi all, Shankar Asam wrote: > I've few of HP UX and Linux boxes that were monitored by Nagios. for the past few days, I've observed that cron service on HP UX keeps shutting down and I need to manually restart cron service. Is there any way through nagios we can monitor cron service on HP UX or Linux boxes so I can login before no one compliance and restart the service? You may install Net-SNMP (former UCD-SNMP) and put a line like "proc cron" in /etc/snmpd.conf. Create a checkcommand "check_netsnmp_proc" in Nagios which executes "$USER1$/check_netsnmp -H $HOSTADDRESS$ -C $ARG1$ -o proc". Then create a service for this host in Nagios, which checks with the above checkcommand all the running processes on this host. If you like you can put some more proc... lines into snmpd.conf and check for more than one process. -- Greetings from Weimar / Germany Thomas Voigt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 10:05:23 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 08:05:23 +0000 Subject: using nagios in my own website In-Reply-To: References: <200809050212440933745@gmail.com> Message-ID: <4b008f7d0809050105q453b2e89m4246c71ba1b0027f@mail.gmail.com> ndoutil is buggy, wouldn't recommend it On Thu, Sep 4, 2008 at 6:18 PM, Paul Weaver wrote: > The host/service status is stored in /usr/local/nagios/var/status.dat (or > wherever you nagios install is). This is a plain text file with the status > of every host and service in it. > > You can read it yourself however you want, but some languages may have a > module for reading the file -- perl has a "Nagios::StatusLog" module in > cpan, or often via your distribution (With ubuntu "apt-get install > libnagios-object-perl") > > You could also, I believe, look at "NDO", which sends nagios data out to a > mysql database. > *--* > > *"09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0"** > **** > Paul Weaver ** > *Systems Development Engineer > News Production Facilities,***** BBC News* > ***Work: * 020 822***5 8109 > **Mobile: * 07736 481006*** > Room 1244, BBC Television Centre,* > Wood Lane, London, W12 7RJ > > ** > > -----Original Message----- > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *localyee > *Sent:* 04 September 2008 19:13 > *To:* nagios-users > *Subject:* [Nagios-users] using nagios in my own website > > hi,i'm using the nagios to monitor the service,and i just want to get the > data of nagios module,and don't want to using the website of nagios,how can > i display the data in my own website, how can i get the data with the > interface of nagios,can any one give some suggestion. > your kind help would be great appreciated. > > 2008-09-05 > ------------------------------ > localyee > > > http://www.bbc.co.uk > This e-mail (and any attachments) is confidential and may contain personal > views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance > on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 10:24:34 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 13:54:34 +0530 Subject: Problem to monitor remote server due to dynamic IP at local PC Message-ID: <48C0ECC2.2070901@infoservices.in> Dear list, I'm fade up to change the *allow_host* parameter of nrpe.cfg at the remote server. The problem is due to IP change at my local PC where nagios is running and monitoring the remote nrpe. Because of the IP change I have to modify the *allow_host* parameter of nrpe.cfg at the remote server every time. Is there any solution to overcome this ? MAC address based authentication rather than alow_host ? Please let me know if there is any way to bypass this. thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 10:24:59 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 13:54:59 +0530 Subject: can we have different check interval for different define service ? Message-ID: <48C0ECDB.5020108@infoservices.in> One more question has been knocking me since a few days. In the host template cfg file *normal_check_interval* define the duration of time after which the define service will be activated to check the local/remote system. So all the services follow the same interval defined by *normal_check_interval*. Is there any way to define an interval applied for a particular service only and not for all, so that different services have their own time interval according to the requirement of that service ? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at truthisfreedom.org.uk Fri Sep 5 10:33:34 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 5 Sep 2008 09:33:34 +0100 Subject: Problem to monitor remote server due to dynamic IP at local PC In-Reply-To: <48C0ECC2.2070901@infoservices.in> References: <48C0ECC2.2070901@infoservices.in> Message-ID: <20080905093334.51635281@tclmmw.in.tiger-computing.com> On Fri, 05 Sep 2008 13:54:34 +0530 "J. Bakshi" wrote: > I'm fade up to change the *allow_host* parameter of nrpe.cfg at the > remote server. > The problem is due to IP change at my local PC where nagios is running > and monitoring the remote nrpe. > Because of the IP change I have to modify the *allow_host* parameter > of nrpe.cfg at the remote server > every time. Is there any solution to overcome this ? MAC address based > authentication rather than > alow_host ? > Please let me know if there is any way to bypass this. > thanks Don't know if it's possible, but how about using a DNS entry instead of an IP Address? That way, provided your NRPE client can look up your DNS record, it shouldn't matter what the IP Address is. Failing that, write a short script to connect via ssh and run sed against the nrpe.cfg file to update the IP address and restart nrpe. HTH, M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 10:29:43 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 13:59:43 +0530 Subject: SSL Socket Shutdown Message-ID: <48C0EDF7.9020806@infoservices.in> Ok, I have managed to produce the log message during [CHECK_NRPE: Socket timeout after 10 seconds] in my local nagios PC. What I have done; I'hv again minimized the time to 10 sec with -t 10 and I got the [CHECK_NRPE: Socket timeout after 10 seconds] In the remote server running nrpe ; I checked the log and found nrpe[24783]: Could not read request from client, bailing out... nrpe[24783]: INFO: SSL Socket Shutdown What does it mean ? Do I need any tweaking in the remote server ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Fri Sep 5 11:42:16 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 5 Sep 2008 09:42:16 +0000 Subject: can we have different check interval for different define service ? In-Reply-To: <48C0ECDB.5020108@infoservices.in> References: <48C0ECDB.5020108@infoservices.in> Message-ID: <200809050942.16326.assaf.flatto@ssp.uk.com> when using inheritance from templates , there is a partial inheritance, and any definition you put in the service declaration overrides the template definitions . So if you want to define for a specific check interval for a service - just add that definition in the service declaration and that will override the "default" written in the template . Assaf On Friday 05 September 2008 08:24:59 J. Bakshi wrote: > One more question has been knocking me since a few days. > > In the host template cfg file *normal_check_interval* define the > duration of time after which the > define service will be activated to check the local/remote system. So > all the services follow the > same interval defined by *normal_check_interval*. Is there any way to > define an interval applied for a > particular service only and not for all, so that different services have > their own time interval according to > the requirement of that service ? IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 10:48:52 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 14:18:52 +0530 Subject: can we have different check interval for different define service ? In-Reply-To: <200809050942.16326.assaf.flatto@ssp.uk.com> References: <48C0ECDB.5020108@infoservices.in> <200809050942.16326.assaf.flatto@ssp.uk.com> Message-ID: <48C0F274.3040802@infoservices.in> Assaf Flatto wrote: > when using inheritance from templates , there is a partial inheritance, and any definition you put > in the service declaration overrides the template definitions . > So if you want to define for a specific check interval for a service - just add that definition in > the service declaration and that will override the "default" written in the template . > > Assaf > Great, can I simply add the *normal_check_interval* in the service declaration or any specific keywords for this purpose ? thanks > On Friday 05 September 2008 08:24:59 J. Bakshi wrote: > >> One more question has been knocking me since a few days. >> >> In the host template cfg file *normal_check_interval* define the >> duration of time after which the >> define service will be activated to check the local/remote system. So >> all the services follow the >> same interval defined by *normal_check_interval*. Is there any way to >> define an interval applied for a >> particular service only and not for all, so that different services have >> their own time interval according to >> the requirement of that service ? >> > > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Sep 5 10:55:27 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Sep 2008 10:55:27 +0200 Subject: Problem to monitor remote server due to dynamic IP at local PC In-Reply-To: <48C0ECC2.2070901@infoservices.in> References: <48C0ECC2.2070901@infoservices.in> Message-ID: <48C0F3FF.1010301@op5.se> J. Bakshi wrote: > Dear list, > > I'm fade up to change the *allow_host* parameter of nrpe.cfg at the > remote server. > The problem is due to IP change at my local PC where nagios is running > and monitoring the remote nrpe. > Because of the IP change I have to modify the *allow_host* parameter of > nrpe.cfg at the remote server > every time. Is there any solution to overcome this ? Patch nrpe to allow dns name lookups in the "allowed_hosts" field and use that instead of ip addresses. > MAC address based > authentication rather than > alow_host ? MAC addresses are only available in the ARP protocol, so no luck there I'm afraid. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Fri Sep 5 11:53:11 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 5 Sep 2008 09:53:11 +0000 Subject: Is there any way to know who are logged in ? In-Reply-To: <25251aec0809050008g724c8f46t1802eaf870279b0c@mail.gmail.com> References: <48C0D767.9010500@infoservices.in> Message-ID: <200809050953.11912.assaf.flatto@ssp.uk.com> you can use the check_with_ssh to execute the `who ` or `w` command - those will show you who is logged on to the machine at the time . Assaf On Friday 05 September 2008 07:08:12 asam30 at gmail.com wrote: > Good question! I have the same question in my mind and need to know the > answer for it. > > Thanks > -Shankar > > On Fri, Sep 5, 2008 at 12:23 PM, J. Bakshi wrote: > > Good morning, > > > > Hope all are well. > > I am using check_users to see the total logged in users. But I am very > > eager to know any possibility to check the > > logged in users too [ who are presently logged in ]. > > Any way to do that ? > > many thanks > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Fri Sep 5 11:55:14 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 5 Sep 2008 09:55:14 +0000 Subject: can we have different check interval for different define service ? In-Reply-To: <48C0F274.3040802@infoservices.in> References: <48C0ECDB.5020108@infoservices.in> Message-ID: <200809050955.14735.assaf.flatto@ssp.uk.com> First - please answer to the list directly , and not to me off list. second - you just copy the normal_check_interval directive and place it in the service declaration and define the interval you want for the service . Assaf On Friday 05 September 2008 08:48:52 J. Bakshi wrote: > Assaf Flatto wrote: > > when using inheritance from templates , there is a partial inheritance, > > and any definition you put in the service declaration overrides the > > template definitions . > > So if you want to define for a specific check interval for a service - > > just add that definition in the service declaration and that will > > override the "default" written in the template . > > > > Assaf > > Great, can I simply add the *normal_check_interval* in the service > declaration or any specific > keywords for this purpose ? > > thanks > IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 10:55:42 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 14:25:42 +0530 Subject: Problem to monitor remote server due to dynamic IP at local PC In-Reply-To: <48C0F3FF.1010301@op5.se> References: <48C0ECC2.2070901@infoservices.in> <48C0F3FF.1010301@op5.se> Message-ID: <48C0F40E.3040308@infoservices.in> Andreas Ericsson wrote: > J. Bakshi wrote: >> Dear list, >> >> I'm fade up to change the *allow_host* parameter of nrpe.cfg at the >> remote server. >> The problem is due to IP change at my local PC where nagios is running >> and monitoring the remote nrpe. >> Because of the IP change I have to modify the *allow_host* parameter of >> nrpe.cfg at the remote server >> every time. Is there any solution to overcome this ? > > Patch nrpe to allow dns name lookups in the "allowed_hosts" field and use > that instead of ip addresses. Thanks a lot Andreas for your suggestion. But my local PC has no domain. Thanks a lot for the solution instead > >> MAC address based >> authentication rather than >> alow_host ? > > MAC addresses are only available in the ARP protocol, so no luck there > I'm afraid. > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 10:58:02 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 14:28:02 +0530 Subject: can we have different check interval for different define service ? In-Reply-To: <200809050955.14735.assaf.flatto@ssp.uk.com> References: <48C0ECDB.5020108@infoservices.in> <200809050955.14735.assaf.flatto@ssp.uk.com> Message-ID: <48C0F49A.6090404@infoservices.in> Assaf Flatto wrote: > First - please answer to the list directly , and not to me off list. > Sorry, but I have no intention to skip the list and send you direct mail. It was my mistake. I'm really sorry > second - you just copy the normal_check_interval directive and place it in the service declaration > and define the interval you want for the service . > Many many thanks for the clue have a great time > > Assaf > > > On Friday 05 September 2008 08:48:52 J. Bakshi wrote: > >> Assaf Flatto wrote: >> >>> when using inheritance from templates , there is a partial inheritance, >>> and any definition you put in the service declaration overrides the >>> template definitions . >>> So if you want to define for a specific check interval for a service - >>> just add that definition in the service declaration and that will >>> override the "default" written in the template . >>> >>> Assaf >>> >> Great, can I simply add the *normal_check_interval* in the service >> declaration or any specific >> keywords for this purpose ? >> >> thanks >> >> > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Fri Sep 5 11:04:01 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 05 Sep 2008 11:04:01 +0200 Subject: Problem to monitor remote server due to dynamic IP at local PC In-Reply-To: <48C0ECC2.2070901@infoservices.in> References: <48C0ECC2.2070901@infoservices.in> Message-ID: <48C0F601.1030603@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J. Bakshi schrieb: > Dear list, > > I'm fade up to change the *allow_host* parameter of nrpe.cfg at the > remote server. > The problem is due to IP change at my local PC where nagios is running > and monitoring the remote nrpe. > Because of the IP change I have to modify the *allow_host* parameter of > nrpe.cfg at the remote server > every time. Is there any solution to overcome this ? I could think of different possibilities. 1.) Try to get a static ip, and bind it to you NIC. You can bind serveral IPs to one NIC, if you really need an ever-changing IP. 2.) Run nagios on another/virtual machine with fixed ip. (A server, maybe.) 3.) Use check_by_ssh instead of nrpe 4.) Allow the whole DHCP-subnet in the allow_host parameter (potentially not so secure anymore). Regards, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwPYB+qVaNRZYOakRAk10AKC6GCh1KiOsESfs7aNW3Ksu4S/udACfWBet AX0ufIxX0+kXP0TA4r2NoDg= =w2Nm -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 11:06:59 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 14:36:59 +0530 Subject: Is there any way to know who are logged in ? In-Reply-To: <200809050953.11912.assaf.flatto@ssp.uk.com> References: <48C0D767.9010500@infoservices.in> <200809050953.11912.assaf.flatto@ssp.uk.com> Message-ID: <48C0F6B3.5050208@infoservices.in> Assaf Flatto wrote: > you can use the check_with_ssh to execute the `who ` or `w` command - those will show you who is > logged on to the machine at the time . > > Assaf > Hi Assaf, Great. yes that will also work. Thanks for the clue. I'll do it. But still I would be good if nrpe could do that. anyways thanks for the practical solution. have a nice time > > On Friday 05 September 2008 07:08:12 asam30 at gmail.com wrote: > >> Good question! I have the same question in my mind and need to know the >> answer for it. >> >> Thanks >> -Shankar >> >> On Fri, Sep 5, 2008 at 12:23 PM, J. Bakshi wrote: >> >>> Good morning, >>> >>> Hope all are well. >>> I am using check_users to see the total logged in users. But I am very >>> eager to know any possibility to check the >>> logged in users too [ who are presently logged in ]. >>> Any way to do that ? >>> many thanks >>> >>> -- >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Joydeep Bakshi, Linux System Admin >>> Kolkatainfoservices Pvt Ltd, >>> 23A Royd Street, Kolkata 700016, India >>> Work Phone 91 033 40014784 >>> http://infoservices.in/ >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> > > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rupertt at gmail.com Fri Sep 5 11:19:49 2008 From: rupertt at gmail.com (Heiko) Date: Fri, 5 Sep 2008 11:19:49 +0200 Subject: how to monitor crond service In-Reply-To: <3FDCE9918EDF88488C30BDF0F787236A1BE59D7C@SME1019.dom1.e-ssi.net> References: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> <3FDCE9918EDF88488C30BDF0F787236A1BE59D7C@SME1019.dom1.e-ssi.net> Message-ID: <537dcd6b0809050219q79ff97f9r78cbe9a1c4bcd01f@mail.gmail.com> On Fri, Sep 5, 2008 at 9:38 AM, Voigt, Thomas wrote: > Hi all, > > Shankar Asam wrote: >> I've few of HP UX and Linux boxes that were monitored by Nagios. for the >> past few days, I've observed that cron service on HP UX keeps shutting down >> and I need to manually restart cron service. Is there any way through >> nagios we can monitor cron service on HP UX or Linux boxes so I can login >> before no one compliance and restart the service? > You may install Net-SNMP (former UCD-SNMP) and put a line like "proc cron" > in /etc/snmpd.conf. > > Create a checkcommand "check_netsnmp_proc" in Nagios which executes > "$USER1$/check_netsnmp -H $HOSTADDRESS$ -C $ARG1$ -o proc". > Then create a service for this host in Nagios, which checks with the above > checkcommand all the running processes on this host. > Hello, i was just testing this, can it be that we have to define the "cron" somehow? A test gives me the following: ./check_snmp -H 172.19.21.151 -P 2c -C public -o proc SNMP OK - No Such Object available on this agent at this OID | HOST-RESOURCES-MIB::hrProcessorTable=No Such Object available on this agent at this OID I added "proc cron" into the snmp.conf and restartet the daemon. Am I missing soemthing'? greetings Rupertt > If you like you can put some more proc... lines into snmpd.conf and check > for more than one process. > > > -- > Greetings from Weimar / Germany > > Thomas Voigt > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 11:23:03 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 09:23:03 +0000 Subject: Nagvis alternatives In-Reply-To: <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> Message-ID: <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> Apart from nexsm, are there others? Lex On Thu, Sep 4, 2008 at 7:58 AM, Alex Dehaini wrote: > thanks mate, good overview. I have had the same issues with nagvis, it > crashing every now and then; ndo2db issues. I will give nexsm a try. Please > be expecting emails from me about nexsm, lol. > > thanks again > > Lex > > > On Wed, Sep 3, 2008 at 11:45 PM, Israel Brewster < > israel at frontierflying.com> wrote: > >> On Sep 3, 2008, at 1:25 AM, Alex Dehaini wrote: >> >> Have you used it in production environment before. What are the >> disadvantages and advantages over nagvis? >> >> >> Yeah, we were running nexsm on our network of about 300 devices - not >> huge, but not tiny. The main advantage that I found was ease of >> configuration. With nexsm, it starts with the map fully populated with all >> network devices and links, and you can simply drag the devices around to >> where you want them. With nagvis, it starts off with an empty map, and you >> have to manually place every device AND every link. If you are just trying >> to populate a server room or something, this is fine, and probably >> even easer than the nexsm approach (where you would have to tell it to hide >> all the unwanted hosts), but when you are trying to map 300 or so devices, >> plus links, it quickly becomes prohibitively time consuming. And while you >> can reposition devices in nagvis by dragging (although I have had no end of >> trouble getting that to work), they aren't attached to their links, so you >> have to manually reposition BOTH the device and any links to/from the >> device. This isn't an issue with nexsm. >> >> I also found the display in nexsm to be easier to use- you can easily zoom >> in and out to see more or less of the map (if you can do this in nagvis, I >> haven't discovered how), and the map can be as large as you want- nagvis >> (from what I can tell) is limited to the size of the background image you >> choose. Although I do prefer the icon sets with nagvis over nexsm- nexsm >> uses the image you set in the nagios config. >> >> Finally, I prefer nexsm over nagvis for performance issues, >> although admittedly I suspect this is due to mysql, not nagvis itself. On >> the system I am using, I have found that when nagios is dumping stuff to the >> database, mysql uses pretty much all available processing power, and nagios >> hangs waiting for it to complete. Nexsm just reads the nagios logs directly, >> and while it is java, which uses a fair amount of processor, it's not as bad >> as mysql, at least on my OS. Also, when running nagvis, nagios has >> a tendency to stop updating completely every day or two, and can't be >> restarted until I kill the ndo2db daemon. I never had issues like that with >> nexsm- probably because it was just passively reading the log files, rather >> than trying to use an active event broker in nagios. Nexsm also just "feels" >> simpler to me- nagvis consists of an event broker module, a ndo2db daemon, >> the mysql server (although that might already be running somewhere for >> something else) and the web front end. nexsm is "just" a single java applet. >> >> Keep in mind though that my opinions may be at least partially based on >> incomplete or incorrect knowledge of nagvis. While I used nexsm extensively >> until we moved to nagios 3, I have never actually managed to get nagvis >> running acceptably. The three separate occasions I tried it have all been >> non-starters. The last time I got it running for a couple of days, but >> between the above mentioned performance issues, and never really being able >> to get the maps configured the way I wanted, we quickly took it offline. >> Also it is entirely possible that my desired usage (as a full-network >> overview) is better suited for nexsm than nagvis, and a different usage >> might work better with nagvis. But so far, for us, nagvis has proven to not >> be sutable. >> >> ----------------------------------------------- >> Israel Brewster >> Computer Support Technician >> Frontier Flying Service Inc. >> 5245 Airport Industrial Rd >> Fairbanks, AK 99709 >> (907) 450-7250 x293 >> ----------------------------------------------- >> >> >> >> Lex >> >> On Tue, Sep 2, 2008 at 11:20 PM, Israel Brewster < >> israel at frontierflying.com> wrote: >> >>> On Sep 2, 2008, at 8:34 AM, Alex Dehaini wrote: >>> >>> Hi Guys, >>> >>> Are there other projects like nagvis? >>> >>> >>> If you are still running nagios 2, nexsm ( http://nexsm.sf.net ) is >>> an excellent option, one that I highly preferred over nagvis for a number of >>> reasons. Doesn't work with nagios 3, however. I Don't know how hard it would >>> be to fix (I suspect it is just a log parsing issue, but I don't know), but >>> it is written in java, which I don't know, and the developer hasn't had time >>> to work on it lately. Oh well. >>> >>> ----------------------------------------------- >>> Israel Brewster >>> Computer Support Technician >>> Frontier Flying Service Inc. >>> 5245 Airport Industrial Rd >>> Fairbanks, AK 99709 >>> (907) 450-7250 x293 >>> ----------------------------------------------- >>> >>> >>> >>> -- >>> Alex Dehaini >>> Developer >>> Site - www.alexdehaini.com >>> Email - alexdehaini at gmail.com >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> >>> >>> >> >> >> -- >> Alex Dehaini >> Developer >> Site - www.alexdehaini.com >> Email - alexdehaini at gmail.com >> >> >> > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 11:19:14 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 14:49:14 +0530 Subject: Is there any way to know who are logged in ? In-Reply-To: <200809050953.11912.assaf.flatto@ssp.uk.com> References: <48C0D767.9010500@infoservices.in> <200809050953.11912.assaf.flatto@ssp.uk.com> Message-ID: <48C0F992.3070509@infoservices.in> Assaf Flatto wrote: > you can use the check_with_ssh to execute the `who ` or `w` command - those will show you who is > logged on to the machine at the time . > > Assaf > Hi Assaf, Great. yes that will also work. Thanks for the clue. I'll do it. But still I would be good if nrpe could do that. anyways thanks for the practical solution. have a nice time > > On Friday 05 September 2008 07:08:12 asam30 at gmail.com wrote: > >> Good question! I have the same question in my mind and need to know the >> answer for it. >> >> Thanks >> -Shankar >> >> On Fri, Sep 5, 2008 at 12:23 PM, J. Bakshi wrote: >> >>> Good morning, >>> >>> Hope all are well. >>> I am using check_users to see the total logged in users. But I am very >>> eager to know any possibility to check the >>> logged in users too [ who are presently logged in ]. >>> Any way to do that ? >>> many thanks >>> >>> -- >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Joydeep Bakshi, Linux System Admin >>> Kolkatainfoservices Pvt Ltd, >>> 23A Royd Street, Kolkata 700016, India >>> Work Phone 91 033 40014784 >>> http://infoservices.in/ >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> > > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ojan at gfi.fr Fri Sep 5 11:29:11 2008 From: ojan at gfi.fr (Olivier JAN) Date: Fri, 05 Sep 2008 11:29:11 +0200 Subject: Is there any way to know who are logged in ? In-Reply-To: <48C0F992.3070509@infoservices.in> References: <48C0D767.9010500@infoservices.in> <200809050953.11912.assaf.flatto@ssp.uk.com> <48C0F992.3070509@infoservices.in> Message-ID: <20080905112911.pypkhki9s04s08o4@intra.expertise-online.net> Hi, The command "last" is also pretty cool to know who's connected at a time but also who was connected. Olivier JAN "J. Bakshi" a ?crit : > Assaf Flatto wrote: >> you can use the check_with_ssh to execute the `who ` or `w` command >> - those will show you who is >> logged on to the machine at the time . >> >> Assaf >> > > Hi Assaf, > Great. > yes that will also work. Thanks for the clue. I'll do it. But still I > would be good if nrpe could do that. > anyways thanks for the practical solution. > have a nice time >> >> On Friday 05 September 2008 07:08:12 asam30 at gmail.com wrote: >> >>> Good question! I have the same question in my mind and need to know the >>> answer for it. >>> >>> Thanks >>> -Shankar >>> >>> On Fri, Sep 5, 2008 at 12:23 PM, J. Bakshi wrote: >>> >>>> Good morning, >>>> >>>> Hope all are well. >>>> I am using check_users to see the total logged in users. But I am very >>>> eager to know any possibility to check the >>>> logged in users too [ who are presently logged in ]. >>>> Any way to do that ? >>>> many thanks >>>> >>>> -- >>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>> Joydeep Bakshi, Linux System Admin >>>> Kolkatainfoservices Pvt Ltd, >>>> 23A Royd Street, Kolkata 700016, India >>>> Work Phone 91 033 40014784 >>>> http://infoservices.in/ >>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win great >>>> prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at 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 >>>> >> >> >> >> >> >> >> IMPORTANT . this email and the information in it may be >> confidential, legally >> privileged and/or protected by law. It is intended solely for the use of the >> person to whom it is addressed. If you are not the intended >> recipient, please >> notify the sender immediately and do not disclose the contents to any other >> person, use it for any purpose, or store or copy the information in >> any medium. >> Please also delete all copies of this email and any attachments from your >> system. >> >> We cannot guarantee the security or confidentiality of email >> communications. We >> do not accept any liability for losses or damages that you may suffer as a >> result of your receipt of this email including but not limited to computer >> service or system failure, access delays or interruption, data >> non-delivery or >> mis-delivery, computer viruses or other harmful components. >> >> Copyright in this email and any attachments belong to Select >> Service Partner UK >> Limited. Should you communicate with anyone at Select Service >> Partner UK Limited by >> email, you consent to us monitoring and reading any such correspondence. >> >> Nothing in this email shall be taken or read as suggesting, proposing or >> relating to any agreement concerted practice or other practice that could >> infringe UK or EC competition legislation. >> >> Select Service Partner UK Limited is a company registered in >> England and Wales >> (company number 05687183) whose registered office is at 1 The >> Heights, Brooklands, Weybridge. Surrey. KT13 0NY >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> >> > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at truthisfreedom.org.uk Fri Sep 5 11:48:35 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 5 Sep 2008 10:48:35 +0100 Subject: Nagvis alternatives In-Reply-To: <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> Message-ID: <20080905104835.75526314@tclmmw.in.tiger-computing.com> On Fri, 5 Sep 2008 09:23:03 +0000 "Alex Dehaini" wrote: > Apart from nexsm, are there others? Nagios Looking Glass? It's read only and it doesn't do maps but it does give a "pretty" interface to Nagios. What are you trying to achieve? M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 11:54:29 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 09:54:29 +0000 Subject: Nagvis alternatives In-Reply-To: <20080905104835.75526314@tclmmw.in.tiger-computing.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> <20080905104835.75526314@tclmmw.in.tiger-computing.com> Message-ID: <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> Trying to replace nagvis. Wish I wouldn't but ndoutils is buggy and nagvis can't run it ndo is messing up. lex On Fri, Sep 5, 2008 at 9:48 AM, Matthew Macdonald-Wallace < lists at truthisfreedom.org.uk> wrote: > On Fri, 5 Sep 2008 09:23:03 +0000 > "Alex Dehaini" wrote: > > > Apart from nexsm, are there others? > > Nagios Looking Glass? It's read only and it doesn't do maps but it > does give a "pretty" interface to Nagios. > > What are you trying to achieve? > > M. > -- > Matthew Macdonald-Wallace > matthew at truthisfreedom.org.uk > http://www.truthisfreedom.org.uk > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Fri Sep 5 12:52:05 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 5 Sep 2008 10:52:05 +0000 Subject: Is there any way to know who are logged in ? In-Reply-To: <20080905112911.pypkhki9s04s08o4@intra.expertise-online.net> References: <48C0D767.9010500@infoservices.in> Message-ID: <200809051052.05914.assaf.flatto@ssp.uk.com> Also you can use the "show users" check http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1415.html;d=1 Assaf On Friday 05 September 2008 09:29:11 Olivier JAN wrote: > Hi, > > The command "last" is also pretty cool to know who's connected at a > time but also who was connected. > > Olivier JAN > > "J. Bakshi" a ?crit : > > Assaf Flatto wrote: > >> you can use the check_with_ssh to execute the `who ` or `w` command > >> - those will show you who is > >> logged on to the machine at the time . > >> > >> Assaf > > > > Hi Assaf, > > Great. > > yes that will also work. Thanks for the clue. I'll do it. But still I > > would be good if nrpe could do that. > > anyways thanks for the practical solution. > > have a nice time > > > >> On Friday 05 September 2008 07:08:12 asam30 at gmail.com wrote: > >>> Good question! I have the same question in my mind and need to know the > >>> answer for it. > >>> > >>> Thanks > >>> -Shankar > >>> > >>> On Fri, Sep 5, 2008 at 12:23 PM, J. Bakshi wrote: > >>>> Good morning, > >>>> > >>>> Hope all are well. > >>>> I am using check_users to see the total logged in users. But I am very > >>>> eager to know any possibility to check the > >>>> logged in users too [ who are presently logged in ]. > >>>> Any way to do that ? > >>>> many thanks > >>>> > >>>> -- > >>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >>>> Joydeep Bakshi, Linux System Admin > >>>> Kolkatainfoservices Pvt Ltd, > >>>> 23A Royd Street, Kolkata 700016, India > >>>> Work Phone 91 033 40014784 > >>>> http://infoservices.in/ > >>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >>>> > >>>> > >>>> ---------------------------------------------------------------------- > >>>>--- This SF.Net email is sponsored by the Moblin Your Move Developer's > >>>> challenge > >>>> Build the coolest Linux based applications with Moblin SDK & win great > >>>> prizes > >>>> Grand prize is a trip for two to an Open Source event anywhere in the > >>>> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >>>> _______________________________________________ > >>>> Nagios-users mailing list > >>>> Nagios-users at 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 > >> > >> IMPORTANT . this email and the information in it may be > >> confidential, legally > >> privileged and/or protected by law. It is intended solely for the use of > >> the person to whom it is addressed. If you are not the intended > >> recipient, please > >> notify the sender immediately and do not disclose the contents to any > >> other person, use it for any purpose, or store or copy the information > >> in any medium. > >> Please also delete all copies of this email and any attachments from > >> your system. > >> > >> We cannot guarantee the security or confidentiality of email > >> communications. We > >> do not accept any liability for losses or damages that you may suffer as > >> a result of your receipt of this email including but not limited to > >> computer service or system failure, access delays or interruption, data > >> non-delivery or > >> mis-delivery, computer viruses or other harmful components. > >> > >> Copyright in this email and any attachments belong to Select > >> Service Partner UK > >> Limited. Should you communicate with anyone at Select Service > >> Partner UK Limited by > >> email, you consent to us monitoring and reading any such correspondence. > >> > >> Nothing in this email shall be taken or read as suggesting, proposing or > >> relating to any agreement concerted practice or other practice that > >> could infringe UK or EC competition legislation. > >> > >> Select Service Partner UK Limited is a company registered in > >> England and Wales > >> (company number 05687183) whose registered office is at 1 The > >> Heights, Brooklands, Weybridge. Surrey. KT13 0NY > >> > >> > >> > >> ------------------------------------------------------------------------ > >>- This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge Build the coolest Linux based applications with Moblin SDK & > >> win great prizes > >> Grand prize is a trip for two to an Open Source event anywhere in the > >> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at 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 > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joydeep Bakshi, Linux System Admin > > Kolkatainfoservices Pvt Ltd, > > 23A Royd Street, Kolkata 700016, India > > Work Phone 91 033 40014784 > > http://infoservices.in/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > > win great prizes Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at truthisfreedom.org.uk Fri Sep 5 12:13:10 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 5 Sep 2008 11:13:10 +0100 Subject: Nagvis alternatives In-Reply-To: <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> <20080905104835.75526314@tclmmw.in.tiger-computing.com> <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> Message-ID: <20080905111310.0c2ad3c6@tclmmw.in.tiger-computing.com> On Fri, 5 Sep 2008 09:54:29 +0000 "Alex Dehaini" wrote: > Trying to replace nagvis. Wish I wouldn't but ndoutils is buggy and > nagvis can't run it ndo is messing up. OK, so what parts of Nagvis do you specifically require? Is it the Mapping functionality, the ability to layout your hosts in a given manner or do you just need a version of Nagvis that is stable? I guess I'm trying to work out what functionality you're after so I can make a more specific suggestion for a solution. I don't know Nagvis very well, however I've played with a few other front-ends so if I know what you want, I know what to recommend! Kind regards, M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 12:18:19 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 10:18:19 +0000 Subject: Nagvis alternatives In-Reply-To: <20080905111310.0c2ad3c6@tclmmw.in.tiger-computing.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> <20080905104835.75526314@tclmmw.in.tiger-computing.com> <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> <20080905111310.0c2ad3c6@tclmmw.in.tiger-computing.com> Message-ID: <4b008f7d0809050318m4cce49d6pc1b7226247bca10c@mail.gmail.com> Basically the mapping feature - nagios does the rest, I am happy with nagios but nagios maps arecrap. Nagvis allows you to display hosts and services graphically. Lex On Fri, Sep 5, 2008 at 10:13 AM, Matthew Macdonald-Wallace < lists at truthisfreedom.org.uk> wrote: > On Fri, 5 Sep 2008 09:54:29 +0000 > "Alex Dehaini" wrote: > > > Trying to replace nagvis. Wish I wouldn't but ndoutils is buggy and > > nagvis can't run it ndo is messing up. > > OK, so what parts of Nagvis do you specifically require? Is it the > Mapping functionality, the ability to layout your hosts in a given > manner or do you just need a version of Nagvis that is stable? > > I guess I'm trying to work out what functionality you're after so I can > make a more specific suggestion for a solution. > > I don't know Nagvis very well, however I've played with a few other > front-ends so if I know what you want, I know what to recommend! > > Kind regards, > > M. > -- > Matthew Macdonald-Wallace > matthew at truthisfreedom.org.uk > http://www.truthisfreedom.org.uk > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at truthisfreedom.org.uk Fri Sep 5 12:22:09 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 5 Sep 2008 11:22:09 +0100 Subject: Nagvis alternatives In-Reply-To: <4b008f7d0809050318m4cce49d6pc1b7226247bca10c@mail.gmail.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <55AFA0AD-9903-4DD8-A897-97E5979FB8DC@frontierflying.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> <20080905104835.75526314@tclmmw.in.tiger-computing.com> <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> <20080905111310.0c2ad3c6@tclmmw.in.tiger-computing.com> <4b008f7d0809050318m4cce49d6pc1b7226247bca10c@mail.gmail.com> Message-ID: <20080905112209.5e83b5c4@tclmmw.in.tiger-computing.com> On Fri, 5 Sep 2008 10:18:19 +0000 "Alex Dehaini" wrote: > Basically the mapping feature - nagios does the rest, I am happy with > nagios but nagios maps arecrap. Nagvis allows you to display hosts > and services graphically. OK, cool. In that case, I believe that your best bet at the moment is Nexsm as previously discussed, however if I find anything else, I'll post it here! Cheers, M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 12:23:49 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 10:23:49 +0000 Subject: Nagvis alternatives In-Reply-To: <20080905112209.5e83b5c4@tclmmw.in.tiger-computing.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> <20080905104835.75526314@tclmmw.in.tiger-computing.com> <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> <20080905111310.0c2ad3c6@tclmmw.in.tiger-computing.com> <4b008f7d0809050318m4cce49d6pc1b7226247bca10c@mail.gmail.com> <20080905112209.5e83b5c4@tclmmw.in.tiger-computing.com> Message-ID: <4b008f7d0809050323q29bcbe44w250c5c6c55a8424a@mail.gmail.com> Thanks matthew, Does nexsm display the change on the map when a device goes down? Are there any screen shots I can view? Lex On Fri, Sep 5, 2008 at 10:22 AM, Matthew Macdonald-Wallace < lists at truthisfreedom.org.uk> wrote: > On Fri, 5 Sep 2008 10:18:19 +0000 > "Alex Dehaini" wrote: > > > Basically the mapping feature - nagios does the rest, I am happy with > > nagios but nagios maps arecrap. Nagvis allows you to display hosts > > and services graphically. > > OK, cool. > > In that case, I believe that your best bet at the moment is Nexsm as > previously discussed, however if I find anything else, I'll post it > here! > > Cheers, > > M. > -- > Matthew Macdonald-Wallace > matthew at truthisfreedom.org.uk > http://www.truthisfreedom.org.uk > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 12:51:19 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 16:21:19 +0530 Subject: Problem to monitor remote server due to dynamic IP at local PC In-Reply-To: <200809051248.45987.news@cm-d.de> References: <48C0ECC2.2070901@infoservices.in> <48C0F3FF.1010301@op5.se> <48C0F40E.3040308@infoservices.in> <200809051248.45987.news@cm-d.de> Message-ID: <48C10F27.1090802@infoservices.in> Christian Dunkel wrote: > On Friday 05 September 2008 10:55, J. Bakshi wrote: > >> Andreas Ericsson wrote: >> >>> Patch nrpe to allow dns name lookups in the "allowed_hosts" field and use >>> that instead of ip addresses. >>> >> Thanks a lot Andreas for your suggestion. >> But my local PC has no domain. >> Thanks a lot for the solution instead >> > > Hi List, hi Joydeep, > > maybe something like this might help you, as i'm in need to access my > homeserver from "outside" and also don't want to rely on dyn-dns services i > did somthing like this: > 1) setup user on homeserver and server on the net > 2) on the net this user has a little script in his ~/bin/ that greps the > remote ip from the env var: > CURRENT_IP=$(env|grep "SSH_CLIENT"|cut -d"=" -f2|cut -d" " -f1); > 3) on the homeserver setup a cronjob for that user that connects to the > other server and runs that script > 4) here comes the untested part;-) > setup this user in sudoers so he'd be able to restart nrpe > 5) use a script like this: > #!/bin/bash > OLD_IP=$(grep "^allowed_hosts" /usr/local/nagios/etc/nrpe.cfg| cut -d"," -f2); > CURRENT_IP=$(env|grep "SSH_CLIENT"|cut -d"=" -f2|cut -d" " -f1); > if [ $OLD_IP = $CURRENT_IP ]; > then exit 0; > else sed -i 's/${OLD_IP}/${CURRENT_IP}/g' /usr/local/nagios/etc/nrpe.cfg; > /etc/init.d/nagios-nrpe-server reload; > exit 0; > fi; > > regards, > Christian > > Hi Christian, I honor your script power. Yes shell script rescue us from very difficult situation. Here my scenario is just opposite. My remote server has static IP but my local nagios PC has dynamic IP. So I need to tweak the script to fit to my requirement. Your script will also help others who have this same problem. Have a great time with best regards, -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Fri Sep 5 13:27:06 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 05 Sep 2008 07:27:06 -0400 Subject: [Nagiosplug-help] how to monitor crond service In-Reply-To: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> References: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> Message-ID: <48C1178A.1020301@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/09/08 02:52 AM, asam30 at gmail.com wrote: > Hi, > > I've few of HP UX and Linux boxes that were monitored by Nagios. for the > past few days, I've observed that cron service on HP UX keeps shutting > down and I need to manually restart cron service. Is there any way > through nagios we can monitor cron service on HP UX or Linux boxes so I > can login before no one compliance and restart the service? Please do not cross-post to multiple mailing lists. if you have NSCA running on the Nagios server and send_nsca on the client (and properly configured), do the following: 1. Create a passive service on Nagios (ex.: "Cron") 2. Set the freshness threshold for that service (ex.: 350 seconds), and use check_dummy as the active check (returning WARNING or CRITICAL depending on your preferences) 3. On the server, add a cron entry (according that the threshold in 3 is adjusted for 5-minute intervals): > */5 * * * * nagios echo -e "\tCron\t0\tOK: Cron is running" | /path/to/send_nsca -H -c NB.: I don't know about HP-UX but some cron daemons do not support */5 so you have to put "0,5,10,15,20,etc..." instead. If you're editing a user crontab, remove the "nagios" argument (some cron do not support system crontabs at all so you must edit a user's crontab) Although if you're running important scripts/programs from crond, you could simply monitor the scripts/rograms either by modifying them where possible, or using a wrapper script to report status to send_nsca. This way you won't have to monitor the daemon itself. Oh, another way is to use check_procs, looking fro "crond", but if your daemon just locks the check won't fail. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwReK6dZ+Kt5BchYRAg9JAJ47IpfGEOyRkc54mXKeVpNGwvxQGgCfX/Du 1I4wPR5lQEi9NKNa5DZTk8w= =JAcQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Fri Sep 5 13:56:41 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 05 Sep 2008 17:26:41 +0530 Subject: Is there any way to know who are logged in ? In-Reply-To: <200809051052.05914.assaf.flatto@ssp.uk.com> References: <48C0D767.9010500@infoservices.in> <200809051052.05914.assaf.flatto@ssp.uk.com> Message-ID: <48C11E79.50800@infoservices.in> Assaf Flatto wrote: > Also you can use the "show users" check > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1415.html;d=1 > I'm using this script. It is very useful. Thanks > Assaf > On Friday 05 September 2008 09:29:11 Olivier JAN wrote: > >> Hi, >> >> The command "last" is also pretty cool to know who's connected at a >> time but also who was connected. >> >> Olivier JAN >> >> "J. Bakshi" a ?crit : >> >>> Assaf Flatto wrote: >>> >>>> you can use the check_with_ssh to execute the `who ` or `w` command >>>> - those will show you who is >>>> logged on to the machine at the time . >>>> >>>> Assaf >>>> >>> Hi Assaf, >>> Great. >>> yes that will also work. Thanks for the clue. I'll do it. But still I >>> would be good if nrpe could do that. >>> anyways thanks for the practical solution. >>> have a nice time >>> >>> >>>> On Friday 05 September 2008 07:08:12 asam30 at gmail.com wrote: >>>> >>>>> Good question! I have the same question in my mind and need to know the >>>>> answer for it. >>>>> >>>>> Thanks >>>>> -Shankar >>>>> >>>>> On Fri, Sep 5, 2008 at 12:23 PM, J. Bakshi wrote: >>>>> >>>>>> Good morning, >>>>>> >>>>>> Hope all are well. >>>>>> I am using check_users to see the total logged in users. But I am very >>>>>> eager to know any possibility to check the >>>>>> logged in users too [ who are presently logged in ]. >>>>>> Any way to do that ? >>>>>> many thanks >>>>>> >>>>>> -- >>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> Joydeep Bakshi, Linux System Admin >>>>>> Kolkatainfoservices Pvt Ltd, >>>>>> 23A Royd Street, Kolkata 700016, India >>>>>> Work Phone 91 033 40014784 >>>>>> http://infoservices.in/ >>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> >>>>>> >>>>>> ---------------------------------------------------------------------- >>>>>> --- This SF.Net email is sponsored by the Moblin Your Move Developer's >>>>>> challenge >>>>>> Build the coolest Linux based applications with Moblin SDK & win great >>>>>> prizes >>>>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>>>> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at 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 >>>>>> >>>> IMPORTANT . this email and the information in it may be >>>> confidential, legally >>>> privileged and/or protected by law. It is intended solely for the use of >>>> the person to whom it is addressed. If you are not the intended >>>> recipient, please >>>> notify the sender immediately and do not disclose the contents to any >>>> other person, use it for any purpose, or store or copy the information >>>> in any medium. >>>> Please also delete all copies of this email and any attachments from >>>> your system. >>>> >>>> We cannot guarantee the security or confidentiality of email >>>> communications. We >>>> do not accept any liability for losses or damages that you may suffer as >>>> a result of your receipt of this email including but not limited to >>>> computer service or system failure, access delays or interruption, data >>>> non-delivery or >>>> mis-delivery, computer viruses or other harmful components. >>>> >>>> Copyright in this email and any attachments belong to Select >>>> Service Partner UK >>>> Limited. Should you communicate with anyone at Select Service >>>> Partner UK Limited by >>>> email, you consent to us monitoring and reading any such correspondence. >>>> >>>> Nothing in this email shall be taken or read as suggesting, proposing or >>>> relating to any agreement concerted practice or other practice that >>>> could infringe UK or EC competition legislation. >>>> >>>> Select Service Partner UK Limited is a company registered in >>>> England and Wales >>>> (company number 05687183) whose registered office is at 1 The >>>> Heights, Brooklands, Weybridge. Surrey. KT13 0NY >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> - This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge Build the coolest Linux based applications with Moblin SDK & >>>> win great prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at 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 >>>> >>> -- >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Joydeep Bakshi, Linux System Admin >>> Kolkatainfoservices Pvt Ltd, >>> 23A Royd Street, Kolkata 700016, India >>> Work Phone 91 033 40014784 >>> http://infoservices.in/ >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge Build the coolest Linux based applications with Moblin SDK & >>> win great prizes Grand prize is a trip for two to an Open Source event >>> anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Sep 5 14:02:47 2008 From: marc at ena.com (Marc Powell) Date: Fri, 5 Sep 2008 07:02:47 -0500 Subject: can we have different check interval for different define service ? In-Reply-To: <48C0F274.3040802@infoservices.in> References: <48C0ECDB.5020108@infoservices.in> <200809050942.16326.assaf.flatto@ssp.uk.com> <48C0F274.3040802@infoservices.in> Message-ID: <815E0F00-15B5-475A-9D4A-864B62D492C9@ena.com> On Sep 5, 2008, at 3:48 AM, J. Bakshi wrote: > Assaf Flatto wrote: >> when using inheritance from templates , there is a partial >> inheritance, and any definition you put >> in the service declaration overrides the template definitions . > > Great, can I simply add the *normal_check_interval* in the service > declaration or any specific > keywords for this purpose ? This section of the documentation explains how it works -- http://nagios.sourceforge.net/docs/3_0/objectinheritance.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 14:08:51 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 12:08:51 +0000 Subject: Nagios reporting Message-ID: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> Hi Guys, Are there extra plugins or any open source or paid software that can generate nagios reports and display them in a friendly manner? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Sep 5 14:12:19 2008 From: marc at ena.com (Marc Powell) Date: Fri, 5 Sep 2008 07:12:19 -0500 Subject: Is there any way to know who are logged in ? In-Reply-To: <48C0F992.3070509@infoservices.in> References: <48C0D767.9010500@infoservices.in> <200809050953.11912.assaf.flatto@ssp.uk.com> <48C0F992.3070509@infoservices.in> Message-ID: On Sep 5, 2008, at 4:19 AM, J. Bakshi wrote: > Assaf Flatto wrote: >> you can use the check_with_ssh to execute the `who ` or `w` command >> - those will show you who is >> logged on to the machine at the time . >> >> Assaf >> > > Hi Assaf, > Great. > yes that will also work. Thanks for the clue. I'll do it. But still I > would be good if nrpe could do that. I haven't tested it but I expect that it should. According to the changelog, multi-line output has been supported in NRPE since May of last year. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Sep 5 14:20:01 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Sep 2008 14:20:01 +0200 Subject: Nagios reporting In-Reply-To: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> References: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> Message-ID: <48C123F1.7030502@op5.se> Alex Dehaini wrote: > Hi Guys, > > Are there extra plugins or any open source or paid software that can > generate nagios reports and display them in a friendly manner? > op5's reporting solution is released as opensource. It's currently being adapted to Nagios 3. It's got shitty documentation on how to get started, but provided you're willing to get your hands dirty, you should have no trouble setting it up. Code is available at http://www.op5.org, but only as git repositories. There are no snapshots at this time, but gitweb (the "projects" link) can generate one for you on the fly. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ian at griggle.net Fri Sep 5 14:33:39 2008 From: ian at griggle.net (Ian Orszaczki) Date: Fri, 5 Sep 2008 22:33:39 +1000 Subject: Nagios reporting In-Reply-To: <48C123F1.7030502@op5.se> References: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> <48C123F1.7030502@op5.se> Message-ID: <2bb4107c0809050533g459b7497of298e61b04c5593d@mail.gmail.com> Nagios Digger (http://www.vanheusden.com/nagiosdigger/) can provide some interesting analysis of nagios alerts with a level of interactivity. On Fri, Sep 5, 2008 at 10:20 PM, Andreas Ericsson wrote: > Alex Dehaini wrote: > > Hi Guys, > > > > Are there extra plugins or any open source or paid software that can > > generate nagios reports and display them in a friendly manner? > > > > op5's reporting solution is released as opensource. It's currently being > adapted to Nagios 3. It's got shitty documentation on how to get started, > but provided you're willing to get your hands dirty, you should have no > trouble setting it up. > > Code is available at http://www.op5.org, but only as git repositories. > There are no snapshots at this time, but gitweb (the "projects" link) > can generate one for you on the fly. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 14:59:53 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 12:59:53 +0000 Subject: Nagios reporting In-Reply-To: <2bb4107c0809050533g459b7497of298e61b04c5593d@mail.gmail.com> References: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> <48C123F1.7030502@op5.se> <2bb4107c0809050533g459b7497of298e61b04c5593d@mail.gmail.com> Message-ID: <4b008f7d0809050559o734e23daib5b496a93d5bf922@mail.gmail.com> thanks, I was looking at a tool that can tell me the number of downtimes a host or service had in a day, week, month or year. This will help when giving clients discounts. Nagios availability report doesn't tell you the number of downtimes a host or service had in a day or a specific period. If ndoutils was stable, I could put nagios status or log files in mysql and run the reports from there. what do you think? On Fri, Sep 5, 2008 at 12:33 PM, Ian Orszaczki wrote: > Nagios Digger (http://www.vanheusden.com/nagiosdigger/) can provide some > interesting analysis of nagios alerts with a level of interactivity. > > On Fri, Sep 5, 2008 at 10:20 PM, Andreas Ericsson wrote: > >> Alex Dehaini wrote: >> > Hi Guys, >> > >> > Are there extra plugins or any open source or paid software that can >> > generate nagios reports and display them in a friendly manner? >> > >> >> op5's reporting solution is released as opensource. It's currently being >> adapted to Nagios 3. It's got shitty documentation on how to get started, >> but provided you're willing to get your hands dirty, you should have no >> trouble setting it up. >> >> Code is available at http://www.op5.org, but only as git repositories. >> There are no snapshots at this time, but gitweb (the "projects" link) >> can generate one for you on the fly. >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ian at griggle.net Fri Sep 5 15:15:40 2008 From: ian at griggle.net (Ian Orszaczki) Date: Fri, 5 Sep 2008 23:15:40 +1000 Subject: Nagios reporting In-Reply-To: <4b008f7d0809050559o734e23daib5b496a93d5bf922@mail.gmail.com> References: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> <48C123F1.7030502@op5.se> <2bb4107c0809050533g459b7497of298e61b04c5593d@mail.gmail.com> <4b008f7d0809050559o734e23daib5b496a93d5bf922@mail.gmail.com> Message-ID: <2bb4107c0809050615h619747b7od57c859f07b60430@mail.gmail.com> nagiosdigger loads nagios logs into mysql and has custom reports for those sort of things. I think the site has a demo you can play with :) Its a tool that has alot of potential. On Fri, Sep 5, 2008 at 10:59 PM, Alex Dehaini wrote: > thanks, > > I was looking at a tool that can tell me the number of downtimes a host or > service had in a day, week, month or year. This will help when giving > clients discounts. > > Nagios availability report doesn't tell you the number of downtimes a host > or service had in a day or a specific period. If ndoutils was stable, I > could put nagios status or log files in mysql and run the reports from > there. > > what do you think? > > On Fri, Sep 5, 2008 at 12:33 PM, Ian Orszaczki wrote: > >> Nagios Digger (http://www.vanheusden.com/nagiosdigger/) can provide some >> interesting analysis of nagios alerts with a level of interactivity. >> >> On Fri, Sep 5, 2008 at 10:20 PM, Andreas Ericsson wrote: >> >>> Alex Dehaini wrote: >>> > Hi Guys, >>> > >>> > Are there extra plugins or any open source or paid software that can >>> > generate nagios reports and display them in a friendly manner? >>> > >>> >>> op5's reporting solution is released as opensource. It's currently being >>> adapted to Nagios 3. It's got shitty documentation on how to get started, >>> but provided you're willing to get your hands dirty, you should have no >>> trouble setting it up. >>> >>> Code is available at http://www.op5.org, but only as git repositories. >>> There are no snapshots at this time, but gitweb (the "projects" link) >>> can generate one for you on the fly. >>> >>> -- >>> Andreas Ericsson andreas.ericsson at op5.se >>> OP5 AB www.op5.se >>> Tel: +46 8-230225 Fax: +46 8-230231 >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rupertt at gmail.com Fri Sep 5 15:41:59 2008 From: rupertt at gmail.com (Heiko) Date: Fri, 5 Sep 2008 15:41:59 +0200 Subject: [Nagiosplug-help] how to monitor crond service In-Reply-To: <48C1178A.1020301@aei.ca> References: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> <48C1178A.1020301@aei.ca> Message-ID: <537dcd6b0809050641t415d540dj655e8eea9dbf75e1@mail.gmail.com> On Fri, Sep 5, 2008 at 1:27 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 05/09/08 02:52 AM, asam30 at gmail.com wrote: >> Hi, >> >> I've few of HP UX and Linux boxes that were monitored by Nagios. for the >> past few days, I've observed that cron service on HP UX keeps shutting >> down and I need to manually restart cron service. Is there any way >> through nagios we can monitor cron service on HP UX or Linux boxes so I >> can login before no one compliance and restart the service? > > Please do not cross-post to multiple mailing lists. > > if you have NSCA running on the Nagios server and send_nsca on the > client (and properly configured), do the following: > > 1. Create a passive service on Nagios (ex.: "Cron") > 2. Set the freshness threshold for that service (ex.: 350 seconds), and > use check_dummy as the active check (returning WARNING or CRITICAL > depending on your preferences) > 3. On the server, add a cron entry (according that the threshold in 3 is > adjusted for 5-minute intervals): >> */5 * * * * nagios echo -e "\tCron\t0\tOK: Cron is running" | /path/to/send_nsca -H -c > NB.: I don't know about HP-UX but some cron daemons do not support */5 > so you have to put "0,5,10,15,20,etc..." instead. If you're editing a > user crontab, remove the "nagios" argument (some cron do not support > system crontabs at all so you must edit a user's crontab) > > > Although if you're running important scripts/programs from crond, you > could simply monitor the scripts/rograms either by modifying them where > possible, or using a wrapper script to report status to send_nsca. This > way you won't have to monitor the daemon itself. > > > Oh, another way is to use check_procs, looking fro "crond", but if your > daemon just locks the check won't fail. > i did define the check like the following: define command{ command_name check_crond command_line $USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -C $ARG1$ -o UCD-SNMP-MIB::prCount.2 -s 1 } where $ARG1$ is the community string and "proc crond" has to be the second proc entry. snmpwalk -v 2c -c noc_snmp IPADDRESS .1.3.6.1.4.1.2021.2 shows you all the procs you defined The output strings isnt saying anything about cron, but I know when something is wrong. The other way could be the following: I found that script and changed it a bit, you have to use it with nrpe and change incrond to crond ----------cut--------- #!/bin/bash INCRONCOUNT=`ps afx | grep incrond | grep -v grep | grep -v check_incrond | wc -l` STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 STATE_DEPENDENT=4 case "${INCRONCOUNT}" in 0) echo "incrond is not running"; exit ${STATE_CRITICAL} ;; 1) echo "incrond is running"; exit ${STATE_OK} ;; *) echo "incrond is running more than once"; exit ${STATE_WARNING} ;; esac exit 0 ----------cut--------- cheers Rupertt > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIwReK6dZ+Kt5BchYRAg9JAJ47IpfGEOyRkc54mXKeVpNGwvxQGgCfX/Du > 1I4wPR5lQEi9NKNa5DZTk8w= > =JAcQ > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin-rdBDvhzU6y0 at public.gmane.org Fri Sep 5 15:41:52 2008 From: jhmartin-rdBDvhzU6y0 at public.gmane.org (Jason Martin) Date: Fri, 5 Sep 2008 06:41:52 -0700 Subject: how to monitor crond service In-Reply-To: <25251aec0809042352k24362705r5da8e9de5f27bdd0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> References: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> Message-ID: <20080905134152.GH5898@mal.toger.us> On Fri, Sep 05, 2008 at 12:22:34PM +0530, asam30-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org wrote: > I've few of HP UX and Linux boxes that were monitored by Nagios. for the > past few days, I've observed that cron service on HP UX keeps shutting down Utilize check_procs to look for the cron process. You could also add a handler such that upon detection of a failure, it logs in automatically and restarts it. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 219 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Fri Sep 5 16:13:27 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 14:13:27 +0000 Subject: Nagios reporting In-Reply-To: <2bb4107c0809050615h619747b7od57c859f07b60430@mail.gmail.com> References: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> <48C123F1.7030502@op5.se> <2bb4107c0809050533g459b7497of298e61b04c5593d@mail.gmail.com> <4b008f7d0809050559o734e23daib5b496a93d5bf922@mail.gmail.com> <2bb4107c0809050615h619747b7od57c859f07b60430@mail.gmail.com> Message-ID: <4b008f7d0809050713x26abac01ucbbcffec5228d468@mail.gmail.com> does it require ndoutils to work? On Fri, Sep 5, 2008 at 1:15 PM, Ian Orszaczki wrote: > nagiosdigger loads nagios logs into mysql and has custom reports for those > sort of things. I think the site has a demo you can play with :) Its a > tool that has alot of potential. > > > On Fri, Sep 5, 2008 at 10:59 PM, Alex Dehaini wrote: > >> thanks, >> >> I was looking at a tool that can tell me the number of downtimes a host or >> service had in a day, week, month or year. This will help when giving >> clients discounts. >> >> Nagios availability report doesn't tell you the number of downtimes a host >> or service had in a day or a specific period. If ndoutils was stable, I >> could put nagios status or log files in mysql and run the reports from >> there. >> >> what do you think? >> >> On Fri, Sep 5, 2008 at 12:33 PM, Ian Orszaczki wrote: >> >>> Nagios Digger (http://www.vanheusden.com/nagiosdigger/) can provide some >>> interesting analysis of nagios alerts with a level of interactivity. >>> >>> On Fri, Sep 5, 2008 at 10:20 PM, Andreas Ericsson wrote: >>> >>>> Alex Dehaini wrote: >>>> > Hi Guys, >>>> > >>>> > Are there extra plugins or any open source or paid software that can >>>> > generate nagios reports and display them in a friendly manner? >>>> > >>>> >>>> op5's reporting solution is released as opensource. It's currently being >>>> adapted to Nagios 3. It's got shitty documentation on how to get >>>> started, >>>> but provided you're willing to get your hands dirty, you should have no >>>> trouble setting it up. >>>> >>>> Code is available at http://www.op5.org, but only as git repositories. >>>> There are no snapshots at this time, but gitweb (the "projects" link) >>>> can generate one for you on the fly. >>>> >>>> -- >>>> Andreas Ericsson andreas.ericsson at op5.se >>>> OP5 AB www.op5.se >>>> Tel: +46 8-230225 Fax: +46 8-230231 >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win great >>>> prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>> world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at 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 the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> >> >> >> >> -- >> Alex Dehaini >> Developer >> Site - www.alexdehaini.com >> Email - alexdehaini at gmail.com >> > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 16:41:27 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 14:41:27 +0000 Subject: Nagios reporting In-Reply-To: <4b008f7d0809050713x26abac01ucbbcffec5228d468@mail.gmail.com> References: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> <48C123F1.7030502@op5.se> <2bb4107c0809050533g459b7497of298e61b04c5593d@mail.gmail.com> <4b008f7d0809050559o734e23daib5b496a93d5bf922@mail.gmail.com> <2bb4107c0809050615h619747b7od57c859f07b60430@mail.gmail.com> <4b008f7d0809050713x26abac01ucbbcffec5228d468@mail.gmail.com> Message-ID: <4b008f7d0809050741l487fa4beoc1e40bbe7a765d2@mail.gmail.com> Saw this and thought it might be useful to the list http://www.sawmill.net/formats/nagios.html Lex On Fri, Sep 5, 2008 at 2:13 PM, Alex Dehaini wrote: > does it require ndoutils to work? > > > On Fri, Sep 5, 2008 at 1:15 PM, Ian Orszaczki wrote: > >> nagiosdigger loads nagios logs into mysql and has custom reports for those >> sort of things. I think the site has a demo you can play with :) Its a >> tool that has alot of potential. >> >> >> On Fri, Sep 5, 2008 at 10:59 PM, Alex Dehaini wrote: >> >>> thanks, >>> >>> I was looking at a tool that can tell me the number of downtimes a host >>> or service had in a day, week, month or year. This will help when giving >>> clients discounts. >>> >>> Nagios availability report doesn't tell you the number of downtimes a >>> host or service had in a day or a specific period. If ndoutils was stable, I >>> could put nagios status or log files in mysql and run the reports from >>> there. >>> >>> what do you think? >>> >>> On Fri, Sep 5, 2008 at 12:33 PM, Ian Orszaczki wrote: >>> >>>> Nagios Digger (http://www.vanheusden.com/nagiosdigger/) can provide >>>> some interesting analysis of nagios alerts with a level of interactivity. >>>> >>>> On Fri, Sep 5, 2008 at 10:20 PM, Andreas Ericsson wrote: >>>> >>>>> Alex Dehaini wrote: >>>>> > Hi Guys, >>>>> > >>>>> > Are there extra plugins or any open source or paid software that can >>>>> > generate nagios reports and display them in a friendly manner? >>>>> > >>>>> >>>>> op5's reporting solution is released as opensource. It's currently >>>>> being >>>>> adapted to Nagios 3. It's got shitty documentation on how to get >>>>> started, >>>>> but provided you're willing to get your hands dirty, you should have no >>>>> trouble setting it up. >>>>> >>>>> Code is available at http://www.op5.org, but only as git repositories. >>>>> There are no snapshots at this time, but gitweb (the "projects" link) >>>>> can generate one for you on the fly. >>>>> >>>>> -- >>>>> Andreas Ericsson andreas.ericsson at op5.se >>>>> OP5 AB www.op5.se >>>>> Tel: +46 8-230225 Fax: +46 8-230231 >>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>>> challenge >>>>> Build the coolest Linux based applications with Moblin SDK & win great >>>>> prizes >>>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>>> world >>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at 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 the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win great >>>> prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>> world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at 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 >>>> >>> >>> >>> >>> -- >>> Alex Dehaini >>> Developer >>> Site - www.alexdehaini.com >>> Email - alexdehaini at gmail.com >>> >> >> > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Sep 5 17:04:32 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Sep 2008 17:04:32 +0200 Subject: Nagios reporting In-Reply-To: <4b008f7d0809050559o734e23daib5b496a93d5bf922@mail.gmail.com> References: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> <48C123F1.7030502@op5.se> <2bb4107c0809050533g459b7497of298e61b04c5593d@mail.gmail.com> <4b008f7d0809050559o734e23daib5b496a93d5bf922@mail.gmail.com> Message-ID: <48C14A80.5000008@op5.se> Alex Dehaini wrote: > thanks, > > I was looking at a tool that can tell me the number of downtimes a host or > service had in a day, week, month or year. This will help when giving > clients discounts. > > Nagios availability report doesn't tell you the number of downtimes a host > or service had in a day or a specific period. If ndoutils was stable, I > could put nagios status or log files in mysql and run the reports from > there. > > what do you think? > Use the database created by the reports-module and count entries with type 1103 between the start and the end time. Otherwise, just check the logfiles directly. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Fri Sep 5 17:06:30 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Sep 2008 15:06:30 +0000 Subject: Nagios reporting In-Reply-To: <48C14A80.5000008@op5.se> References: <4b008f7d0809050508o6c35a019v95bf25081a18d160@mail.gmail.com> <48C123F1.7030502@op5.se> <2bb4107c0809050533g459b7497of298e61b04c5593d@mail.gmail.com> <4b008f7d0809050559o734e23daib5b496a93d5bf922@mail.gmail.com> <48C14A80.5000008@op5.se> Message-ID: <4b008f7d0809050806j1f751cf8r6b41e7ec8d80dec6@mail.gmail.com> hmmmmmmmmmmmm On Fri, Sep 5, 2008 at 3:04 PM, Andreas Ericsson wrote: > Alex Dehaini wrote: > >> thanks, >> >> I was looking at a tool that can tell me the number of downtimes a host or >> service had in a day, week, month or year. This will help when giving >> clients discounts. >> >> Nagios availability report doesn't tell you the number of downtimes a host >> or service had in a day or a specific period. If ndoutils was stable, I >> could put nagios status or log files in mysql and run the reports from >> there. >> >> what do you think? >> >> > Use the database created by the reports-module and count entries with > type 1103 between the start and the end time. > > Otherwise, just check the logfiles directly. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Fri Sep 5 18:14:51 2008 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 5 Sep 2008 08:14:51 -0800 Subject: Nagvis alternatives In-Reply-To: <4b008f7d0809050323q29bcbe44w250c5c6c55a8424a@mail.gmail.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <4b008f7d0809030225y31a018ddk978d484f524c6bc1@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> <20080905104835.75526314@tclmmw.in.tiger-computing.com> <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> <20080905111310.0c2ad3c6@tclmmw.in.tiger-computing.com> <4b008f7d0809050318m4cce49d6pc1b7226247bca10c@mail.gmail.com> <20080905112209.5e83b5c4@tclmmw.in.tiger-computing.com> <4b008f7d0809050323q29bcbe44w250c5c6c55a8424a@mail.gmail.com> Message-ID: On Sep 5, 2008, at 2:23 AM, Alex Dehaini wrote: > Thanks matthew, > > Does nexsm display the change on the map when a device goes down? > Are there any screen shots I can view? Yes, nexsm shows a live view of the status of your devices, sing different colored backgrounds to indicate device/service status. There are a couple of screen shots available at http://www.nagiosexchange.org/cgi-bin/jump.cgi?ID=2137&view=File1;d=1 and http://www.nagiosexchange.org/cgi-bin/jump.cgi?ID=2137&view=File2;d=1 In the first one, the ssh host in the lan group has a problem - note the red text and background. When I was using it, I had all the host icons be 1-pixel dots, with a significantly larger dot as a background image, so basically all you saw for each host was a red (critical) yellow (warning/unreachable/etc) or green (OK) dot. For our purposes, I found this approach made more sense than trying to fit a bunch of large icons onto the screen. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > Lex > > On Fri, Sep 5, 2008 at 10:22 AM, Matthew Macdonald-Wallace > wrote: > On Fri, 5 Sep 2008 10:18:19 +0000 > "Alex Dehaini" wrote: > > > Basically the mapping feature - nagios does the rest, I am happy > with > > nagios but nagios maps arecrap. Nagvis allows you to display hosts > > and services graphically. > > OK, cool. > > In that case, I believe that your best bet at the moment is Nexsm as > previously discussed, however if I find anything else, I'll post it > here! > > Cheers, > > M. > -- > Matthew Macdonald-Wallace > matthew at truthisfreedom.org.uk > http://www.truthisfreedom.org.uk > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vmanojv at rediffmail.com Fri Sep 5 22:16:23 2008 From: vmanojv at rediffmail.com (Nair) Date: 5 Sep 2008 20:16:23 -0000 Subject: Nagios Active Check Fails Message-ID: <20080905201623.21258.qmail@f5mail-237-212.rediffmail.com> Freinds, I could do manual checks with check_nrpe commands from CLI. But its not being run by Nagios as scheduled. I have cheked file permessions and no luck. Any idea. Thank you, Nair. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Rick.Garland at quantum.com Fri Sep 5 22:36:30 2008 From: Rick.Garland at quantum.com (Rick Garland) Date: Fri, 5 Sep 2008 14:36:30 -0600 Subject: GUI front end Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD65023E1D30@DENMSGV1.QUANTUM.COM> Hi all: I have a Nagios 2.9 install and it has been running for awhile. I would like to integrate/implement a front end to adding hosts, services, etc. for the helpdesk personnel. I have looked at GroundWork and it looks good. Is there a download of GroundWork available that will integrate with my already installed Nagios. Or is there a method available to install the GroundWork on an existing installation? Thanks Rick ----------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum Corporation. Furthermore, Quantum Corporation is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Sep 5 23:31:30 2008 From: marc at ena.com (Marc Powell) Date: Fri, 5 Sep 2008 16:31:30 -0500 Subject: Nagios Active Check Fails In-Reply-To: <20080905201623.21258.qmail@f5mail-237-212.rediffmail.com> References: <20080905201623.21258.qmail@f5mail-237-212.rediffmail.com> Message-ID: On Sep 5, 2008, at 3:16 PM, Nair wrote: > Freinds, > > I could do manual checks with check_nrpe commands from CLI. But its > not being run by Nagios as scheduled. > > I have cheked file permessions and no luck. > > Any idea. > Hi Nair, There's not enough information to guess. Please post the host{}, service{}, timeperiod{} and command{} definitions, the output from the Service Status page and any nagios.log entries related to the command in question. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Sat Sep 6 00:21:55 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 05 Sep 2008 18:21:55 -0400 Subject: [Nagiosplug-help] how to monitor crond service In-Reply-To: <537dcd6b0809050641t415d540dj655e8eea9dbf75e1@mail.gmail.com> References: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> <48C1178A.1020301@aei.ca> <537dcd6b0809050641t415d540dj655e8eea9dbf75e1@mail.gmail.com> Message-ID: <48C1B103.9000208@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/09/08 09:41 AM, Heiko wrote: > On Fri, Sep 5, 2008 at 1:27 PM, Thomas Guyot-Sionnest wrote: > On 05/09/08 02:52 AM, asam30 at gmail.com wrote: >>>> Hi, >>>> >>>> I've few of HP UX and Linux boxes that were monitored by Nagios. for the >>>> past few days, I've observed that cron service on HP UX keeps shutting >>>> down and I need to manually restart cron service. Is there any way >>>> through nagios we can monitor cron service on HP UX or Linux boxes so I >>>> can login before no one compliance and restart the service? > Please do not cross-post to multiple mailing lists. > > if you have NSCA running on the Nagios server and send_nsca on the > client (and properly configured), do the following: > > 1. Create a passive service on Nagios (ex.: "Cron") > 2. Set the freshness threshold for that service (ex.: 350 seconds), and > use check_dummy as the active check (returning WARNING or CRITICAL > depending on your preferences) > 3. On the server, add a cron entry (according that the threshold in 3 is > adjusted for 5-minute intervals): >>>> */5 * * * * nagios echo -e "\tCron\t0\tOK: Cron is running" | /path/to/send_nsca -H -c > NB.: I don't know about HP-UX but some cron daemons do not support */5 > so you have to put "0,5,10,15,20,etc..." instead. If you're editing a > user crontab, remove the "nagios" argument (some cron do not support > system crontabs at all so you must edit a user's crontab) > > > Although if you're running important scripts/programs from crond, you > could simply monitor the scripts/rograms either by modifying them where > possible, or using a wrapper script to report status to send_nsca. This > way you won't have to monitor the daemon itself. > > > Oh, another way is to use check_procs, looking fro "crond", but if your > daemon just locks the check won't fail. > >> i did define the check like the following: > >> define command{ >> command_name check_crond >> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -C >> $ARG1$ -o UCD-SNMP-MIB::prCount.2 -s 1 >> } This requires UCD_SNMP or NET_SNMP, which might now be whatMs on your HP-UX box. It's possible that you have HP-UX specific MIBs for processes, but I can't help you regarding this. The simplest and most complete way is to have a cron job reporting back to Nagios as it check if Crond is also running scheduled jobs (what if the daemon is blocked somehow?). This is my suggestion quoted above. Another way that should work fairly well is using check_procs from Nagios-plugins, which has been designed to be portable among different platforms. I'm not very experienced with check_procs but I believe you can also check the state of the process, so you could probably alert if crond is not running or sleeping. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwbED6dZ+Kt5BchYRAt8/AKDx8Em6n8sZ3hCNRiSc7tBPVvXB4gCgiVpJ PiQ9m4ULM2fvAuIunGkT3jA= =uHdM -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From CWaters at jeld-wen.com Sat Sep 6 00:59:21 2008 From: CWaters at jeld-wen.com (Chris Waters) Date: Fri, 5 Sep 2008 15:59:21 -0700 Subject: How to Get Acknowledgement Escalations/Notifications Without the Volume of Problem Alerts. Message-ID: <30D62F21FD4BE1448C156D2A3E300397046A3932@jwmail01.jeld-wen.com> I realize that this subject may be a horse that is already severely beaten, but I am trying to see if there is a better way to handle escalations other than the way I do it now. One thing that Nagios seems to lack is a bit of flexibility with regard to Acknowledgments which becomes an issue for how we would like to handle notifications/escalations. Unless I have missed something, in order to get a notification or and escalation, you must be a valid contact for that notification/escalation. Let's say as a manager, you want to know when a problem occurs (get notification 1), when it gets acknowledged, and when it recovers but no other notifications. I don't think this is possible currently because Acknowledgements can't be specified in the contact definitions. This means you have to send every notification from the first problem to the recovery if you want to get an acknowledgment. What we do is use a notification command that is a process that basically adds the logic to suppress alerts unless the criteria for a given user is met (Checks a db for things like if the notification # matches some value and for what type of alert d/w/u/r). For myself, I get alert #2 for any state and nothing else until it's acknowledged or recovers. It's not a bad process but it's still another part to manage and it adds overhead. The big thing is getting the acknowledgment so we know an issue is being dealt with but with a large network, we don't need to see every alert. So, who's doing anything similar but more importantly were you able to achieve it purely with the tools provided within Nagios for contacts/notifications/escalations. Also, if anyone wants to see the methodology I am using now, I am happy to send that on. Currently it's limited to a single alert but I am working on a method to allow for "reminders" that something hasn't been acted on yet as well as if you just want to get more than a single problem notification. This means it could send an alert on notification 2,15,45-100 (what ever you want) without sending all the stuff in the middle unless it's an acknowledgment or recovery. Thanks. Chris Waters Technology Services - Network Group JELD-WEN, Inc. Information Systems cwaters at jeld-wen.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at sequestered.net Sat Sep 6 04:31:57 2008 From: lists at sequestered.net (Jay Chandler) Date: Fri, 05 Sep 2008 19:31:57 -0700 Subject: Invisible Hostgroups Message-ID: <48C1EB9D.6040403@sequestered.net> Is there a way to set some hostgroups up so that they don't display in the Hostgroups view? We have a lot of meta-groups that are merely collections of other groups, and would like to unclutter the display... -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: working as designed ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From localyee at gmail.com Sat Sep 6 07:44:46 2008 From: localyee at gmail.com (localyee) Date: Sat, 6 Sep 2008 13:44:46 +0800 Subject: how to restart the service of the host Message-ID: <200809061344436717746@gmail.com> i using the nagios to monitor the host,and once check that there is service run abnormity,i want to restart it,how to configure the nagios to come true. your kind help would be great appreciated. 2008-09-06 localyee -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From angeolivier2003 at yahoo.fr Sat Sep 6 12:03:58 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Sat, 6 Sep 2008 10:03:58 +0000 (GMT) Subject: compile check_ldap on fedora 9 Message-ID: <596974.9124.qm@web26103.mail.ukl.yahoo.com> hello i want to use check_ladp but when i do make check_ldap i have this : [root at localhost plugins]# make check_ldap if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/local/ssl/include -I/usr/local/ssl/include -g -O2 -MT check_ldap.o -MD -MP -MF ".deps/check_ldap.Tpo" -c -o check_ldap.o check_ldap.c; \ then mv -f ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f ".deps/check_ldap.Tpo"; exit 1; fi check_ldap.c:42:18: erreur: lber.h : Aucun fichier ou dossier de ce type check_ldap.c:43:18: erreur: ldap.h : Aucun fichier ou dossier de ce type check_ldap.c: In function ?main?: check_ldap.c:93: erreur: ?LDAP? undeclared (first use in this function) check_ldap.c:93: erreur: (Each undeclared identifier is reported only once check_ldap.c:93: erreur: for each function it appears in.) check_ldap.c:93: erreur: ?ld? undeclared (first use in this function) check_ldap.c:94: erreur: ?LDAPMessage? undeclared (first use in this function) check_ldap.c:94: erreur: ?result? undeclared (first use in this function) check_ldap.c:157: erreur: ?LDAPS_PORT? undeclared (first use in this function) check_ldap.c:201: erreur: ?LDAP_AUTH_SIMPLE? undeclared (first use in this function) check_ldap.c:202: erreur: ?LDAP_SUCCESS? undeclared (first use in this function) check_ldap.c:210: erreur: ?LDAP_SCOPE_BASE? undeclared (first use in this function) check_ldap.c: In function ?process_arguments?: check_ldap.c:354: erreur: ?LDAPS_PORT? undeclared (first use in this function) check_ldap.c: In function ?print_help?: check_ldap.c:427: erreur: ?LDAPS_PORT? undeclared (first use in this function) make: *** [check_ldap.o] Erreur 1 i am on fedora 9 in debian 4 in make apt-get install libldap2-dev to resolv this but on fedora 9 help -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sat Sep 6 12:56:39 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 06 Sep 2008 12:56:39 +0200 Subject: compile check_ldap on fedora 9 In-Reply-To: <596974.9124.qm@web26103.mail.ukl.yahoo.com> References: <596974.9124.qm@web26103.mail.ukl.yahoo.com> Message-ID: <48C261E7.2020609@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kermito le kermit wrote: > i am on fedora 9 > > in debian 4 in make apt-get install libldap2-dev to resolv this but on > fedora 9 Your need to read the manual is clear. You need to install the development environment this tool needs. So read a bit about yum and rpm and install the developement package with the knowledge you have aquired from this reading. Regardless of which OS you run. If you own a computer with any OS on it you need to aquire system administrative skills for that OS or hire someone with such skills to do the job for you. The large amount of spam/malware going around pretty much proves my point. The requirement is however deliberatly hidden by some OS manufacturers. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIwmHlBvzDRVjxmYERAqvqAJ9WldN/5dmZhwTpb9MCqfW8qgpFfwCgpHVF eLgDiYaF+UBxF89SepiE2fI= =JiMZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From teresa at te4i.com Sat Sep 6 13:08:06 2008 From: teresa at te4i.com (Teresa Noviello) Date: Sat, 6 Sep 2008 13:08:06 +0200 (CEST) Subject: Nagios installation problems on Debian In-Reply-To: <11441763.81220698991916.JavaMail.root@zimbra> References: <11441763.81220698991916.JavaMail.root@zimbra> Message-ID: <24322135.101220699286333.JavaMail.root@zimbra> Hi guys i'm new to nagios and i'm having problem for nagios installation on Debian. The problem is with installation from debian packages, because i first tried manual installation from source packages and all works fine... Nagios web configuration was easy and all the plugins worked fine. Unfortunately, we are interested in debian packages, because we are trying to have the most standard installation procedure on Debian (we have to apply the procedure on various Debian systems). And here my problems started! I list to you the debian packages installed: *nagios2 *nagios2-nrpe-plugin *nagios2-dbg *nagios-plugins (which installed nagios-plugins-basic and nagios-plugins-standard) *nagios-text *libnagios-object-perl Now, starting the monitoring daemon i have... /etc/init.d/nagios restart Restarting nagios monitoring daemon: nagios/etc/init.d/nagios: line 59: /usr/lib/nagios/plugins/check_nagios: No such file or directory The directory /usr/lib/nagios/plugins contains only: check-imap check_nagios_db check_nrpe eventhandlers why? where are check_nagios, check_ping and others? can you help me or give me some useful links? I tried to find info abou debian packages but i guess i'm still in deep water... Thank you for any suggestings! Teresa, it ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sat Sep 6 15:03:35 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 06 Sep 2008 15:03:35 +0200 Subject: Nagios installation problems on Debian In-Reply-To: <24322135.101220699286333.JavaMail.root@zimbra> References: <24322135.101220699286333.JavaMail.root@zimbra> Message-ID: <48C27FA7.4050204@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Teresa Noviello wrote: > Hi guys i'm new to nagios and i'm having problem for nagios installation on Debian. > The problem is with installation from debian packages, because i first tried manual installation from source packages and all works fine... Nagios web configuration was easy and all the plugins worked fine. Unfortunately, we are interested in debian packages, because we are trying to have the most standard installation procedure on Debian (we have to apply the procedure on various Debian systems). And here my problems started! > I list to you the debian packages installed: > *nagios2 > *nagios2-nrpe-plugin > *nagios2-dbg > *nagios-plugins (which installed nagios-plugins-basic and nagios-plugins-standard) > *nagios-text > *libnagios-object-perl I can't speak for the quality of the packages. But Debian has a tendency to be rather conservative in their choises and not upgrade that often. If you compiled from source with version 3 and reverted back to nagios 2 then you may have run into a heap of problems. If you manage to left some of the manual compiled stuff in an combined it with software from the packages you are in way over your head I fear. It seems manual software is not a no-go area. Otherwise you would not have started there. I suggest you go back to the manual compiled stuff and remove the debian packages in full. Or remove everything and start from scratch with just the packages. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIwn+lBvzDRVjxmYERAmamAJ0R59f21Qr2eYuOin0tKNqgE/o3UQCfSXMc PZhkCrj4rwRFV6570eHoXC4= =op9i -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Sat Sep 6 16:33:21 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Sat, 6 Sep 2008 20:03:21 +0530 Subject: [Nagiosplug-help] how to monitor crond service In-Reply-To: <48C1B103.9000208@aei.ca> References: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> <48C1178A.1020301@aei.ca> <537dcd6b0809050641t415d540dj655e8eea9dbf75e1@mail.gmail.com> <48C1B103.9000208@aei.ca> Message-ID: <25251aec0809060733m7f2f671n6488757f1b3db532@mail.gmail.com> thanks. I will try check_procs and let you know. On Sat, Sep 6, 2008 at 3:51 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 05/09/08 09:41 AM, Heiko wrote: > > On Fri, Sep 5, 2008 at 1:27 PM, Thomas Guyot-Sionnest > wrote: > > On 05/09/08 02:52 AM, asam30 at gmail.com wrote: > >>>> Hi, > >>>> > >>>> I've few of HP UX and Linux boxes that were monitored by Nagios. for > the > >>>> past few days, I've observed that cron service on HP UX keeps shutting > >>>> down and I need to manually restart cron service. Is there any way > >>>> through nagios we can monitor cron service on HP UX or Linux boxes so > I > >>>> can login before no one compliance and restart the service? > > Please do not cross-post to multiple mailing lists. > > > > if you have NSCA running on the Nagios server and send_nsca on the > > client (and properly configured), do the following: > > > > 1. Create a passive service on Nagios (ex.: "Cron") > > 2. Set the freshness threshold for that service (ex.: 350 seconds), and > > use check_dummy as the active check (returning WARNING or CRITICAL > > depending on your preferences) > > 3. On the server, add a cron entry (according that the threshold in 3 is > > adjusted for 5-minute intervals): > >>>> */5 * * * * nagios echo -e "\tCron\t0\tOK: Cron is running" > | /path/to/send_nsca -H -c > > NB.: I don't know about HP-UX but some cron daemons do not support */5 > > so you have to put "0,5,10,15,20,etc..." instead. If you're editing a > > user crontab, remove the "nagios" argument (some cron do not support > > system crontabs at all so you must edit a user's crontab) > > > > > > Although if you're running important scripts/programs from crond, you > > could simply monitor the scripts/rograms either by modifying them where > > possible, or using a wrapper script to report status to send_nsca. This > > way you won't have to monitor the daemon itself. > > > > > > Oh, another way is to use check_procs, looking fro "crond", but if your > > daemon just locks the check won't fail. > > > >> i did define the check like the following: > > > >> define command{ > >> command_name check_crond > >> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -C > >> $ARG1$ -o UCD-SNMP-MIB::prCount.2 -s 1 > >> } > > This requires UCD_SNMP or NET_SNMP, which might now be whatMs on your > HP-UX box. It's possible that you have HP-UX specific MIBs for > processes, but I can't help you regarding this. > > The simplest and most complete way is to have a cron job reporting back > to Nagios as it check if Crond is also running scheduled jobs (what if > the daemon is blocked somehow?). This is my suggestion quoted above. > > Another way that should work fairly well is using check_procs from > Nagios-plugins, which has been designed to be portable among different > platforms. I'm not very experienced with check_procs but I believe you > can also check the state of the process, so you could probably alert if > crond is not running or sleeping. > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIwbED6dZ+Kt5BchYRAt8/AKDx8Em6n8sZ3hCNRiSc7tBPVvXB4gCgiVpJ > PiQ9m4ULM2fvAuIunGkT3jA= > =uHdM > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From moshesharon at gmail.com Sat Sep 6 20:53:20 2008 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 6 Sep 2008 21:53:20 +0300 Subject: Invisible Hostgroups In-Reply-To: <48C1EB9D.6040403@sequestered.net> References: <48C1EB9D.6040403@sequestered.net> Message-ID: <88ad29240809061153s4b881c18g4d31db7d36067612@mail.gmail.com> Hi The only best way to do it is to create different contacts with permissions to the relevant hostgroup this contact should not be added to authorize all host and service information, commands etc.. in the cgi and the contactgroup should not be added to the unwanted hostgroup. note: if you add host to more then one host group you will still see the invisible hostgroup but only with one host Hope it helped -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Sat Sep 6 21:50:00 2008 From: marc at ena.com (Marc Powell) Date: Sat, 6 Sep 2008 14:50:00 -0500 Subject: how to restart the service of the host In-Reply-To: <200809061344436717746@gmail.com> References: <200809061344436717746@gmail.com> Message-ID: On Sep 6, 2008, at 12:44 AM, localyee wrote: > i using the nagios to monitor the host,and once check that there is > service run abnormity,i want to restart it,how to configure the > nagios to come true. I think you want to look at the documentation on Event Handlers. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From moshesharon at gmail.com Sat Sep 6 22:57:49 2008 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 6 Sep 2008 23:57:49 +0300 Subject: downtime history in nagios In-Reply-To: References: Message-ID: <88ad29240809061357j3e923119s19306b64fb9f85ea@mail.gmail.com> Hello You have multiple options to see it from the web menu: availability will show you the downtime and the outages of Hosts hostgroups and services you also press the breakdowns graph to view trends of downtime's did you wanted to view other information? -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cschneemann at suse.de Sun Sep 7 00:17:18 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Sun, 7 Sep 2008 00:17:18 +0200 Subject: Invisible Hostgroups In-Reply-To: <48C1EB9D.6040403@sequestered.net> References: <48C1EB9D.6040403@sequestered.net> Message-ID: <200809070017.18998.cschneemann@suse.de> Am Samstag, 6. September 2008 schrieb Jay Chandler: > Is there a way to set some hostgroups up so that they don't display in > the Hostgroups view? We have a lot of meta-groups that are merely > collections of other groups, and would like to unclutter the display... Hi, just set the unwanted hostgroups to "register 0", they are used internally, but are not shown in the webinterface. This works with all kind of groups, hostgroups, servicegroups, etc. Greetings, Christian -- ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Sun Sep 7 03:38:28 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 06 Sep 2008 21:38:28 -0400 Subject: compile check_ldap on fedora 9 In-Reply-To: <48C261E7.2020609@vanderkooij.org> References: <596974.9124.qm@web26103.mail.ukl.yahoo.com> <48C261E7.2020609@vanderkooij.org> Message-ID: <48C33094.1000502@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/09/08 06:56 AM, Hugo van der Kooij wrote: > Kermito le kermit wrote: > >> i am on fedora 9 > >> in debian 4 in make apt-get install libldap2-dev to resolv this but on >> fedora 9 > > Your need to read the manual is clear. > > You need to install the development environment this tool needs. So read > a bit about yum and rpm and install the developement package with the > knowledge you have aquired from this reading. Once you have installed the development packages you will have to re-run ./configure and make all. Check_ldap should be compiled by default if all the dependencies are met. If make all does not build check_ldap, make check_ldap will not work. Plugins dependencies are listed in the "REQUIREMENTS" file in the source tarball. You can also check at the ./configure output and config.log for errors. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwzCU6dZ+Kt5BchYRAlpIAJ9E3rPZ6BqWF71L6QL6fT64IhngqwCeLbYe X6iofRNWUGMNTAHy2dXs8DE= =rUqS -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Mon Sep 8 09:38:24 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 08 Sep 2008 13:08:24 +0530 Subject: How to refresh the view manually ? Message-ID: <48C4D670.7060404@infoservices.in> Hi list, IS there any configuration which can allow to manually refresh the view to get the latest nrpe result by simply refreshing the browser ? Kindly let me know. many thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Sep 8 09:53:53 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Sep 2008 09:53:53 +0200 Subject: How to refresh the view manually ? In-Reply-To: <48C4D670.7060404@infoservices.in> References: <48C4D670.7060404@infoservices.in> Message-ID: <48C4DA11.20204@op5.se> J. Bakshi wrote: > Hi list, > > IS there any configuration which can allow to manually refresh the view > to get the latest nrpe result by simply refreshing the browser ? > I think you have gravely misunderstood how the Nagios core and NRPE works. You may have some luck looking in the documentation for the GUI though. Pay particular attention to the sections talking about forcing service checks, rescheduling checks and how to submit external commands. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Mon Sep 8 10:04:28 2008 From: adesperateuser at googlemail.com (Marcus) Date: Mon, 08 Sep 2008 10:04:28 +0200 Subject: Getting rid of ACKNOWLEDGEMENT-Mails? Message-ID: <48C4DC8C.7090205@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks, I don't want any ACKNOWLEDGEMENT-mails sent out any more. Unfortunately, after about digging an hour in the current docs, I can't find the responsible flag, which would have to be set. I'd be glad, if anybody could help me on this. Nagios Version 3.03 is running. Thanks a lot. Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIxNyM+qVaNRZYOakRAnVxAKCjxw16WRDMfAOIC+6AEs6cqHDCegCdG6f8 nMwHYcXaD3vASwiIqNVw7+Q= =FXTv -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Sep 8 10:09:16 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Sep 2008 10:09:16 +0200 Subject: Getting rid of ACKNOWLEDGEMENT-Mails? In-Reply-To: <48C4DC8C.7090205@googlemail.com> References: <48C4DC8C.7090205@googlemail.com> Message-ID: <48C4DDAC.7060403@op5.se> Marcus wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi folks, > > I don't want any ACKNOWLEDGEMENT-mails sent out any more. Unfortunately, > after about digging an hour in the current docs, I can't find the > responsible flag, which would have to be set. > > I'd be glad, if anybody could help me on this. > Write a custom notification script. Pass it the proper macro and exit if it's an acknowledgement. The details you need can be found in the documentation. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hpsekhon at googlemail.com Mon Sep 8 10:32:44 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 08 Sep 2008 09:32:44 +0100 Subject: how to restart the service of the host In-Reply-To: <200809061344436717746@gmail.com> References: <200809061344436717746@gmail.com> Message-ID: <48C4E32C.3040607@googlemail.com> localyee wrote: > i using the nagios to monitor the host,and once check that there is > service run abnormity,i want to restart it,how to configure the nagios > to come true. > your kind help would be great appreciated. > > 2008-09-06 > ------------------------------------------------------------------------ > localyee Write an event handler for the service: http://nagios.sourceforge.net/docs/2_0/eventhandlers.html -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From holger at CIS.FU-Berlin.DE Mon Sep 8 10:51:09 2008 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Mon, 8 Sep 2008 10:51:09 +0200 Subject: Getting rid of ACKNOWLEDGEMENT-Mails? In-Reply-To: <48C4DC8C.7090205@googlemail.com> References: <48C4DC8C.7090205@googlemail.com> Message-ID: <20080908085109.GX86162167@CIS.FU-Berlin.DE> * Marcus [2008-09-08 10:04]: > I don't want any ACKNOWLEDGEMENT-mails sent out any more. Unfortunately, > after about digging an hour in the current docs, I can't find the > responsible flag, which would have to be set. We simply unset the "Send Notification:" check box for ACKs in the web interface by default, so that notifications will only be sent if the box was explicitly checked (see the attached diff against cgi/cmd.c). Holger -------------- next part -------------- Index: cmd.c =================================================================== RCS file: /cvsroot/nagios/nagios/cgi/cmd.c,v retrieving revision 1.42 diff -u -r1.42 cmd.c --- cmd.c 19 May 2008 18:42:26 -0000 1.42 +++ cmd.c 8 Sep 2008 08:31:23 -0000 @@ -945,7 +945,7 @@ printf(""); printf("\n"); printf("Send Notification:"); - printf(""); + printf(""); printf("\n"); } printf("Persistent%s:",(cmd==CMD_ACKNOWLEDGE_HOST_PROBLEM)?" Comment":""); @@ -971,7 +971,7 @@ printf(""); printf("\n"); printf("Send Notification:"); - printf(""); + printf(""); printf("\n"); } printf("Persistent%s:",(cmd==CMD_ACKNOWLEDGE_SVC_PROBLEM)?" Comment":""); -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From signup.www at gmail.com Mon Sep 8 12:34:14 2008 From: signup.www at gmail.com (Me McMe) Date: Mon, 8 Sep 2008 12:34:14 +0200 Subject: Override Service Check Command Message-ID: <87c98c720809080334w2c266366g57c035badbe984c5@mail.gmail.com> Hi all. I currently have Nagios 3.0.3 set up and working. However, I have added a couple of service checks that, due to their importance, I want to use different notification commands than the other service checks. The problem is that due to the contact details changing quite regularly (for one reason or another) I don't want to have to change anything in the contacts section. Unfortunately this seems to be where the service check command is defined. So, is there any way to override the service check command that is specified in the contact definition so that I can use a specific notification command for a specific service without having to make any changes to the contact definition? Thanks in advance for any help. Mark Baxter ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Rene.Rembarz at ericsson.com Mon Sep 8 13:56:56 2008 From: Rene.Rembarz at ericsson.com (Rene Rembarz) Date: Mon, 8 Sep 2008 13:56:56 +0200 Subject: Nagios ignores check_nrpe return code Message-ID: <80CD20FB3811A3458CA92048591886AA057AF0B4@esealmw112.eemea.ericsson.se> Dear all, I have a problem with my Nagios (v3.0.3) ignoring the return code of check_nrpe (v2.10). An example check_nrpe query looks like this: # /usr/lib/nagios/plugins/check_nrpe -H 10.0.1.10 -c check_users ; echo "Return code: $?" USERS WARNING - 1 users currently logged in |users=1;1;2;0 Return code: 1 Based on the return code, Nagios should (if I am niot mistaken) display the service as status "WARNING". But the Service State Information page in Nagios reads: Current Status: OK (green color) Status Information: USERS WARNING - 1 users currently logged in This happens with all service I monitor via nrpe, the check itself goes ok, the status information is displyed correctly, but Nagios does not show the right status based on the return code. For local services on the nagios machine (e.g., a local check_users) this works just fine, so really seems to be something between nagios and check_nrpe. Any advice or tips for further troubleshooting? Cheers Ren? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Sep 8 14:23:55 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Sep 2008 14:23:55 +0200 Subject: Nagios ignores check_nrpe return code In-Reply-To: <80CD20FB3811A3458CA92048591886AA057AF0B4@esealmw112.eemea.ericsson.se> References: <80CD20FB3811A3458CA92048591886AA057AF0B4@esealmw112.eemea.ericsson.se> Message-ID: <48C5195B.8050403@op5.se> Rene Rembarz wrote: > Dear all, > > I have a problem with my Nagios (v3.0.3) ignoring the return code of check_nrpe (v2.10). An example check_nrpe query looks like this: > > # /usr/lib/nagios/plugins/check_nrpe -H 10.0.1.10 -c check_users ; echo "Return code: $?" > If that's what your check_nrpe requests look like, I'm not surprised you're having problems. > USERS WARNING - 1 users currently logged in |users=1;1;2;0 Return code: 1 > > Based on the return code, Nagios should (if I am niot mistaken) display the service as status "WARNING". But the Service State Information page in Nagios reads: > Nagios doesn't see the return code of check_nrpe in this case. It sees the return code of 'echo'. AFAIK, 'echo' always returns 0. > Current Status: OK (green color) > Status Information: USERS WARNING - 1 users currently logged in > > This happens with all service I monitor via nrpe, the check itself goes ok, the status information is displyed correctly, but Nagios does not show the right status based on the return code. For local services on the nagios machine (e.g., a local check_users) this works just fine, so really seems to be something between nagios and check_nrpe. > Remove the '; echo $?' after the check_nrpe check thing and it will start working again. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Rene.Rembarz at ericsson.com Mon Sep 8 14:34:52 2008 From: Rene.Rembarz at ericsson.com (Rene Rembarz) Date: Mon, 8 Sep 2008 14:34:52 +0200 Subject: Nagios ignores check_nrpe return code In-Reply-To: <48C5195B.8050403@op5.se> References: <80CD20FB3811A3458CA92048591886AA057AF0B4@esealmw112.eemea.ericsson.se> <48C5195B.8050403@op5.se> Message-ID: <80CD20FB3811A3458CA92048591886AA057AF1DE@esealmw112.eemea.ericsson.se> Hi Andreas, Thanks for your reply. The echo $? Was just something I did to show you guys that check_nrpe correctly captures the return code of the remote plugin and exits with that same return code. The actual command definition looks like this: define command { command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Cheers, Ren? > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Montag, 8. September 2008 14:24 > To: Rene Rembarz > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios ignores check_nrpe return code > > Rene Rembarz wrote: > > Dear all, > > > > I have a problem with my Nagios (v3.0.3) ignoring the > return code of check_nrpe (v2.10). An example check_nrpe > query looks like this: > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.0.1.10 -c > check_users ; echo "Return code: $?" > > > > If that's what your check_nrpe requests look like, I'm not > surprised you're having problems. > > > USERS WARNING - 1 users currently logged in |users=1;1;2;0 Return > > code: 1 > > > > Based on the return code, Nagios should (if I am niot > mistaken) display the service as status "WARNING". But the > Service State Information page in Nagios reads: > > > > Nagios doesn't see the return code of check_nrpe in this > case. It sees the return code of 'echo'. AFAIK, 'echo' always > returns 0. > > > Current Status: OK (green color) > > Status Information: USERS WARNING - 1 users currently logged in > > > > This happens with all service I monitor via nrpe, the check > itself goes ok, the status information is displyed correctly, > but Nagios does not show the right status based on the return > code. For local services on the nagios machine (e.g., a local > check_users) this works just fine, so really seems to be > something between nagios and check_nrpe. > > > > Remove the '; echo $?' after the check_nrpe check thing and > it will start working again. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jcall at verio.net Mon Sep 8 16:19:49 2008 From: jcall at verio.net (Jonathan Call) Date: Mon, 8 Sep 2008 10:19:49 -0400 Subject: Anyone tried Nagios 3.0.3 on FreeBSD yet? Message-ID: <04F3233F47E2714CB7431AE913E57E7702EB1632@IAD-WPRD-XCHB02.corp.verio.net> I noticed the port change a few days ago. Anyone tried it? Does it behave better than Nagios 2 on FreeBSD 7? Jonathan Call Network Engineer - NTT/Verio (801) 437-7476 This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From k.proskurin at fxclub.org Mon Sep 8 16:29:11 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Mon, 08 Sep 2008 18:29:11 +0400 Subject: Anyone tried Nagios 3.0.3 on FreeBSD yet? In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702EB1632@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7702EB1632@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <48C536B7.7060008@fxclub.org> Jonathan Call wrote: > I noticed the port change a few days ago. Anyone tried it? > > Does it behave better than Nagios 2 on FreeBSD 7? Using it from 3beta till 3.03 now. No problem at all. -- Best regards, Proskurin Kirill ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Mon Sep 8 16:30:23 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Mon, 08 Sep 2008 10:30:23 -0400 Subject: Anyone tried Nagios 3.0.3 on FreeBSD yet? In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702EB1632@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7702EB1632@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <48C536FF.1050701@collaborativefusion.com> Jonathan Call wrote: > I noticed the port change a few days ago. Anyone tried it? > > Does it behave better than Nagios 2 on FreeBSD 7? > > Jonathan Call > Network Engineer - NTT/Verio > (801) 437-7476 This has long been in the ports tree as nagios-devel - it was just pending the repocopy of 2.x to nagios2. I've been running it since b2 with no issues outside of the libthr one (http://www.freebsd.org/cgi/getmsg.cgi?fetch=662046+0+/usr/local/www/db/text/2008/cvs-ports/20080120.cvs-ports). I honestly haven't noticed many changes (outside of cfg_dir recursion working correctly). On the completely anecdotal side, it does seem to be more efficient overall but I think that's related to general improvements on the 3.x branch. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kl.reinhard at googlemail.com Mon Sep 8 16:59:22 2008 From: kl.reinhard at googlemail.com (K-L Reinhard) Date: Mon, 8 Sep 2008 16:59:22 +0200 Subject: Nagios and Logrotate Message-ID: <3ff9e2d30809080759h3649b92ckdf6649878557e8a@mail.gmail.com> Hi, I'm really unexpierenced with nagios but I have the following task. We have to fire on a script, after the internal logrotating of nagios is done. I know, it would be a lot simpler if we use lograte, but we don't -.-. Is there a way to solve this matter with an event handler or is it possible to define a postscript? Maybe there's a way to call the logrotate function manually ? Sorry if this matter has already been posted on this mailing list, but I googled my fingers bloody. And sorry for the poor english Thanks Karl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Sep 8 17:39:44 2008 From: marc at ena.com (Marc Powell) Date: Mon, 8 Sep 2008 10:39:44 -0500 Subject: Nagios and Logrotate In-Reply-To: <3ff9e2d30809080759h3649b92ckdf6649878557e8a@mail.gmail.com> References: <3ff9e2d30809080759h3649b92ckdf6649878557e8a@mail.gmail.com> Message-ID: <3130EE84-2D86-4084-8E28-2A719CA15C6C@ena.com> On Sep 8, 2008, at 9:59 AM, K-L Reinhard wrote: > Hi, > > I'm really unexpierenced with nagios but I have the following task. > We have to fire on a script, after the internal logrotating of > nagios is done. I know, it would be a lot simpler if we use lograte, > but we don't -.-. ... and shouldn't. Using logrotate will break nagios reporting capabilities. > Is there a way to solve this matter with an event handler or is it > possible to define a postscript? Maybe there's a way to call the > logrotate function manually ? Yes to the first, but not trivially and not as an event handler, no to the second and no to the third (can't be done and it would break nagios reporting capabilities). It's an unusual request so there aren't any easy-to-use capabilities... Nagios doesn't provide an event handler type of action for log rotation but _does_ notify event broker modules of the log rotation event (EVENT_LOG_ROTATION, I believe). You could write an event broker module that listens for that event and takes appropriate action. Alternately, nagios does log the rotation event to nagios.log as 'LOG ROTATION:'. You could maintain a continuous tail of the file looking for a sudden decrease in the log file size, inode change and/or that entry and take appropriate action. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kl.reinhard at googlemail.com Mon Sep 8 17:45:15 2008 From: kl.reinhard at googlemail.com (K-L Reinhard) Date: Mon, 8 Sep 2008 17:45:15 +0200 Subject: Nagios and Logrotate In-Reply-To: <3130EE84-2D86-4084-8E28-2A719CA15C6C@ena.com> References: <3ff9e2d30809080759h3649b92ckdf6649878557e8a@mail.gmail.com> <3130EE84-2D86-4084-8E28-2A719CA15C6C@ena.com> Message-ID: <3ff9e2d30809080845n388fcab8nb96469c055bad98f@mail.gmail.com> Mark, thanks a lot for this explanation and the hints. I think I'll have a look at the event broker thing. thanks! Karl On Mon, Sep 8, 2008 at 5:39 PM, Marc Powell wrote: > > On Sep 8, 2008, at 9:59 AM, K-L Reinhard wrote: > > > Hi, > > > > I'm really unexpierenced with nagios but I have the following task. > > We have to fire on a script, after the internal logrotating of > > nagios is done. I know, it would be a lot simpler if we use lograte, > > but we don't -.-. > > ... and shouldn't. Using logrotate will break nagios reporting > capabilities. > > > Is there a way to solve this matter with an event handler or is it > > possible to define a postscript? Maybe there's a way to call the > > logrotate function manually ? > > Yes to the first, but not trivially and not as an event handler, no to > the second and no to the third (can't be done and it would break > nagios reporting capabilities). It's an unusual request so there > aren't any easy-to-use capabilities... Nagios doesn't provide an event > handler type of action for log rotation but _does_ notify event broker > modules of the log rotation event (EVENT_LOG_ROTATION, I believe). You > could write an event broker module that listens for that event and > takes appropriate action. Alternately, nagios does log the rotation > event to nagios.log as 'LOG ROTATION:'. You could maintain a > continuous tail of the file looking for a sudden decrease in the log > file size, inode change and/or that entry and take appropriate action. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ronaldobf at linkway.com.br Mon Sep 8 18:30:19 2008 From: ronaldobf at linkway.com.br (Ronaldo A. Bueno Filho) Date: Mon, 8 Sep 2008 13:30:19 -0300 Subject: Centreon 2 / Nagios 3 / and Nagvis Message-ID: Hi I am worndering if I can use the statusmap and nagvis if I am using Nagios 3 with Centreon 2 and Nagios Business Process Addons Actually, I have an environment with a lot of equipments that are being monitored, from different customers. I would like to have a hierarchical map, identifying each customer (for example nagvis). I also want snmp support and scalability and problem views (centreon). What do you guys susggest? Is it possible to use it as module in centreon 2? I know that with nagios 2 it works, but I am using nagios 3. Thanks, -- Ronaldo A. Bueno Filho -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Mon Sep 8 19:19:11 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 8 Sep 2008 09:19:11 -0800 Subject: NAGVIS minimal broker options Message-ID: In trying to implement NAGVIS on my system, I have been running into performance issues where the NDO daemon/mysql consume vast amounts of processor power, essentially bringing nagios and everything else to a halt until they complete. This is a problem (I belive) with mysql, and as such can't really be helped directly (except by moving the sql server to another machine), however I was thinking it may be possible to minimize the impact by telling nagios to broker less than everything, on the assumption that nagios is sending some stuff to the database that nagvis doesn't actually need. Is this, in fact, the case? If so, what are the minimal broker options needed to make nagvis happy? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smacDonald at ask.com Mon Sep 8 22:25:05 2008 From: smacDonald at ask.com (Scott Macdonald) Date: Mon, 8 Sep 2008 16:25:05 -0400 Subject: yet another Error 127 issue Message-ID: <57B8C921BBE8FF4982FA726D39BC60EF0461F695@SITE2MAIL01.jeeves.ask.info> So here's the problem.. host checks run without a problem.. but service checks come back with Status code 127.. the binaries exist and I have tested them with my nagios user.. even in full debug output, the expanded command runs when copied and pasted to the cli. The biggest head scratcher is that is worked fine until I started to set my environment up to be distributed and was having this issue on one of nsca sender.. so I switched back the configs to make this the poller and display, but now I cannot get service checks to run at all... The machine is monitoring ~4500 hosts and ~9000 service checks (you can see why I wanted to move to a distributed setup) Any help is greatly appreciated. Scott Macdonald Senior UNIX Systems Administrator smacdonald at ask.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1856 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smacDonald at ask.com Mon Sep 8 22:28:42 2008 From: smacDonald at ask.com (Scott Macdonald) Date: Mon, 8 Sep 2008 16:28:42 -0400 Subject: yet another Error 127 issue In-Reply-To: <57B8C921BBE8FF4982FA726D39BC60EF0461F695@SITE2MAIL01.jeeves.ask.info> References: <57B8C921BBE8FF4982FA726D39BC60EF0461F695@SITE2MAIL01.jeeves.ask.info> Message-ID: <57B8C921BBE8FF4982FA726D39BC60EF0461F69E@SITE2MAIL01.jeeves.ask.info> Version info: Nagios 3.0.3 Plugins 1.4.12 Debian 4.0 (etch) From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Scott Macdonald Sent: Monday, September 08, 2008 4:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] yet another Error 127 issue So here's the problem.. host checks run without a problem.. but service checks come back with Status code 127.. the binaries exist and I have tested them with my nagios user.. even in full debug output, the expanded command runs when copied and pasted to the cli. The biggest head scratcher is that is worked fine until I started to set my environment up to be distributed and was having this issue on one of nsca sender.. so I switched back the configs to make this the poller and display, but now I cannot get service checks to run at all... The machine is monitoring ~4500 hosts and ~9000 service checks (you can see why I wanted to move to a distributed setup) Any help is greatly appreciated. Scott Macdonald Senior UNIX Systems Administrator smacdonald at ask.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1856 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Sep 8 22:44:24 2008 From: marc at ena.com (Marc Powell) Date: Mon, 8 Sep 2008 15:44:24 -0500 Subject: yet another Error 127 issue In-Reply-To: <57B8C921BBE8FF4982FA726D39BC60EF0461F695@SITE2MAIL01.jeeves.ask.info> References: <57B8C921BBE8FF4982FA726D39BC60EF0461F695@SITE2MAIL01.jeeves.ask.info> Message-ID: <2E919ACC-DE84-4AB9-BB19-D9F35A65CB1F@ena.com> On Sep 8, 2008, at 3:25 PM, Scott Macdonald wrote: > So here?s the problem.. host checks run without a problem.. but > service checks come back with Status code 127.. All of them or some of them? If all, does $USER1$, if you use it, point to the correct plugins location and resource.cfg loaded as a resource_file? If only some of the, please provide specific information about the service/command definitions and the plugin in question (ls -al, etc)... http://www.waggy.at/nagios/capture_plugin.htm might be useful. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Sep 8 22:45:34 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Sep 2008 22:45:34 +0200 Subject: Nagios and Logrotate In-Reply-To: <3ff9e2d30809080845n388fcab8nb96469c055bad98f@mail.gmail.com> References: <3ff9e2d30809080759h3649b92ckdf6649878557e8a@mail.gmail.com> <3130EE84-2D86-4084-8E28-2A719CA15C6C@ena.com> <3ff9e2d30809080845n388fcab8nb96469c055bad98f@mail.gmail.com> Message-ID: <48C58EEE.5050807@op5.se> K-L Reinhard wrote: > Mark, thanks a lot for this explanation and the hints. I think I'll have a > look at the event broker thing. > C coding skills are required. For a nudge to get you started, have a look at modules/helloworld.c in the nagios source distribution. If you don't do it, I'll use this example as the module-writing exercise for my Netways presentation. The first to complete it wins a weissbier in the hotel bar :-) Keep an eye on www.op5.org for the results of the module-hacking contest. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Mon Sep 8 23:01:43 2008 From: bjlockie at lockie.ca (James) Date: Mon, 8 Sep 2008 17:01:43 -0400 (EDT) Subject: help debug Message-ID: <2bc9c4c843d539b1d6f295013d99d98f.squirrel@webmail.lockie.ca> # sudo /etc/init.d/nagios start -n Starting nagios: Killed CONFIG ERROR! Start aborted. Check your Nagios configuration. # sudo ../../bin/nagios -v ../nagios.cfg Killed ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asteriskator at gmail.com Tue Sep 9 00:43:41 2008 From: asteriskator at gmail.com (Robert McNaught) Date: Mon, 8 Sep 2008 15:43:41 -0700 Subject: nagios check_sip plugin Message-ID: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> Hi, I am using Nagios 3 on CentOS 5. I am not understanding how to set up a service check for SIP (Session Initiation Protocol). I can run the check_sip perl script from the command line and get a valid response, but cannot get it to work under nagios. [root at lab01 libexec]# /usr/local/nagios/libexec/check_sip -u sip:username at server.hostname.com -f sip:username at server.hostname.com -H server.hostname.com SIP/2.0 200 OK, 0.017372 seconds response time|rtt=0.017372s;0.5s;1s;0:10; code=200 I have added in a command definition in commands.cfg: #'check_sip' command definition added by RJM define command{ command_name check_sip command_line check_sip -u sip:username at server.hostname.com -f sip:username at server.hostname.com -H server.hostname.com } I have a host and service definition also of: define host{ use generic-switch ; Inherit default values from a template host_name server.hostname.com ; The name we're giving to this switch alias server ; A longer name associated with the wtch address XXX.XXX.XXX.XXX ; IP address of the switch hostgroups core ; Host groups this switch is associated with } define service{ use core-template host_name server.hostname.com service_description SIP test check_command check_sip # contact_groups voip-admins max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notification_interval 240 check_period 24x7 notification_period 24x7 notification_options c,r } I run the configuration check utility and it returns no errors, I restart nagios, and the host always appears down. I see some of the other command definitions have something like command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ but I have no idea what the variables are in this line and what relevance they have.... Can someone explain if I need to have these variables and what they actually mean? I believed that if I can run it from the command line, then I should just be able to use the same command in the command definition, or does it not work like that? Thanks in advance Robert ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From system at ra-schaal.de Tue Sep 9 00:53:04 2008 From: system at ra-schaal.de (Florian Schaal) Date: Tue, 09 Sep 2008 00:53:04 +0200 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> Message-ID: <48C5ACD0.2080203@ra-schaal.de> > command_line check_sip -u sip:username at server.hostname.com > command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ ^^^^^^^^ > but I have no idea what the variables are in this line and what > relevance they have.... > > Can someone explain if I need to have these variables and what they > actually mean? User macros can be defined in one or more resource files. Check out your resource.cfg for USER1. Instead of $USER1$ you can define the path to the script, ie something like /usr/local/nagios/libexec/check_sip ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vmanojv at rediffmail.com Tue Sep 9 08:36:56 2008 From: vmanojv at rediffmail.com (Nair) Date: 9 Sep 2008 06:36:56 -0000 Subject: Nagios Server Config Message-ID: <20080909063656.26697.qmail@f5mail-236-241.rediffmail.com> Hi Friends I have about 500 host checks and 8000 service checks performing in my Nagios server. The sever CPU usage goes high some times and there will long service check queues. Nagios version: 2.9 Server config: Two Dual Core 2.4 Ghz Processors and 8GB RAM. Any performance tuning tips other than those mentioned in Nagios site are welcome. Thank you, Nair. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 9 09:01:50 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Sep 2008 09:01:50 +0200 Subject: Nagios Server Config In-Reply-To: <20080909063656.26697.qmail@f5mail-236-241.rediffmail.com> References: <20080909063656.26697.qmail@f5mail-236-241.rediffmail.com> Message-ID: <48C61F5E.1020704@op5.se> Nair wrote: > Hi Friends > > I have about 500 host checks and 8000 service checks performing in my Nagios server. The sever CPU usage goes high some times and there will long service check queues. > > Nagios version: 2.9 > Server config: Two Dual Core 2.4 Ghz Processors and 8GB RAM. > > Any performance tuning tips other than those mentioned in Nagios site are welcome. > Upgrade to Nagios 3. It performs considerably better than Nagios 3. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sebastian.Ries at dtnet.de Tue Sep 9 09:57:08 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 09 Sep 2008 09:57:08 +0200 Subject: State-Retention in distributed Monitoring Message-ID: <1220947028.1758.19.camel@bofh.dtnet.de> Hi We are running a distributed nagios-System. The master still runs on debian sarge with nagios 1.3 Is there a possibility to enable state retention on the master server? Once I tried this with the effect of more than 1000 mails being sent out. (~900 Service-Checks most of them sent to more than one contact) Loosing the service state on every restart of nagios (changing Configuration) is not a problem but we also loose disabled notifications and acknowledgments which doesn't really make fun... Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Sep 9 11:15:53 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 9 Sep 2008 09:15:53 +0000 Subject: help debug In-Reply-To: <2bc9c4c843d539b1d6f295013d99d98f.squirrel@webmail.lockie.ca> References: <2bc9c4c843d539b1d6f295013d99d98f.squirrel@webmail.lockie.ca> Message-ID: <200809090915.53933.assaf.flatto@ssp.uk.com> Did you take a look in the messges or syslog ? Maybe also in the nagios .log to see some output on the reason it dies ? Did you install from source or packages ? In what platform, are you running , what version of nagios ? All this data will help . On Monday 08 September 2008 21:01:43 James wrote: > # sudo /etc/init.d/nagios start > -n Starting nagios: > Killed > CONFIG ERROR! Start aborted. Check your Nagios configuration. > > # sudo ../../bin/nagios -v ../nagios.cfg > Killed > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Sep 9 11:22:45 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 9 Sep 2008 09:22:45 +0000 Subject: State-Retention in distributed Monitoring In-Reply-To: <1220947028.1758.19.camel@bofh.dtnet.de> References: <1220947028.1758.19.camel@bofh.dtnet.de> Message-ID: <200809090922.45156.assaf.flatto@ssp.uk.com> First of - upgrade ! version 2 already had state retention in reload (reading the config changes and implementing them - no restart required) so it goes with out saying that ver 3 has it too. Assaf On Tuesday 09 September 2008 07:57:08 Sebastian Ries wrote: > Hi > > We are running a distributed nagios-System. > The master still runs on debian sarge with nagios 1.3 > > Is there a possibility to enable state retention on the master server? > Once I tried this with the effect of more than 1000 mails being sent > out. > (~900 Service-Checks most of them sent to more than one contact) > > Loosing the service state on every restart of nagios (changing > Configuration) is not a problem but we also loose disabled notifications > and acknowledgments which doesn't really make fun... > > Regards > Sebastian Ries IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lwehn at adlinkgroup.net Tue Sep 9 10:53:03 2008 From: lwehn at adlinkgroup.net (Lukas Wehn) Date: Tue, 9 Sep 2008 10:53:03 +0200 Subject: Problem with Nagiosadmin Message-ID: Hi all! We are using Nagios 3.0.3 on a Fedora 8 Server. After finding the tool Nagiosadmin and considering it worth to be installed, we have the problem that we can access the web interface properly, but as soon as we click on any module (like Generator ... ) it gives us a "Not found on server". We even tried to copy all the modules into the folder of the web interface, result was a "Forbidden" message (and yes, we checked permissions ;-) ). So, had anybody the same problems and found a workaround for this? Thanks in advance! Kind Regards, Lukas --------------------------------------------------------------------------------------------------- Lukas Wehn Apprentice AdLINK Internet Media AG Elgendorfer Stra?e 57 56410 Montabaur Germany Phone: +49 (0) 2602 96-1944 Fax: +49 (0) 2602 96-1912 Mobile: lwehn at adlinkgroup.net www.adlinkgroup.net HRB Montabaur 5432 Vorstand: St?phane Cordier, Andreas Janssen, Marc Stilke This e-mail may contain confidential and/or privileged information. If you are not the intended recipient of this e-mail, you are hereby notified that saving, distribution or use of the content of this e-mail in any way is prohibited. If you have received this e-mail in error, please notify the sender and delete the e-mail. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From BChan at Shawcor.com Tue Sep 9 10:54:31 2008 From: BChan at Shawcor.com (Brian Chan) Date: Tue, 9 Sep 2008 04:54:31 -0400 Subject: Chan, Brian is out of the office. Message-ID: I will be out of the office starting 09/08/2008 and will not return until 09/15/2008. I will respond to your message when I return. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sebastian.Ries at dtnet.de Tue Sep 9 11:02:43 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 09 Sep 2008 11:02:43 +0200 Subject: State-Retention in distributed Monitoring In-Reply-To: <200809090922.45156.assaf.flatto@ssp.uk.com> References: <1220947028.1758.19.camel@bofh.dtnet.de> <200809090922.45156.assaf.flatto@ssp.uk.com> Message-ID: <1220950963.1758.29.camel@bofh.dtnet.de> Hi Am Dienstag, den 09.09.2008, 09:22 +0000 schrieb Assaf Flatto: > First of - upgrade ! > version 2 already had state retention in reload (reading the config > changes and implementing them - > no restart required) so it goes with out saying that ver 3 has it too. Yes, I expected an answer like that :-/ The problem is that we have a system with distributed servers at each of our customers and the master server located at our RZ. As some of them do not want to invest in new systems we have some old linux distributions running that do not provide nagios2 and none of our customers will pay us for compiling nagios2 to install it... So as the configuration files are not compatible between nagios1 and nagios2 it would be too much work that will not be payed... On the distributed servers state retention works that's why I thought that it also should work on the master server. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Tue Sep 9 11:07:19 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 9 Sep 2008 11:07:19 +0200 Subject: NAGVIS minimal broker options In-Reply-To: References: Message-ID: <200809091107.19733.pitchfork@ederdrom.de> Am Montag, 8. September 2008 19:19 schrieb Israel Brewster: > In trying to implement NAGVIS on my system, I have been running into > performance issues where the NDO daemon/mysql consume vast amounts of > processor power, essentially bringing nagios and everything else to a > halt until they complete. This is a problem (I belive) with mysql, and > as such can't really be helped directly (except by moving the sql > server to another machine), however I was thinking it may be possible > to minimize the impact by telling nagios to broker less than > everything, on the assumption that nagios is sending some stuff to the > database that nagvis doesn't actually need. Is this, in fact, the > case? If so, what are the minimal broker options needed to make nagvis > happy? Thanks. Based on nagios 3.0.3 event_broker_options=-1 is used in my nagios.cfg data_processing_options=16644865 is used in my ndomod.cfg Gerhards tool will help you to find the best value for your system http://www.consol.de/opensource/nagios/ndo-data-processing-options/ Regards Joerg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 9 09:01:06 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Sep 2008 09:01:06 +0200 Subject: Nagios Server Config In-Reply-To: <20080909063656.26697.qmail@f5mail-236-241.rediffmail.com> References: <20080909063656.26697.qmail@f5mail-236-241.rediffmail.com> Message-ID: <48C61F32.1050901@op5.se> Nair wrote: > Hi Friends > > I have about 500 host checks and 8000 service checks performing in my Nagios server. The sever CPU usage goes high some times and there will long service check queues. > > Nagios version: 2.9 > Server config: Two Dual Core 2.4 Ghz Processors and 8GB RAM. > > Any performance tuning tips other than those mentioned in Nagios site are welcome. > > Thank you, > Nair. > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Tue Sep 9 14:12:17 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 09 Sep 2008 08:12:17 -0400 Subject: Variable notifications In-Reply-To: <20080909135923.P88766@mippet.ci.com.au> References: <20080909135923.P88766@mippet.ci.com.au> Message-ID: <48C66821.9030304@collaborativefusion.com> Dave Horsfall wrote: > Except for the computer room temperature monitor... I want this to be > 24x7, notifying via as many channels as possible. I've experimented with > several techniques, but they all boil down to me inheriting the 24x7 > period for all hosts/services etc. Unless I'm missing something about your config, you just need to add "notification_period 24x7" to the temperature check definition. Any directive set in a template can also be used in an individual object definition and any value set in the check itself will override the value from the template. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From medula at baytree.com Tue Sep 9 16:18:13 2008 From: medula at baytree.com (Murali Edula) Date: Tue, 9 Sep 2008 10:18:13 -0400 Subject: yet another Error 127 issue In-Reply-To: <2E919ACC-DE84-4AB9-BB19-D9F35A65CB1F@ena.com> References: <57B8C921BBE8FF4982FA726D39BC60EF0461F695@SITE2MAIL01.jeeves.ask.info> <2E919ACC-DE84-4AB9-BB19-D9F35A65CB1F@ena.com> Message-ID: <000001c91286$e56551f0$b02ff5d0$@com> Marc, My problem is similar to this, send_nsca works fine if I run as nagios user. /usr/local/nagios/bin/send_nsca -H athens.baytree.com -c /usr/local/nagios/etc/send_nsca.cfg -d "," rome.baytree.com,'Current Users',0,'USERS OK - 5 users currently logged in' But, when it runs as nagios daemon its give error code 127. See the bellow nagios.log I am also using same version nagios3.0.3, plugins - 1.4.12 and nsca - 2.7 Please help: [1220969082] Warning: Attempting to execute the command "/usr/local/nagios/bin/send_nsca -H athens.baytree.com -c /usr/local/nagios/etc/send_nsca.cfg -d "," rome.baytree.com,'Current Users',0,'USERS OK - 5 users currently logged in'" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Thank you Murali Edula Baytree Associates, Inc. 704.424.9723 ext. 117| 203-809-6725 Cell 13925 Ballantyne Corporate Place Suite 190, Charlotte, NC 28277-2747 medula at baytree.com | www.baytree.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, September 08, 2008 4:44 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] yet another Error 127 issue On Sep 8, 2008, at 3:25 PM, Scott Macdonald wrote: > So here's the problem.. host checks run without a problem.. but > service checks come back with Status code 127.. All of them or some of them? If all, does $USER1$, if you use it, point to the correct plugins location and resource.cfg loaded as a resource_file? If only some of the, please provide specific information about the service/command definitions and the plugin in question (ls -al, etc)... http://www.waggy.at/nagios/capture_plugin.htm might be useful. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jcall at verio.net Tue Sep 9 17:55:15 2008 From: jcall at verio.net (Jonathan Call) Date: Tue, 9 Sep 2008 11:55:15 -0400 Subject: Anyone tried Nagios 3.0.3 on FreeBSD yet? In-Reply-To: <20080909084253.G88766@mippet.ci.com.au> References: <04F3233F47E2714CB7431AE913E57E7702EB1632@IAD-WPRD-XCHB02.corp.verio.net><48C536FF.1050701@collaborativefusion.com> <20080909084253.G88766@mippet.ci.com.au> Message-ID: <04F3233F47E2714CB7431AE913E57E7702EB1792@IAD-WPRD-XCHB02.corp.verio.net> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dave Horsfall Sent: Monday, September 08, 2008 4:46 PM To: Nagios Users Subject: Re: [Nagios-users] Anyone tried Nagios 3.0.3 on FreeBSD yet? On Mon, 8 Sep 2008, Sean McAfee wrote: > This has long been in the ports tree as nagios-devel - it was just > pending the repocopy of 2.x to nagios2. I've been running it since b2 > with no issues outside of the libthr one > (http://www.freebsd.org/cgi/getmsg.cgi?fetch=662046+0+/usr/local/www/db/ text/2008/cvs-ports/20080120.cvs-ports). Interesting; on FreeBSD 7 (and I think 6) libpthread is symlinked to libthr: lrwxr-xr-x 1 root wheel 8 Jul 20 16:07 libpthread.a -> libthr.a lrwxr-xr-x 1 root wheel 9 Jul 20 16:07 libpthread.so -> libthr.so lrwxr-xr-x 1 root wheel 10 Jul 20 16:07 libpthread_p.a -> libthr_p.a That is the case in FreeBSD 7. But not FreeBSD 6. > I honestly haven't noticed many changes (outside of cfg_dir recursion > working correctly). On the completely anecdotal side, it does seem to > be more efficient overall but I think that's related to general > improvements on the 3.x branch. Well, it hasn't hung yet... Did it ever hang while running Nagios 2? My current FreeBSD 7.0 (amd64) box has not been able to run Nagios 2.12_1 as smoothly as my FreeBSD 6.3 (i386) can. And the FreeBSD 7.0 server has a significantly fewer number of services too. I'm trying to figure out if upgrading might help. Jonathan This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smacDonald at ask.com Tue Sep 9 18:21:43 2008 From: smacDonald at ask.com (Scott Macdonald) Date: Tue, 9 Sep 2008 12:21:43 -0400 Subject: yet another Error 127 issue In-Reply-To: <2E919ACC-DE84-4AB9-BB19-D9F35A65CB1F@ena.com> References: <57B8C921BBE8FF4982FA726D39BC60EF0461F695@SITE2MAIL01.jeeves.ask.info> <2E919ACC-DE84-4AB9-BB19-D9F35A65CB1F@ena.com> Message-ID: <57B8C921BBE8FF4982FA726D39BC60EF0461F839@SITE2MAIL01.jeeves.ask.info> Thank you very much for the link to the plugin.. but alas it does not work since I am still getting 127 and no output to the text file.. when running the script from cli it works fine and generates an output file.. so it would seem to be something deeper then config issues.. here is some more info Resource cfg line: $USER1$=/disk1/nagios/libexec Command defs: define command{ command_name check_ntp command_line /disk1/nagios/libexec/capture_plugin.pl $USER1$/check_ntp -H $HOSTADDRESS$ } define command{ command_name check_ssh command_line $USER1$/check_ssh -t 2 $HOSTADDRESS$ } service defs: define service{ use offline-service service_description ssh servicegroups tn-offline hostgroups tn-Offline check_command check_ssh } define service{ use offline-service service_description ntp servicegroups tn-offline hostgroups tn-Offline check_command check_ntp } ls -l: m1tn:/disk1/nagios/libexec# ls -l check_ssh check_ntp capture_plugin.pl -rwxr-xr-x 1 nagios nagios 1916 Sep 9 15:58 capture_plugin.pl -rwxr-xr-x 1 nagios nagios 83246 Sep 8 19:39 check_ntp -rwxr-xr-x 1 nagios nagios 65799 Sep 8 19:39 check_ssh snip from nagios log: [1220976597] Warning: Return code of 127 for check of service 'ssh' on host '' was out of bounds. Make sure the plugin you're trying to run actually exists. [1220976597] Warning: Return code of 127 for check of service 'ntp' on host '' was out of bounds. Make sure the plugin you're trying to run actually exists. [1220976597] Warning: Return code of 127 for check of service 'ssh' on host '' was out of bounds. Make sure the plugin you're trying to run actually exists. [1220976597] Warning: Return code of 127 for check of service 'ntp' on host '' was out of bounds. Make sure the plugin you're trying to run actually exists. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, September 08, 2008 4:44 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] yet another Error 127 issue On Sep 8, 2008, at 3:25 PM, Scott Macdonald wrote: > So here's the problem.. host checks run without a problem.. but > service checks come back with Status code 127.. All of them or some of them? If all, does $USER1$, if you use it, point to the correct plugins location and resource.cfg loaded as a resource_file? If only some of the, please provide specific information about the service/command definitions and the plugin in question (ls -al, etc)... http://www.waggy.at/nagios/capture_plugin.htm might be useful. -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From localyee at gmail.com Tue Sep 9 18:37:27 2008 From: localyee at gmail.com (localyee) Date: Wed, 10 Sep 2008 00:37:27 +0800 Subject: how can i monitor a application using nagios Message-ID: <200809100037251251803@gmail.com> i can monitor the server of a host,as HTTP,FTP... and how can i monitor an application the the host using nagios, what i want is to check if the application is running well-balanced or not 2008-09-10 localyee -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Gerhard.Lausser at consol.de Tue Sep 9 18:46:31 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 9 Sep 2008 18:46:31 +0200 Subject: how can i monitor a application using nagios In-Reply-To: <200809100037251251803@gmail.com> References: <200809100037251251803@gmail.com> Message-ID: <62C876E28C6B48AF983B54A73CF2B772@pauli> The best way to do this is to write a plugin check_application_is_running_well_balanced. Either there is already such a plugin or you have to write it on your own. The code of the plugin depends strongly on your application. It needs to find out wether the application is running well balanced or not. That's all i can offer, because i don't even know the name of this aplication. Gerhard _____ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von localyee Gesendet: Dienstag, 9. September 2008 18:37 An: nagios-users Betreff: [Nagios-users] how can i monitor a application using nagios i can monitor the server of a host,as HTTP,FTP... and how can i monitor an application the the host using nagios, what i want is to check if the application is running well-balanced or not 2008-09-10 _____ localyee -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cstolworthy at zonder.com Tue Sep 9 19:53:31 2008 From: cstolworthy at zonder.com (Chris Stolworthy) Date: Tue, 9 Sep 2008 11:53:31 -0600 Subject: Load Balanced Website Message-ID: Hey everyone, I have been looking but I can't seem to find an article that deals specifically with my problem. I have 2 servers (lets say 192.168.1.10,192.168.1.20) they both have the same website on them and they are load balanced. I would like to specifically check that the website on 192.168.1.10 is up and then check that the website on 192.168.1.20 is up as well. I can get it to work by putting in the url testing.test.com, but I cannot seem to get anything working with a specific url. I assume that the check_http module can handle this, but I am not sure how to configure it. Any help is appreciated. -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 9 20:27:42 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Sep 2008 13:27:42 -0500 Subject: Load Balanced Website In-Reply-To: References: Message-ID: On Sep 9, 2008, at 12:53 PM, Chris Stolworthy wrote: > Hey everyone, > > I have been looking but I can?t seem to find an article that deals > specifically with my problem. I have 2 servers (lets say > 192.168.1.10,192.168.1.20) they both have the same website on them > and they are load balanced. I would like to specifically check that > the website on 192.168.1.10 is up and then check that the website on > 192.168.1.20 is up as well. I can get it to work by putting in the > url testing.test.com, but I cannot seem to get anything working with > a specific url. I assume that the check_http module can handle > this, but I am not sure how to configure it. Create a host{} definition for each server -- define host { host_name webserver_1 alias Tasty Server 1 address 192.168.1.10 ... } (repeat) Create a service definition associated with each server -- define service { host_name webserver_1 service_description My Happy Balanced Site check_command check_http_url!testing.test.com!/path/to/check ... } (repeat) Create a command definition that allows for dynamic v1.1 host header and url path (suitable for use for other websites) -- define command { command_name check_http_url command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -w 20 -c 30 -t 45 } Explanation -- For each host, check_http will (check_http --help) -- check the webserver listening on the host -I, --IP-address=ADDRESS IP address or name (use numeric address if possible to bypass DNS lookup). ask for the virtual host 'testing.test.com' -H, --hostname=ADDRESS Host name argument for servers using host headers (virtual host) and the path '/path/to/check' -u, --url=PATH URL to GET or POST (default: /) WARNING if it takes longer than 20 seconds -w 20 CRITICAL if it takes longer than 30 seconds -c 30 timeout if all else fails in 45 seconds -t 45 You'll get an alert if either is down. If you want to test if the site is completely unavailable, the check_cluster plugin would be the way to go combined with the above. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 9 20:56:55 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Sep 2008 20:56:55 +0200 Subject: Problem with Nagiosadmin In-Reply-To: References: Message-ID: <48C6C6F7.7060907@op5.se> Lukas Wehn wrote: > Hi all! > > We are using Nagios 3.0.3 on a Fedora 8 Server. > After finding the tool Nagiosadmin and considering it worth to be installed, we have the problem that we can access the web interface properly, but as soon as we click on any module (like Generator ... ) it gives us a "Not found on server". > > We even tried to copy all the modules into the folder of the web interface, result was a "Forbidden" message (and yes, we checked permissions ;-) ). > So, had anybody the same problems and found a workaround for this? > You'll have better luck at the nagiosadmin mailing list, I think. It could be as simple as nagiosadmin not being Nagios3 compatible. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From webknowledge at gmail.com Tue Sep 9 21:21:18 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 9 Sep 2008 16:21:18 -0300 Subject: how can i monitor a application using nagios In-Reply-To: <200809100037251251803@gmail.com> References: <200809100037251251803@gmail.com> Message-ID: <2dfcbd1b0809091221x35a3abd4h5d2cfdc1b4001aab@mail.gmail.com> Hey there, just a thought, On Tue, Sep 9, 2008 at 1:37 PM, localyee wrote: > i can monitor the server of a host,as HTTP,FTP... > and how can i monitor an application the the host using nagios, > what i want is to check if the application is running well-balanced or not > IF by 'well-balanced' you meant that you have a farm of servers which receives or is stablishing connections through some kind of SLB or CSM switches even VLS, then you could write a script that would verify the number of stablished connections per service, and then comparing the number of connections to prove your balancing algorithm choice is doing what is supposed to do. But, why not just test if the service is up by the virtual ip address, and then setup a check to every host that is responding within the farm to pin-point the problematic host without checking the balancing algorithm? Well, I still am trying to understand what you meant by 'well balanced'. HTH, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From webknowledge at gmail.com Tue Sep 9 21:26:51 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 9 Sep 2008 16:26:51 -0300 Subject: HYPERIC Message-ID: <2dfcbd1b0809091226g509c0393je9a60cd5dcf4ae59@mail.gmail.com> Hi, Anyone have cents to share about this monitoring solution? Just get to know about it, and sounds pretty damn covered by great partnerships. www.hyperic.net I would like to hear the opinion about this tool, if anyone would share your thoughts. TIA, Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tdondich at gmail.com Tue Sep 9 21:59:36 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Tue, 9 Sep 2008 12:59:36 -0700 Subject: HYPERIC In-Reply-To: <2dfcbd1b0809091226g509c0393je9a60cd5dcf4ae59@mail.gmail.com> References: <2dfcbd1b0809091226g509c0393je9a60cd5dcf4ae59@mail.gmail.com> Message-ID: <3d2eb72a0809091259j76862bcbrcb7ec2388395c11e@mail.gmail.com> Complicated JAVA-based monitoring solution. I don't recommend it. Taylor On Tue, Sep 9, 2008 at 12:26 PM, Marcel wrote: > Hi, > > Anyone have cents to share about this monitoring solution? > > Just get to know about it, and sounds pretty damn covered by great > partnerships. > > www.hyperic.net > > I would like to hear the opinion about this tool, if anyone would share your > thoughts. > > TIA, > Marcel > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Tue Sep 9 22:00:36 2008 From: bjlockie at lockie.ca (James) Date: Tue, 9 Sep 2008 16:00:36 -0400 (EDT) Subject: help debug Message-ID: <1983667522e74c81535ee0027ce20a58.squirrel@webmail.lockie.ca> Assaf Flatto wrote: > Did you take a look in the messges or syslog ? Maybe also in the nagios .log to see some output on the reason it dies ? There is nothing. :-( > Did you install from source or packages ? I compiled it from source. > In what platform, are you running , what version of nagios ? solaris2.10 nagios-3.0.3 > > > All this data will help . I recompiled it and it still doesn't work. > > On Monday 08 September 2008 21:01:43 James wrote: > >> # sudo /etc/init.d/nagios start >> -n Starting nagios: >> Killed >> CONFIG ERROR! Start aborted. Check your Nagios configuration. >> >> # sudo ../../bin/nagios -v ../nagios.cfg >> Killed >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 9 22:24:55 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Sep 2008 15:24:55 -0500 Subject: help debug In-Reply-To: <1983667522e74c81535ee0027ce20a58.squirrel@webmail.lockie.ca> References: <1983667522e74c81535ee0027ce20a58.squirrel@webmail.lockie.ca> Message-ID: On Sep 9, 2008, at 3:00 PM, James wrote: > Assaf Flatto wrote: >> Did you take a look in the messges or syslog ? Maybe also in the >> nagios > .log to see some output on the reason it dies ? > > There is nothing. :-( > >> Did you install from source or packages ? > > I compiled it from source. > >> In what platform, are you running , what version of nagios ? > solaris2.10 > nagios-3.0.3 >> >> >> All this data will help . > > I recompiled it and it still doesn't work. Try running the daemon in foreground mode and/or under truss (truss - fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's killing it. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cstolworthy at zonder.com Tue Sep 9 22:48:05 2008 From: cstolworthy at zonder.com (Chris Stolworthy) Date: Tue, 9 Sep 2008 14:48:05 -0600 Subject: Authentication problem Message-ID: I am converting my Nagios install to use active directory to authenticate against. I am pretty sure this is working because when I hit my nagios url (nagios.site.local) it prompts for authentication. I input my username / pass for active directory and it logs me in to the Nagios homepage. However whenever I try to use anything (Service Detail as an example) it pops up an authentication box again and the only user that can navigate anywhere is the admin user I created when I first installed nagios. I am guessing that there is something in a config somewhere, or a file that is causing this but I cannot seem to find it. Any ideas? -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Tue Sep 9 22:55:35 2008 From: bjlockie at lockie.ca (James) Date: Tue, 9 Sep 2008 16:55:35 -0400 (EDT) Subject: help debug In-Reply-To: References: <1983667522e74c81535ee0027ce20a58.squirrel@webmail.lockie.ca> Message-ID: <87772366fa6419165b72b90db08bb2b8.squirrel@webmail.lockie.ca> On Tue, September 9, 2008 4:24 pm, Marc Powell wrote: > > On Sep 9, 2008, at 3:00 PM, James wrote: > > >> Assaf Flatto wrote: >> >>> Did you take a look in the messges or syslog ? Maybe also in the >>> nagios >> .log to see some output on the reason it dies ? >> >> >> There is nothing. :-( >> >> >>> Did you install from source or packages ? >>> >> >> I compiled it from source. >> >> >>> In what platform, are you running , what version of nagios ? >>> >> solaris2.10 nagios-3.0.3 >>> >>> >>> All this data will help . >>> >> >> I recompiled it and it still doesn't work. >> > > Try running the daemon in foreground mode and/or under truss (truss - > fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's killing > it. sudo truss -fea /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg truss: cannot execute program: /usr/local/nagios/bin/nagios $ ls -l /usr/local/nagios/bin/nagios -rwxrwxr-- 1 nagios nagios 1318060 Aug 22 17:24 /usr/local/nagios/bin/nagios > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From webknowledge at gmail.com Tue Sep 9 22:59:37 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 9 Sep 2008 17:59:37 -0300 Subject: Authentication problem In-Reply-To: References: Message-ID: <2dfcbd1b0809091359v58859853q8da00a62cc833b2b@mail.gmail.com> IF there is no way to plug-in any post-login script, you should edit manually the /path/to/nagios/etc/cgi.cfg and add your login name where suits your needs. And, you should add your login name to be a contact, and that contact should be a member of a contactgroup to actually see your hosts being monitored. HTH On Tue, Sep 9, 2008 at 5:48 PM, Chris Stolworthy wrote: > I am converting my Nagios install to use active directory to authenticate > against. I am pretty sure this is working because when I hit my nagios url > (nagios.site.local) it prompts for authentication. I input my username / > pass for active directory and it logs me in to the Nagios homepage. However > whenever I try to use anything (Service Detail as an example) it pops up an > authentication box again and the only user that can navigate anywhere is the > admin user I created when I first installed nagios. I am guessing that > there is something in a config somewhere, or a file that is causing this but > I cannot seem to find it. Any ideas? > > > > -Chris > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 9 23:02:14 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Sep 2008 16:02:14 -0500 Subject: Authentication problem In-Reply-To: References: Message-ID: <8CAC7A83-3164-41BB-93A4-E2FDEDBC6B95@ena.com> On Sep 9, 2008, at 3:48 PM, Chris Stolworthy wrote: > I am converting my Nagios install to use active directory to > authenticate against. I am pretty sure this is working because when > I hit my nagios url (nagios.site.local) it prompts for > authentication. I input my username / pass for active directory and > it logs me in to the Nagios homepage. However whenever I try to use > anything (Service Detail as an example) it pops up an authentication > box again and the only user that can navigate anywhere is the admin > user I created when I first installed nagios. I am guessing that > there is something in a config somewhere, or a file that is causing > this but I cannot seem to find it. Any ideas? Did you modify the htaccess configuration for the sbin directory? That's the only one that really matters. Sounds like you just changed the one for the share directory. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From spribyl at peel.com Tue Sep 9 23:02:15 2008 From: spribyl at peel.com (Steve Pribyl) Date: Tue, 09 Sep 2008 16:02:15 -0500 Subject: help debug In-Reply-To: <87772366fa6419165b72b90db08bb2b8.squirrel@webmail.lockie.ca> References: <1983667522e74c81535ee0027ce20a58.squirrel@webmail.lockie.ca> <87772366fa6419165b72b90db08bb2b8.squirrel@webmail.lockie.ca> Message-ID: <48C6E457.6020604@peel.com> You might also want to add #!/bin/bash -x or #!/bin/sh -x to the top of the init script to see what the script is actually doing. Steve ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asteriskator at gmail.com Tue Sep 9 23:07:19 2008 From: asteriskator at gmail.com (Robert McNaught) Date: Tue, 9 Sep 2008 14:07:19 -0700 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> Message-ID: <424bdbb90809091407g1dbbed80y7cd3b9334acca680@mail.gmail.com> Does anyone have a working example of the check_sip plugin working, if so could they post the command definition and the service definition? Thanks Robert On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught wrote: > Hi, I am using Nagios 3 on CentOS 5. > > I am not understanding how to set up a service check for SIP (Session > Initiation Protocol). > > I can run the check_sip perl script from the command line and get a > valid response, but cannot get it to work under nagios. > > [root at lab01 libexec]# /usr/local/nagios/libexec/check_sip -u > sip:username at server.hostname.com -f sip:username at server.hostname.com > -H server.hostname.com > SIP/2.0 200 OK, 0.017372 seconds response > time|rtt=0.017372s;0.5s;1s;0:10; code=200 > > > I have added in a command definition in commands.cfg: > > #'check_sip' command definition added by RJM > define command{ > command_name check_sip > command_line check_sip -u sip:username at server.hostname.com > -f sip:username at server.hostname.com -H server.hostname.com > > } > > I have a host and service definition also of: > > > define host{ > use generic-switch ; Inherit default > values from a template > host_name server.hostname.com ; The name > we're giving to this switch > alias server ; A longer name associated with the wtch > address XXX.XXX.XXX.XXX ; IP address of the switch > hostgroups core ; Host groups this switch > is associated with > } > > > define service{ > use core-template > host_name server.hostname.com > service_description SIP test > check_command check_sip > # contact_groups voip-admins > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 240 > check_period 24x7 > notification_period 24x7 > notification_options c,r > } > > > I run the configuration check utility and it returns no errors, I > restart nagios, and the host always appears down. > > I see some of the other command definitions have something like > > command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ > > but I have no idea what the variables are in this line and what > relevance they have.... > > Can someone explain if I need to have these variables and what they > actually mean? I believed that if I can run it from the command line, > then I should just be able to use the same command in the command > definition, or does it not work like that? > > Thanks in advance > > Robert > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cstolworthy at zonder.com Tue Sep 9 23:11:21 2008 From: cstolworthy at zonder.com (Chris Stolworthy) Date: Tue, 9 Sep 2008 15:11:21 -0600 Subject: Authentication problem In-Reply-To: <8CAC7A83-3164-41BB-93A4-E2FDEDBC6B95@ena.com> References: <8CAC7A83-3164-41BB-93A4-E2FDEDBC6B95@ena.com> Message-ID: I haven't changed the file for the sbin directory. Honestly I was somewhat surprised I managed to get the authentication working at all. Being somewhat new at this, do you have a link or something I could look at to get an idea of what I need to do? -Chris -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, September 09, 2008 3:02 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Authentication problem On Sep 9, 2008, at 3:48 PM, Chris Stolworthy wrote: > I am converting my Nagios install to use active directory to > authenticate against. I am pretty sure this is working because when > I hit my nagios url (nagios.site.local) it prompts for > authentication. I input my username / pass for active directory and > it logs me in to the Nagios homepage. However whenever I try to use > anything (Service Detail as an example) it pops up an authentication > box again and the only user that can navigate anywhere is the admin > user I created when I first installed nagios. I am guessing that > there is something in a config somewhere, or a file that is causing > this but I cannot seem to find it. Any ideas? Did you modify the htaccess configuration for the sbin directory? That's the only one that really matters. Sounds like you just changed the one for the share directory. -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 9 23:13:17 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Sep 2008 16:13:17 -0500 Subject: help debug In-Reply-To: <87772366fa6419165b72b90db08bb2b8.squirrel@webmail.lockie.ca> References: <1983667522e74c81535ee0027ce20a58.squirrel@webmail.lockie.ca> <87772366fa6419165b72b90db08bb2b8.squirrel@webmail.lockie.ca> Message-ID: <1E54988A-7201-4789-B24B-5DB076980319@ena.com> >> >> Try running the daemon in foreground mode and/or under truss (truss - >> fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's >> killing >> it. > > sudo truss -fea /usr/local/nagios/bin/nagios /usr/local/nagios/etc/ > nagios.cfg > truss: cannot execute program: /usr/local/nagios/bin/nagios Don't give up on Google just because we're helping... The first hit on the following search (sunmanagers.org) offers lots of helpful suggestions and a possible solution -- http://www.google.com/search?q=truss:+cannot+execute+program:+&ie=UTF-8&oe=UTF-8 -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 9 23:16:15 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Sep 2008 16:16:15 -0500 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809091407g1dbbed80y7cd3b9334acca680@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> <424bdbb90809091407g1dbbed80y7cd3b9334acca680@mail.gmail.com> Message-ID: <282E2E76-A921-45C0-807B-1B9DB14E6B1A@ena.com> On Sep 9, 2008, at 4:07 PM, Robert McNaught wrote: > Does anyone have a working example of the check_sip plugin working, > if so could they post the command definition and the service > definition? I don't, but can say that nagios doesn't run plugins as root as you did below. The difference in permissions is frequently a cause of failures. Try running the plugin as the nagios user to see if you see more useful output. > On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught > wrote: >> Hi, I am using Nagios 3 on CentOS 5. >> >> I am not understanding how to set up a service check for SIP (Session >> Initiation Protocol). >> >> I can run the check_sip perl script from the command line and get a >> valid response, but cannot get it to work under nagios. >> >> [root at lab01 libexec]# /usr/local/nagios/libexec/check_sip -u >> sip:username at server.hostname.com -f sip:username at server.hostname.com >> -H server.hostname.com >> SIP/2.0 200 OK, 0.017372 seconds response >> time|rtt=0.017372s;0.5s;1s;0:10; code=200 -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 9 23:21:32 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Sep 2008 16:21:32 -0500 Subject: Authentication problem In-Reply-To: References: <8CAC7A83-3164-41BB-93A4-E2FDEDBC6B95@ena.com> Message-ID: On Sep 9, 2008, at 4:11 PM, Chris Stolworthy wrote: > I haven't changed the file for the sbin directory. Honestly I was > somewhat surprised I managed to get the authentication working at all. > Being somewhat new at this, do you have a link or something I could > look > at to get an idea of what I need to do? I don't have anything specific to AD authentication but if you have it working for the share directory, which it appears you might, then the configuration would be identical for the sbin directory. http://nagios.sourceforge.net/docs/2_0/installweb.html details what the standard htaccess configuration looks like. You'd just need to take the parts you modified for /usr/local/nagios/share and replicate them in the Directory definition for /usr/local/nagios/sbin. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cstolworthy at zonder.com Tue Sep 9 23:27:32 2008 From: cstolworthy at zonder.com (Chris Stolworthy) Date: Tue, 9 Sep 2008 15:27:32 -0600 Subject: Authentication problem In-Reply-To: References: <8CAC7A83-3164-41BB-93A4-E2FDEDBC6B95@ena.com> Message-ID: Awesome! It worked, thanks! -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, September 09, 2008 3:22 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Authentication problem On Sep 9, 2008, at 4:11 PM, Chris Stolworthy wrote: > I haven't changed the file for the sbin directory. Honestly I was > somewhat surprised I managed to get the authentication working at all. > Being somewhat new at this, do you have a link or something I could > look > at to get an idea of what I need to do? I don't have anything specific to AD authentication but if you have it working for the share directory, which it appears you might, then the configuration would be identical for the sbin directory. http://nagios.sourceforge.net/docs/2_0/installweb.html details what the standard htaccess configuration looks like. You'd just need to take the parts you modified for /usr/local/nagios/share and replicate them in the Directory definition for /usr/local/nagios/sbin. -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asteriskator at gmail.com Tue Sep 9 23:39:31 2008 From: asteriskator at gmail.com (Robert McNaught) Date: Tue, 9 Sep 2008 14:39:31 -0700 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809091438j6d3290e8s3e19bb0986a6046a@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> <424bdbb90809091407g1dbbed80y7cd3b9334acca680@mail.gmail.com> <282E2E76-A921-45C0-807B-1B9DB14E6B1A@ena.com> <424bdbb90809091438j6d3290e8s3e19bb0986a6046a@mail.gmail.com> Message-ID: <424bdbb90809091439r26f9e75fv49b2db9bed61215c@mail.gmail.com> On Tue, Sep 9, 2008 at 2:38 PM, Robert McNaught wrote: > I'm getting it working OK when I su to nagios and run the command from the CLI: > > [nagios at lab01 libexec]$ ./check_sip -u sip:username at hostname.com > SIP/2.0 200 OK, 0.016589 seconds response > time|rtt=0.016589s;0.5s;1s;0:10; code=200 > > I can watch the SIP server and see the Options message coming in and > the OK going back out. > > > My command definition based on the above command in nagios is: > > define command{ > command_name check_sip > command_line $USER1$/check_sip -u $ARG1$ > } > > My service definition is: > > define service{ > use core-template > host_name hostname.com > service_description SIP test > check_command check_sip!sip:username at hostname.com > # contact_groups voip-admins > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 240 > check_period 24x7 > notification_period 24x7 > notification_options c,r > } > > > When I run the nagios config check utility, I get no errors. I never > see any messages coming in on the SIP server when the check is done. > > Its like it is not trying to run the check_sip script. > > I am worried that this is wrong as I am not sure how the syntax works: > > check_command check_sip!sip:username at hostname.com > > > > Anyone seen this before? > > TIA > > Robert > > > > > > > On Tue, Sep 9, 2008 at 2:16 PM, Marc Powell wrote: >> >> On Sep 9, 2008, at 4:07 PM, Robert McNaught wrote: >> >>> Does anyone have a working example of the check_sip plugin working, >>> if so could they post the command definition and the service >>> definition? >> >> I don't, but can say that nagios doesn't run plugins as root as you >> did below. The difference in permissions is frequently a cause of >> failures. Try running the plugin as the nagios user to see if you see >> more useful output. >> >>> On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught >> > wrote: >>>> Hi, I am using Nagios 3 on CentOS 5. >>>> >>>> I am not understanding how to set up a service check for SIP (Session >>>> Initiation Protocol). >>>> >>>> I can run the check_sip perl script from the command line and get a >>>> valid response, but cannot get it to work under nagios. >>>> >>>> [root at lab01 libexec]# /usr/local/nagios/libexec/check_sip -u >>>> sip:username at server.hostname.com -f sip:username at server.hostname.com >>>> -H server.hostname.com >>>> SIP/2.0 200 OK, 0.017372 seconds response >>>> time|rtt=0.017372s;0.5s;1s;0:10; code=200 >> >> -- >> Marc >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asteriskator at gmail.com Wed Sep 10 00:04:32 2008 From: asteriskator at gmail.com (Robert McNaught) Date: Tue, 9 Sep 2008 15:04:32 -0700 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809091439r26f9e75fv49b2db9bed61215c@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> <424bdbb90809091407g1dbbed80y7cd3b9334acca680@mail.gmail.com> <282E2E76-A921-45C0-807B-1B9DB14E6B1A@ena.com> <424bdbb90809091438j6d3290e8s3e19bb0986a6046a@mail.gmail.com> <424bdbb90809091439r26f9e75fv49b2db9bed61215c@mail.gmail.com> Message-ID: <424bdbb90809091504x68691080l7ef7cbb1f2c12a8c@mail.gmail.com> I'm getting it working OK when I su to nagios and run the command from the CLI: [nagios at lab01 libexec]$ ./check_sip -u sip:username at hostname.com SIP/2.0 200 OK, 0.016589 seconds response time|rtt=0.016589s;0.5s;1s;0:10; code=200 I can watch the SIP server and see the Options message coming in and the OK going back out. My command definition based on the above command in nagios is: define command{ command_name check_sip command_line $USER1$/check_sip -u $ARG1$ } My service definition is: define service{ use core-template host_name hostname.com service_description SIP test check_command check_sip!sip:username at hostname.com # contact_groups voip-admins max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notification_interval 240 check_period 24x7 notification_period 24x7 notification_options c,r } When I run the nagios config check utility, I get no errors. I never see any messages coming in on the SIP server when the check is done. Its like it is not trying to run the check_sip script. I am worried that this is wrong as I am not sure how the syntax works: check_command check_sip!sip:username at hostname.com Anyone seen this before? TIA Robert On Tue, Sep 9, 2008 at 2:39 PM, Robert McNaught wrote: > On Tue, Sep 9, 2008 at 2:38 PM, Robert McNaught wrote: >> I'm getting it working OK when I su to nagios and run the command from the CLI: >> >> [nagios at lab01 libexec]$ ./check_sip -u sip:username at hostname.com >> SIP/2.0 200 OK, 0.016589 seconds response >> time|rtt=0.016589s;0.5s;1s;0:10; code=200 >> >> I can watch the SIP server and see the Options message coming in and >> the OK going back out. >> >> >> My command definition based on the above command in nagios is: >> >> define command{ >> command_name check_sip >> command_line $USER1$/check_sip -u $ARG1$ >> } >> >> My service definition is: >> >> define service{ >> use core-template >> host_name hostname.com >> service_description SIP test >> check_command check_sip!sip:username at hostname.com >> # contact_groups voip-admins >> max_check_attempts 4 >> normal_check_interval 5 >> retry_check_interval 1 >> notification_interval 240 >> check_period 24x7 >> notification_period 24x7 >> notification_options c,r >> } >> >> >> When I run the nagios config check utility, I get no errors. I never >> see any messages coming in on the SIP server when the check is done. >> >> Its like it is not trying to run the check_sip script. >> >> I am worried that this is wrong as I am not sure how the syntax works: >> >> check_command check_sip!sip:username at hostname.com >> >> >> >> Anyone seen this before? >> >> TIA >> >> Robert >> >> >> >> >> >> >> On Tue, Sep 9, 2008 at 2:16 PM, Marc Powell wrote: >>> >>> On Sep 9, 2008, at 4:07 PM, Robert McNaught wrote: >>> >>>> Does anyone have a working example of the check_sip plugin working, >>>> if so could they post the command definition and the service >>>> definition? >>> >>> I don't, but can say that nagios doesn't run plugins as root as you >>> did below. The difference in permissions is frequently a cause of >>> failures. Try running the plugin as the nagios user to see if you see >>> more useful output. >>> >>>> On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught >>> > wrote: >>>>> Hi, I am using Nagios 3 on CentOS 5. >>>>> >>>>> I am not understanding how to set up a service check for SIP (Session >>>>> Initiation Protocol). >>>>> >>>>> I can run the check_sip perl script from the command line and get a >>>>> valid response, but cannot get it to work under nagios. >>>>> >>>>> [root at lab01 libexec]# /usr/local/nagios/libexec/check_sip -u >>>>> sip:username at server.hostname.com -f sip:username at server.hostname.com >>>>> -H server.hostname.com >>>>> SIP/2.0 200 OK, 0.017372 seconds response >>>>> time|rtt=0.017372s;0.5s;1s;0:10; code=200 >>> >>> -- >>> Marc >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>> Build the coolest Linux based applications with Moblin SDK & win great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asteriskator at gmail.com Wed Sep 10 00:05:32 2008 From: asteriskator at gmail.com (Robert McNaught) Date: Tue, 9 Sep 2008 15:05:32 -0700 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> Message-ID: <424bdbb90809091505l4b1aa50cjccb8cb900716591d@mail.gmail.com> I'm getting it working OK when I su to nagios and run the command from the CLI: [nagios at lab01 libexec]$ ./check_sip -u sip:username at hostname.com SIP/2.0 200 OK, 0.016589 seconds response time|rtt=0.016589s;0.5s;1s;0:10; code=200 I can watch the SIP server and see the Options message coming in and the OK going back out. My command definition based on the above command in nagios is: define command{ command_name check_sip command_line $USER1$/check_sip -u $ARG1$ } My service definition is: define service{ use core-template host_name hostname.com service_description SIP test check_command check_sip!sip:username at hostname.com # contact_groups voip-admins max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notification_interval 240 check_period 24x7 notification_period 24x7 notification_options c,r } When I run the nagios config check utility, I get no errors. I never see any messages coming in on the SIP server when the check is done. Its like it is not trying to run the check_sip script. I am worried that this is wrong as I am not sure how the syntax works: check_command check_sip!sip:username at hostname.com Anyone seen this before? TIA Robert ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Sep 10 00:06:11 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Sep 2008 17:06:11 -0500 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809091438j6d3290e8s3e19bb0986a6046a@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> <424bdbb90809091407g1dbbed80y7cd3b9334acca680@mail.gmail.com> <282E2E76-A921-45C0-807B-1B9DB14E6B1A@ena.com> <424bdbb90809091438j6d3290e8s3e19bb0986a6046a@mail.gmail.com> Message-ID: On Sep 9, 2008, at 4:38 PM, Robert McNaught wrote: > I'm getting it working OK when I su to nagios and run the command > from the CLI: > > [nagios at lab01 libexec]$ ./check_sip -u sip:username at hostname.com > SIP/2.0 200 OK, 0.016589 seconds response > time|rtt=0.016589s;0.5s;1s;0:10; code=200 > > I can watch the SIP server and see the Options message coming in and > the OK going back out. > > > My command definition based on the above command in nagios is: Looks correct. > When I run the nagios config check utility, I get no errors. I never > see any messages coming in on the SIP server when the check is done. > > Its like it is not trying to run the check_sip script. The plugin debugger I posted yesterday might be useful here. http://www.waggy.at/nagios/capture_plugin.htm . You should be able to tell from the web interface if nagios tried to run it or not based on it's status. You can also force an immediate run of the plugin there as well. > I am worried that this is wrong as I am not sure how the syntax works: > > check_command check_sip!sip:username at hostname.com Your usage is correct based on your command definition. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asteriskator at gmail.com Wed Sep 10 00:44:08 2008 From: asteriskator at gmail.com (Robert McNaught) Date: Tue, 9 Sep 2008 15:44:08 -0700 Subject: nagios check_sip plugin In-Reply-To: References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> <424bdbb90809091407g1dbbed80y7cd3b9334acca680@mail.gmail.com> <282E2E76-A921-45C0-807B-1B9DB14E6B1A@ena.com> <424bdbb90809091438j6d3290e8s3e19bb0986a6046a@mail.gmail.com> Message-ID: <424bdbb90809091544o3c0586d2v50fa0f41eaf4bb07@mail.gmail.com> Marc, Thanks for the plugin - I am having trouble understanding how to set it up - I am completely new to nagios.. I have put the following command definition at the bottom of commands.cfg define command{ command_name check_wsc_capture command_line /usr/local/nagios/libexec/capture_plugin.pl /usr/local/nagios/libexec/check_sip -H $HOSTADDRESS$ } I changed what was on the webpage to suit the plugin I was trying to check and put the perl script in the same directory as the other libexecs [nagios at lab01 libexec]$ ll | grep capt -rwxrwxrwx 1 nagios nagios 1903 Mar 24 2007 capture_plugin.txt I restarted nagios and the config files were accepted. I cannot see anything appearing in /tmp at all... Is this all I need to do to get some debug info? Thanks Robert ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From yu.watanabe at jp.fujitsu.com Wed Sep 10 08:55:55 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 10 Sep 2008 15:55:55 +0900 Subject: Plugins to fetch network device's ifUcastPkts and ifErrors Message-ID: <200809100655.AA02651@S2005110.jp.fujitsu.com> Hello all, I am searching for a plugin that could fetch and calculate speed of ifUcastPkts and ifErrors. Is there any ? I assume that there is a plugin that calculates the ifOctets speed, which is check_snmp_int.pl. If there's a plugin I would like to use it rather than modifying the check_snmp_int.pl. Yu Watanabe ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From skadlec at gk-software.com Wed Sep 10 09:18:28 2008 From: skadlec at gk-software.com (Stepan Kadlec) Date: Wed, 10 Sep 2008 09:18:28 +0200 Subject: servicedependency Message-ID: <48C774C4.4040401@gk-software.com> greetings, I would like to configure service dependency without specifying origin and dependent host (but I guess it is impossible in current nagios). I would expect if I create such dependency, it will be bound within one host (the service will be dependent on the other service running on the same host). It would be helpful if I define services for hostgroups instead of hosts. Such definition is pretty generic and it is enough to add the host to the hostgroup and it gets all the servicechecks automatically. But if I have to specify hosts in servicedependencies, I will loose this generic design. For example: one hostgroup has assigned eight servicechecks based on snmp check. It would be useful to make those checks dependent on one checking of snmp status itself (if snmp is not running, all other checks based on snmp will be disabled). but how can I do this generically without specifying hosts in servicedependencies? does anyone some idea for this? bye, steve ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ronaldobf at linkway.com.br Wed Sep 10 10:18:00 2008 From: ronaldobf at linkway.com.br (Ronaldo A. Bueno Filho) Date: Wed, 10 Sep 2008 05:18:00 -0300 Subject: Nagios 3 structure Message-ID: Hi people! The reason I am sending this e-mail is that I am not sure how I can organize the Nagios 3 structure. I just made a tree layout (shown below) showing how I thought about the organization (folders and files). The environment consists in several customers, my own network and some other services that I can use someday, like to monitor web pages, etc. I must organize the files in order facilitate the management, because I will update, change, delete and insert new services, customers, configurations and stuff. I also have some questions regarding host dependency, service dependency, host escalation and service escalation. These questions are after the tree layout. objects (main folder) | | |--hosts (folder) | |--host_groups (folder) | | |--hostgroup1.cfg | | |--hostgroup2.cfg | | |--hostgroupn.cfg | | | |--own_corp (folder) | | |--corp_host1.cfg | | |--corp_host2.cfg | | |--corp_hostn.cfg | | | |--customers (folder) | |--customer1 (folder) | | |--cus1_host1.cfg | | |--cus1_host2.cfg | | |--cus1_hostn.cfg | | | |--customer2 (folder) | | |--cus2_host1.cfg | | |--cus2_host2.cfg | | |--cus2_hostn.cfg | | | |--customern (folder) | |--cusn_host1.cfg | |--cusn_host2.cfg | |--cusn_hostn.cfg | |--services (folder) | |--services_groups (folder) | | |--servicegroup1 | | |--servicegroup2 | | |--servicegroupn | | | |--services (folder) | |--service1 | |--service2 | |--servicen | | |--contacts (folder) | |--contactgroups (folder) | | |--contactgroup1.cfg | | |--contactgroup2.cfg | | |--contactgroupn.cfg | | | |--contacts (folder) | |--contact1.cfg | |--contact2.cfg | |--contacrn.cfg | | |--timeperiods (folder) | |--timeoeriod1.cfg | |--timeperiod2.cfg | |--timeperiodn.cfg | | |--commands (folder) | |--command1.cfg | |--command2.cfg | |--commandn.cfg | | |--templates (folder) #used just for reference |--serviceGroups.cfg |--services.cfg |--servicedependencies.cfg |--servicesescalations.cfg |--hostgroups.cfg |--hosts.cfg |--hostdependencies.cfg |--hostescalations.cfg |--contactgroups.cfg |--contacts.cfg |--timeperiods.cfg |--commands.cfg Questions: What is the better way to organize the host dependencies in order to get easy the management? Maybe, is better to create a main file for each customer (within the customer folder) and fill it out with the dependency statements. Or maybe I can use dependencies statements within each host cfg file or if you have a new idea... And about service dependency? It might has cases that some service will have dependencies in a specific case and in other case, the same service will not have this dependency. How to manage it? Do I create two services with the same function, but with different dependencies? Where should I store this information (what folder/file)? Now, about host escalation, should I create a file within each customer folder or should I put the escalation information within the host file, just adding statements? I ask it because there will have some cases that I will use the escalation to a host group and sometime to a specific host. What is the better way to manage it? And regarding service escalation, how can I manage it? Maybe, there will have some cases that I have to escalate a service to a specific customer and, regarding the same service, I have not to escalate for other customers. e.g.: If a web service goes down, I want to escalate for the customer X in 1 hour and for customer Y, I want to escalate only after 3 hours and the rest, I don?t want to escalate. The last doubt I have regards the contacts. I will have some cases that the customer desires to be informed or escalated automatically, for example, if the customer has a support team on site (field ops). In these cases, how can I manage the contacts? I put it centralized or I create contact files within each customer folder? Is there some suggestion? As you can see, my real doubt is about how to organize the cfg files to turn easy the management and to maintain using the better way to do so. I really appreciate if you can solve my doubts. It will solve problems like if I change a host name, I have to update all references in other statements that make references to it, including other files. I am thinking about to make a script to validate the changes before putting it in production. It will avoid miss configurations like to forget to delete some old reference to an inexistent host. I know, there are a lot of questions I really appreciate any hint and information. I have to say that I want to use centreon 2 and some application like nagvis to create layout maps. I did not installed it now because I could not run the statusmap module on centreon 2 with nagios 3. And about NagiosQL? Is it a good one? Thanks in advance -- Ronaldo A. Bueno Filho -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carl.Friend at mathworks.com Wed Sep 10 12:29:18 2008 From: Carl.Friend at mathworks.com (Carl Friend) Date: Wed, 10 Sep 2008 06:29:18 -0400 Subject: yet another Error 127 issue In-Reply-To: <57B8C921BBE8FF4982FA726D39BC60EF0461F839@SITE2MAIL01.jeeves.ask.info> References: <57B8C921BBE8FF4982FA726D39BC60EF0461F695@SITE2MAIL01.jeeves.ask.info> <2E919ACC-DE84-4AB9-BB19-D9F35A65CB1F@ena.com> <57B8C921BBE8FF4982FA726D39BC60EF0461F839@SITE2MAIL01.jeeves.ask.info> Message-ID: <0528A1CB48AB5B4FA0D8FD7E0D94D81D47D95C616E@EXCHANGE-AH.ad.mathworks.com> Scott Macdonald asks: > [1220976597] Warning: Return code of 127 for check of service 'ssh' > on host '' was out of bounds. Make sure the plugin you're > trying to run actually exists. Are your library paths *identical* between the execution environment and your shell? I believe I've seen wacky return codes when a plug-in can't load a shared library; I hit this sort of thing with a MySQL plug-in and had to explicitly set the LD_LIBRARY_PATH in the startup script in /etc/init.d for Nagios. +-----------------------------------------+----------------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts, USA | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +----------------------------+ | http://users.rcn.com/crfriend/museum | ICBM: +42:18:00 -71:21:03 | +-----------------------------------------+----------------------------+ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Sep 10 14:25:32 2008 From: marc at ena.com (Marc Powell) Date: Wed, 10 Sep 2008 07:25:32 -0500 Subject: servicedependency In-Reply-To: <48C774C4.4040401@gk-software.com> References: <48C774C4.4040401@gk-software.com> Message-ID: <18BBD4A6-378F-4C0C-BD59-1447C5E56C0B@ena.com> On Sep 10, 2008, at 2:18 AM, Stepan Kadlec wrote: > > greetings, > I would like to configure service dependency without specifying > origin > and dependent host (but I guess it is impossible in current nagios). I Possible according to http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency . > For example: one hostgroup has assigned eight servicechecks based on > snmp check. It would be useful to make those checks dependent on one > checking of snmp status itself (if snmp is not running, all other > checks > based on snmp will be disabled). but how can I do this generically > without specifying hosts in servicedependencies? does anyone some idea > for this? While not explicitly documented, I'm pretty sure that you can use hostgroup_name instead of host_name in the dependency above... -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tdondich at gmail.com Wed Sep 10 20:33:24 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 10 Sep 2008 11:33:24 -0700 Subject: Nagios 3 structure In-Reply-To: References: Message-ID: <3d2eb72a0809101133i28f6b28cl3c35818d47b49a8f@mail.gmail.com> You could take a look at Lilac, a configuration tool I wrote. This way you do not have to deal with the layout of the file structure, but instead work inside an easy to use GUI. Lilac supports Nagios 3 and full dependencies, escalations, etc. www.lilacplatform.com is the project page. Otherwise, you can structure the files in any way you want. Don't feel like you need to maintain the structure. You can ALWAYS move them around at a later time, because the cfg_dir directive in the Nagios main configuration file is recursive in nature, so changing it later on will not disrupt it. Taylor On Wed, Sep 10, 2008 at 1:18 AM, Ronaldo A. Bueno Filho wrote: > > > Hi people! > > The reason I am sending this e-mail is that I am not sure how I can organize > the Nagios 3 structure. > I just made a tree layout (shown below) showing how I thought about the > organization (folders and files). > The environment consists in several customers, my own network and some other > services that I can use someday, like to monitor web pages, etc. > I must organize the files in order facilitate the management, because I will > update, change, delete and insert new services, customers, configurations > and stuff. > > I also have some questions regarding host dependency, service dependency, > host escalation and service escalation. These questions are after the tree > layout. > > objects (main folder) > | > | > |--hosts (folder) > | |--host_groups (folder) > | | |--hostgroup1.cfg > | | |--hostgroup2.cfg > | | |--hostgroupn.cfg > | | > | |--own_corp (folder) > | | |--corp_host1.cfg > | | |--corp_host2.cfg > | | |--corp_hostn.cfg > | | > | |--customers (folder) > | |--customer1 (folder) > | | |--cus1_host1.cfg > | | |--cus1_host2.cfg > | | |--cus1_hostn.cfg > | | > | |--customer2 (folder) > | | |--cus2_host1.cfg > | | |--cus2_host2.cfg > | | |--cus2_hostn.cfg > | | > | |--customern (folder) > | |--cusn_host1.cfg > | |--cusn_host2.cfg > | |--cusn_hostn.cfg > | > |--services (folder) > | |--services_groups (folder) > | | |--servicegroup1 > | | |--servicegroup2 > | | |--servicegroupn > | | > | |--services (folder) > | |--service1 > | |--service2 > | |--servicen > | > | > |--contacts (folder) > | |--contactgroups (folder) > | | |--contactgroup1.cfg > | | |--contactgroup2.cfg > | | |--contactgroupn.cfg > | | > | |--contacts (folder) > | |--contact1.cfg > | |--contact2.cfg > | |--contacrn.cfg > | > | > |--timeperiods (folder) > | |--timeoeriod1.cfg > | |--timeperiod2.cfg > | |--timeperiodn.cfg > | > | > |--commands (folder) > | |--command1.cfg > | |--command2.cfg > | |--commandn.cfg > | > | > |--templates (folder) #used just for reference > |--serviceGroups.cfg > |--services.cfg > |--servicedependencies.cfg > |--servicesescalations.cfg > |--hostgroups.cfg > |--hosts.cfg > |--hostdependencies.cfg > |--hostescalations.cfg > |--contactgroups.cfg > |--contacts.cfg > |--timeperiods.cfg > |--commands.cfg > > > > Questions: > > What is the better way to organize the host dependencies in order to get > easy the management? > Maybe, is better to create a main file for each customer (within the > customer folder) and fill it out with the dependency statements. Or maybe I > can use dependencies statements within each host cfg file? or if you have a > new idea... > > And about service dependency? It might has cases that some service will have > dependencies in a specific case and in other case, the same service will not > have this dependency. How to manage it? Do I create two services with the > same function, but with different dependencies? Where should I store this > information (what folder/file)? > > Now, about host escalation, should I create a file within each customer > folder or should I put the escalation information within the host file, just > adding statements? I ask it because there will have some cases that I will > use the escalation to a host group and sometime to a specific host. What is > the better way to manage it? > > And regarding service escalation, how can I manage it? Maybe, there will > have some cases that I have to escalate a service to a specific customer > and, regarding the same service, I have not to escalate for other customers. > > e.g.: If a web service goes down, I want to escalate for the customer X in 1 > hour and for customer Y, I want to escalate only after 3 hours and the rest, > I don't want to escalate. > > The last doubt I have regards the contacts. I will have some cases that the > customer desires to be informed or escalated automatically, for example, if > the customer has a support team on site (field ops). In these cases, how can > I manage the contacts? I put it centralized or I create contact files within > each customer folder? Is there some suggestion? > > > As you can see, my real doubt is about how to organize the cfg files to turn > easy the management and to maintain using the better way to do so. I really > appreciate if you can solve my doubts. > It will solve problems like if I change a host name, I have to update all > references in other statements that make references to it, including other > files. > I am thinking about to make a script to validate the changes before putting > it in production. It will avoid miss configurations like to forget to delete > some old reference to an inexistent host. > > I know, there are a lot of questions? I really appreciate any hint and > information. > > I have to say that I want to use centreon 2 and some application like nagvis > to create layout maps. I did not installed it now because I could not run > the statusmap module on centreon 2 with nagios 3. > And about NagiosQL? Is it a good one? > > Thanks in advance > > > -- > Ronaldo A. Bueno Filho > > > > > -- > Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Wed Sep 10 20:49:23 2008 From: bjlockie at lockie.ca (James) Date: Wed, 10 Sep 2008 14:49:23 -0400 (EDT) Subject: help debug In-Reply-To: <1E54988A-7201-4789-B24B-5DB076980319@ena.com> References: <1983667522e74c81535ee0027ce20a58.squirrel@webmail.lockie.ca> <87772366fa6419165b72b90db08bb2b8.squirrel@webmail.lockie.ca> <1E54988A-7201-4789-B24B-5DB076980319@ena.com> Message-ID: <1b16b40610fc6f05ae87bfaaff3cb102.squirrel@webmail.lockie.ca> On Tue, September 9, 2008 5:13 pm, Marc Powell wrote: >>> >>> Try running the daemon in foreground mode and/or under truss (truss - >>> fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's >>> killing it. >> >> sudo truss -fea /usr/local/nagios/bin/nagios /usr/local/nagios/etc/ >> nagios.cfg truss: cannot execute program: /usr/local/nagios/bin/nagios >> > > Don't give up on Google just because we're helping... The first hit on > the following search (sunmanagers.org) offers lots of helpful suggestions > and a possible solution -- > > http://www.google.com/search?q=truss:+cannot+execute+program:+&ie=UTF-8&o > e=UTF-8 > > -- > Marc sudo ldd /usr/local/nagios/bin/nagios ldd: /usr/local/nagios/bin/nagios: file has insecure interpreter ELF I think it has something to do with my build environment. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asteriskator at gmail.com Wed Sep 10 21:20:17 2008 From: asteriskator at gmail.com (Robert McNaught) Date: Wed, 10 Sep 2008 12:20:17 -0700 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> Message-ID: <424bdbb90809101220i6787fa7vafa4d4e5d8e7855d@mail.gmail.com> Just thought I would add this response for a solution, incase anyone else ever looks to this thread. check_sip contains the following line, which must be the directory of your nagios plugins, or the SIP plugin will not work from nagios (it will work from the command line regardless) use lib "/usr/local/nagios/libexec"; This is set in check_sip to be use lib "/usr/lib/nagios/plugins"; and will not work when called from nagios if that is not the plugin directory. Thanks Robert On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught wrote: > Hi, I am using Nagios 3 on CentOS 5. > > I am not understanding how to set up a service check for SIP (Session > Initiation Protocol). > > I can run the check_sip perl script from the command line and get a > valid response, but cannot get it to work under nagios. > > [root at lab01 libexec]# /usr/local/nagios/libexec/check_sip -u > sip:username at server.hostname.com -f sip:username at server.hostname.com > -H server.hostname.com > SIP/2.0 200 OK, 0.017372 seconds response > time|rtt=0.017372s;0.5s;1s;0:10; code=200 > > > I have added in a command definition in commands.cfg: > > #'check_sip' command definition added by RJM > define command{ > command_name check_sip > command_line check_sip -u sip:username at server.hostname.com > -f sip:username at server.hostname.com -H server.hostname.com > > } > > I have a host and service definition also of: > > > define host{ > use generic-switch ; Inherit default > values from a template > host_name server.hostname.com ; The name > we're giving to this switch > alias server ; A longer name associated with the wtch > address XXX.XXX.XXX.XXX ; IP address of the switch > hostgroups core ; Host groups this switch > is associated with > } > > > define service{ > use core-template > host_name server.hostname.com > service_description SIP test > check_command check_sip > # contact_groups voip-admins > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 240 > check_period 24x7 > notification_period 24x7 > notification_options c,r > } > > > I run the configuration check utility and it returns no errors, I > restart nagios, and the host always appears down. > > I see some of the other command definitions have something like > > command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ > > but I have no idea what the variables are in this line and what > relevance they have.... > > Can someone explain if I need to have these variables and what they > actually mean? I believed that if I can run it from the command line, > then I should just be able to use the same command in the command > definition, or does it not work like that? > > Thanks in advance > > Robert > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jcall at verio.net Wed Sep 10 21:45:20 2008 From: jcall at verio.net (Jonathan Call) Date: Wed, 10 Sep 2008 15:45:20 -0400 Subject: Nagios 3 distributed monitoring and NSCA Message-ID: <04F3233F47E2714CB7431AE913E57E7702EB1949@IAD-WPRD-XCHB02.corp.verio.net> In Nagios 2.x Nagios the Obessive Compulsive Service Processor (OCSP) is not very robust. Even with a few hundred service checks the OCSP stuff on the distributed servers bogs down and does not send anything out. This forced people like me to use tools like OCP_daemon. Has the OCSP infrastructure improved in Nagios 3? I need it to be robust enough to handle ~2500 service checks. Jonathan This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Wed Sep 10 22:11:42 2008 From: bjlockie at lockie.ca (James) Date: Wed, 10 Sep 2008 16:11:42 -0400 (EDT) Subject: help debug In-Reply-To: <1b16b40610fc6f05ae87bfaaff3cb102.squirrel@webmail.lockie.ca> References: <1983667522e74c81535ee0027ce20a58.squirrel@webmail.lockie.ca> <87772366fa6419165b72b90db08bb2b8.squirrel@webmail.lockie.ca> <1E54988A-7201-4789-B24B-5DB076980319@ena.com> <1b16b40610fc6f05ae87bfaaff3cb102.squirrel@webmail.lockie.ca> Message-ID: On Wed, September 10, 2008 2:49 pm, James wrote: > On Tue, September 9, 2008 5:13 pm, Marc Powell wrote: > >>>> > >>>> Try running the daemon in foreground mode and/or under truss (truss >>>> - >>>> fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's >>>> killing it. >>> >>> sudo truss -fea /usr/local/nagios/bin/nagios /usr/local/nagios/etc/ >>> nagios.cfg truss: cannot execute program: >>> /usr/local/nagios/bin/nagios >>> >>> >> >> Don't give up on Google just because we're helping... The first hit on >> the following search (sunmanagers.org) offers lots of helpful >> suggestions and a possible solution -- >> >> http://www.google.com/search?q=truss:+cannot+execute+program:+&ie=UTF-8 >> &o >> e=UTF-8 >> >> -- >> Marc >> > > sudo ldd /usr/local/nagios/bin/nagios ldd: /usr/local/nagios/bin/nagios: > file has insecure interpreter ELF > > I think it has something to do with my build environment. It wasn't the build, it was the installer. The one is base works fine. The installed one doesn't work. $ ll base/nagios -rwxr-xr-x 1 x x 1407832 Sep 9 16:08 base/nagios $ ll /usr/local/nagios/bin/nagios -rwxrwxr-- 1 nagios nagios 1318060 Aug 22 17:24 /usr/local/nagios/bin/nagios ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Sep 10 22:18:50 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 10 Sep 2008 22:18:50 +0200 Subject: nagios check_sip plugin In-Reply-To: <424bdbb90809101220i6787fa7vafa4d4e5d8e7855d@mail.gmail.com> References: <424bdbb90809081543i30652ec3odb3cb057d87f3a0d@mail.gmail.com> <424bdbb90809101220i6787fa7vafa4d4e5d8e7855d@mail.gmail.com> Message-ID: <48C82BAA.5030803@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert McNaught wrote: > Just thought I would add this response for a solution, incase anyone > else ever looks to this thread. > > check_sip contains the following line, which must be the directory of > your nagios plugins, or the SIP plugin will not work from nagios (it > will work from the command line regardless) > > use lib "/usr/local/nagios/libexec"; > > This is set in check_sip to be > > use lib "/usr/lib/nagios/plugins"; and will not work when called from > nagios if that is not the plugin directory. Did you inform the author? I noticed there are some more plugins that assume things that are not portable in the additional plugins. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIyCuoBvzDRVjxmYERAhuiAKChK/oAuxuEYHZCpodk3PiXSYvyXACfa4f4 9GRNMESO8h0HkmxwU5kpK0Y= =jH8d -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Sep 10 22:27:59 2008 From: marc at ena.com (Marc Powell) Date: Wed, 10 Sep 2008 15:27:59 -0500 Subject: Nagios 3 distributed monitoring and NSCA In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702EB1949@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7702EB1949@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <75B0FBFD-06A6-4332-920B-8A0DB8A53160@ena.com> On Sep 10, 2008, at 2:45 PM, Jonathan Call wrote: > In Nagios 2.x Nagios the Obessive Compulsive Service Processor > (OCSP) is > not very robust. Even with a few hundred service checks the OCSP stuff > on the distributed servers bogs down and does not send anything out. > This forced people like me to use tools like OCP_daemon. I have to disagree with this as a general statement. I've used Nagios 2.x (currenlty .9), sending/receiving thousands of passive results every 5 minutes successfully for years. My 'largest' data collector (not dedicated to nagios) has all checks completed, or in progress, in the 5 minute interval -- Total Services: 2198 Services Checked: 2198 Services Scheduled: 2198 Active Service Checks: 2198 Passive Service Checks: 0 Total Service State Change: 0.000 / 6.250 / 0.011 % Active Service Latency: 38.626 / 68.765 / 59.834 sec Active Service Execution Time: 0.064 / 60.015 / 0.679 sec Active Service State Change: 0.000 / 6.250 / 0.011 % Active Services Last 1/5/15/60 min: 377 / 1804 / 2198 / 2198 Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2189 / 0 / 0 / 9 Services Flapping: 0 Services In Downtime: 0 One of my central receivers (2.9) -- Total Services: 6137 Services Checked: 6136 Services Scheduled: 26 Active Service Checks: 28 Passive Service Checks: 6109 Total Service State Change: 0.000 / 17.960 / 0.034 % Active Service Latency: 0.000 / 4.686 / 0.346 sec Active Service Execution Time: 0.000 / 2.529 / 0.444 sec Active Service State Change: 0.000 / 11.970 / 0.428 % Active Services Last 1/5/15/60 min: 3 / 3 / 26 / 26 Passive Service State Change: 0.000 / 17.960 / 0.033 % Passive Services Last 1/5/15/60 min: 1104 / 5680 / 6107 / 6107 Services Ok/Warn/Unk/Crit: 6107 / 1 / 0 / 29 Services Flapping: 0 Services In Downtime: 0 One of my central receivers is still running nagios-1.3, with a database backend, and even it can keep up -- Passive Checks: Time Frame Checks Completed <= 1 minute: 628 (10.3%) <= 5 minutes: 5191 (85.0%) <= 15 minutes: 6105 (100.0%) <= 1 hour: 6105 (100.0%) Since program start: 6108 (100.0%) > Has the OCSP infrastructure improved in Nagios 3? I need it to be > robust > enough to handle ~2500 service checks. I'm doing nearly that now with nagios-2.9. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Wed Sep 10 23:23:02 2008 From: bjlockie at lockie.ca (James) Date: Wed, 10 Sep 2008 17:23:02 -0400 (EDT) Subject: plugins Message-ID: <71014e563303f6067c511fc47592b1fe.squirrel@webmail.lockie.ca> I installed nagios-plugins-1.4.12 with nagios-3.0.3 and I get a syntax error when I include command.cfg. It is on the very first command: command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Wed Sep 10 23:35:00 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 10 Sep 2008 14:35:00 -0700 Subject: plugins In-Reply-To: <71014e563303f6067c511fc47592b1fe.squirrel@webmail.lockie.ca> References: <71014e563303f6067c511fc47592b1fe.squirrel@webmail.lockie.ca> Message-ID: <20080910213500.GQ25382@bakgwai.americas.hpqcorp.net> On Wed, 10 Sep 2008, James wrote: > I installed nagios-plugins-1.4.12 with nagios-3.0.3 and I get a syntax > error when I include command.cfg. > > It is on the very first command: > > command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s > '$SERVICESTATE$ alert > for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ You need to read the docs for Nagios 3. That's not a valid command definition for versions of Nagios after 1.x. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ronaldobf at linkway.com.br Thu Sep 11 06:11:23 2008 From: ronaldobf at linkway.com.br (Ronaldo A. Bueno Filho) Date: Thu, 11 Sep 2008 01:11:23 -0300 Subject: Nagios 3 structure Message-ID: <58ee98e0b8804080032b25274a9496eb@189.20.88.24> Good! I will take a look. Is this like NagiosQL? In the future, I will install centreon 2. I think it will not be a problem, but just to confirm: is there any problem if I use centreon 2 if in the past I have used Lilac? Thanks -- Ronaldo A. Bueno Filho --------- Mensagem Original -------- De: Taylor Dondich Para: Ronaldo A. Bueno Filho C?pia: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Nagios 3 structure Data: 10/09/08 12:33 > > You could take a look at Lilac, a configuration tool I wrote. This > way you do not have to deal with the layout of the file structure, but > instead work inside an easy to use GUI. Lilac supports Nagios 3 and > full dependencies, escalations, etc. www.lilacplatform.com is the > project page. > > Otherwise, you can structure the files in any way you want. Don't > feel like you need to maintain the structure. You can ALWAYS move > them around at a later time, because the cfg_dir directive in the > Nagios main configuration file is recursive in nature, so changing it > later on will not disrupt it. > > Taylor > > On Wed, Sep 10, 2008 at 1:18 AM, Ronaldo A. Bueno Filho > <ronaldobf at linkway.com.br> wrote: > > > > > > Hi people! > > > > The reason I am sending this e-mail is that I am not sure how I can organize > > the Nagios 3 structure. > > I just made a tree layout (shown below) showing how I thought about the > > organization (folders and files). > > The environment consists in several customers, my own network and some other > > services that I can use someday, like to monitor web pages, etc. > > I must organize the files in order facilitate the management, because I will > > update, change, delete and insert new services, customers, configurations > > and stuff. > > > > I also have some questions regarding host dependency, service dependency, > > host escalation and service escalation. These questions are after the tree > > layout. > > > > objects (main folder) > > | > > | > > |--hosts (folder) > > | |--host_groups (folder) > > | | |--hostgroup1.cfg > > | | |--hostgroup2.cfg > > | | |--hostgroupn.cfg > > | | > > | |--own_corp (folder) > > | | |--corp_host1.cfg > > | | |--corp_host2.cfg > > | | |--corp_hostn.cfg > > | | > > | |--customers (folder) > > | |--customer1 (folder) > > | | |--cus1_host1.cfg > > | | |--cus1_host2.cfg > > | | |--cus1_hostn.cfg > > | | > > | |--customer2 (folder) > > | | |--cus2_host1.cfg > > | | |--cus2_host2.cfg > > | | |--cus2_hostn.cfg > > | | > > | |--customern (folder) > > | |--cusn_host1.cfg > > | |--cusn_host2.cfg > > | |--cusn_hostn.cfg > > | > > |--services (folder) > > | |--services_groups (folder) > > | | |--servicegroup1 > > | | |--servicegroup2 > > | | |--servicegroupn > > | | > > | |--services (folder) > > | |--service1 > > | |--service2 > > | |--servicen > > | > > | > > |--contacts (folder) > > | |--contactgroups (folder) > > | | |--contactgroup1.cfg > > | | |--contactgroup2.cfg > > | | |--contactgroupn.cfg > > | | > > | |--contacts (folder) > > | |--contact1.cfg > > | |--contact2.cfg > > | |--contacrn.cfg > > | > > | > > |--timeperiods (folder) > > | |--timeoeriod1.cfg > > | |--timeperiod2.cfg > > | |--timeperiodn.cfg > > | > > | > > |--commands (folder) > > | |--command1.cfg > > | |--command2.cfg > > | |--commandn.cfg > > | > > | > > |--templates (folder) #used just for reference > > |--serviceGroups.cfg > > |--services.cfg > > |--servicedependencies.cfg > > |--servicesescalations.cfg > > |--hostgroups.cfg > > |--hosts.cfg > > |--hostdependencies.cfg > > |--hostescalations.cfg > > |--contactgroups.cfg > > |--contacts.cfg > > |--timeperiods.cfg > > |--commands.cfg > > > > > > > > Questions: > > > > What is the better way to organize the host dependencies in order to get > > easy the management? > > Maybe, is better to create a main file for each customer (within the > > customer folder) and fill it out with the dependency statements. Or maybe I > > can use dependencies statements within each host cfg file&hellip; or if you have a > > new idea... > > > > And about service dependency? It might has cases that some service will have > > dependencies in a specific case and in other case, the same service will not > > have this dependency. How to manage it? Do I create two services with the > > same function, but with different dependencies? Where should I store this > > information (what folder/file)? > > > > Now, about host escalation, should I create a file within each customer > > folder or should I put the escalation information within the host file, just > > adding statements? I ask it because there will have some cases that I will > > use the escalation to a host group and sometime to a specific host. What is > > the better way to manage it? > > > > And regarding service escalation, how can I manage it? Maybe, there will > > have some cases that I have to escalate a service to a specific customer > > and, regarding the same service, I have not to escalate for other customers. > > > > e.g.: If a web service goes down, I want to escalate for the customer X in 1 > > hour and for customer Y, I want to escalate only after 3 hours and the rest, > > I don't want to escalate. > > > > The last doubt I have regards the contacts. I will have some cases that the > > customer desires to be informed or escalated automatically, for example, if > > the customer has a support team on site (field ops). In these cases, how can > > I manage the contacts? I put it centralized or I create contact files within > > each customer folder? Is there some suggestion? > > > > > > As you can see, my real doubt is about how to organize the cfg files to turn > > easy the management and to maintain using the better way to do so. I really > > appreciate if you can solve my doubts. > > It will solve problems like if I change a host name, I have to update all > > references in other statements that make references to it, including other > > files. > > I am thinking about to make a script to validate the changes before putting > > it in production. It will avoid miss configurations like to forget to delete > > some old reference to an inexistent host. > > > > I know, there are a lot of questions&hellip; I really appreciate any hint and > > information. > > > > I have to say that I want to use centreon 2 and some application like nagvis > > to create layout maps. I did not installed it now because I could not run > > the statusmap module on centreon 2 with nagios 3. > > And about NagiosQL? Is it a good one? > > > > Thanks in advance > > > > > > -- > > Ronaldo A. Bueno Filho > > > > > > > > > > -- > > Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > -- > Taylor Dondich > Check out Lilac, a configuration tool for Nagios 3 at > http://www.lilacplatform.com > > Check out my Shortcut with O'Reilly Press: > Network Monitoring with Nagios: > http://oreilly.com/catalog/9780596528195/index.html > > > -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pardeep.kumar at cybernetra.net Thu Sep 11 09:18:45 2008 From: pardeep.kumar at cybernetra.net (Pardeep Sharma) Date: Thu, 11 Sep 2008 12:48:45 +0530 Subject: service group Message-ID: <48C8C655.8060608@cybernetra.net> Hi all How can configure service group, i tried but did not success ______________________________________________________________________________________________ DISCLAIMER This message(including any attachments) contains confidential information intended for a specific individual and purpose,and is protected by law. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. Eon Infotech Limited shall not be liable for the improper or incomplete transmission. ______________________________________________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From paul.weaver at bbc.co.uk Thu Sep 11 09:35:51 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 11 Sep 2008 08:35:51 +0100 Subject: Nagios 3 structure In-Reply-To: <58ee98e0b8804080032b25274a9496eb@189.20.88.24> References: <58ee98e0b8804080032b25274a9496eb@189.20.88.24> Message-ID: I would suggest putting your nagios configuration into subversion. Initially you can see who makes changes, and roll back any you don't like. You could then move to adding hooks in to check the config before hand. Perl scripts are all you need for batch updates (like adding n number of hosts to a new service group, which I started doing a couple of days ago) Our (nagios 2) layout is a little like this: ./etc/nagios.cfg inherits commands.cfg (all commands) inherits time.cfg (all time periods) inherits template.cfg (default template -- hourly notification, 24/7 checks, 4 minute checks, 30 second retrys) inheirts directories contacts system-infrastructure (routers, dns, etc) system-system1 system-system2 system-system3 Each of those has their own templates, which overrides things like contact details, and sub directories based on the system (so system-foo contains components "midtier", "database", "media", etc) Each directory eventually has a single file (usually hostname.cfg) for each host, containing host definition and services. E.g. ./system-live/template_live.cfg ./system-live/quantel/template_live_quantel.cfg ./system-live/quantel/bidir1.cfg ./system-live/quantel/clipcache06.cfg ./system-live/quantel/clipcache01.cfg ./system-live/midtier/template_live_midtier.cfg ./system-live/midtier/newsjtcapp02.cfg ./system-live/midtier/newsjtcapp23.cfg ./system-live/midtier/newsjtcapp11.cfg ./system-live/other/template_live_other.cfg ./system-live/other/newsjtcmpp26.cfg ./system-live/other/newsjtcvtr01.cfg ./system-live/other/newsjtcmpp16.cfg ./system-live/other/newsjtccodec04.cfg -- Paul Weaver Systems Development Engineer > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ronaldo A. Bueno Filho > Sent: 11 September 2008 05:11 > To: Taylor Dondich > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 3 structure > > > > Good! I will take a look. > Is this like NagiosQL? > > In the future, I will install centreon 2. I think it will not > be a problem, but just to confirm: is there any problem if I > use centreon 2 if in the past I have used Lilac? > > Thanks > > -- > Ronaldo A. Bueno Filho > > > --------- Mensagem Original -------- > De: Taylor Dondich > Para: Ronaldo A. Bueno Filho > C?pia: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] Nagios 3 structure > Data: 10/09/08 12:33 > > > > > You could take a look at Lilac, a configuration tool I wrote. This > > way you do not have to deal with the layout of the file > structure, but > > instead work inside an easy to use GUI. Lilac supports > Nagios 3 and > > full dependencies, escalations, etc. www.lilacplatform.com is the > > project page. > > > > Otherwise, you can structure the files in any way you want. Don't > > feel like you need to maintain the structure. You can ALWAYS move > > them around at a later time, because the cfg_dir directive in the > > Nagios main configuration file is recursive in nature, so > changing it > > later on will not disrupt it. > > > > Taylor > > > > On Wed, Sep 10, 2008 at 1:18 AM, Ronaldo A. Bueno Filho > > <ronaldobf at linkway.com.br> wrote: > > > > > > > Hi people! > > > > > > The reason I am sending this e-mail is that I am not > sure how I can > organize > > > the Nagios 3 structure. > > > I just made a tree layout (shown below) showing how I thought > > about > the > > > organization (folders and files). > > > The environment consists in several customers, my own > network and > some other > > > services that I can use someday, like to monitor web > pages, etc. > > > I must organize the files in order facilitate the management, > > because > I will > > > update, change, delete and insert new services, customers, > configurations > > > and stuff. > > > > > > I also have some questions regarding host dependency, service > dependency, > > > host escalation and service escalation. These > questions are after > > the > tree > > > layout. > > > > > > objects (main folder) > > > | > > > | > > > |--hosts (folder) > > > | |--host_groups (folder) > > > | | |--hostgroup1.cfg > > > | | |--hostgroup2.cfg > > > | | |--hostgroupn.cfg > > > | | > > > | |--own_corp (folder) > > > | | |--corp_host1.cfg > > > | | |--corp_host2.cfg > > > | | |--corp_hostn.cfg > > > | | > > > | |--customers (folder) > > > | |--customer1 (folder) > > > | | |--cus1_host1.cfg > > > | | |--cus1_host2.cfg > > > | | |--cus1_hostn.cfg > > > | | > > > | |--customer2 (folder) > > > | | |--cus2_host1.cfg > > > | | |--cus2_host2.cfg > > > | | |--cus2_hostn.cfg > > > | | > > > | |--customern (folder) > > > | |--cusn_host1.cfg > > > | |--cusn_host2.cfg > > > | |--cusn_hostn.cfg > > > | > > > |--services (folder) > > > | |--services_groups (folder) > > > | | |--servicegroup1 > > > | | |--servicegroup2 > > > | | |--servicegroupn > > > | | > > > | |--services (folder) > > > | |--service1 > > > | |--service2 > > > | |--servicen > > > | > > > | > > > |--contacts (folder) > > > | |--contactgroups (folder) > > > | | |--contactgroup1.cfg > > > | | |--contactgroup2.cfg > > > | | |--contactgroupn.cfg > > > | | > > > | |--contacts (folder) > > > | |--contact1.cfg > > > | |--contact2.cfg > > > | |--contacrn.cfg > > > | > > > | > > > |--timeperiods (folder) > > > | |--timeoeriod1.cfg > > > | |--timeperiod2.cfg > > > | |--timeperiodn.cfg > > > | > > > | > > > |--commands (folder) > > > | |--command1.cfg > > > | |--command2.cfg > > > | |--commandn.cfg > > > | > > > | > > > |--templates (folder) #used just for reference > > > |--serviceGroups.cfg > > > |--services.cfg > > > |--servicedependencies.cfg > > > |--servicesescalations.cfg > > > |--hostgroups.cfg > > > |--hosts.cfg > > > |--hostdependencies.cfg > > > |--hostescalations.cfg > > > |--contactgroups.cfg > > > |--contacts.cfg > > > |--timeperiods.cfg > > > |--commands.cfg > > > > > > > > > > > > Questions: > > > > > > What is the better way to organize the host > dependencies in order > > to > get > > > easy the management? > > > Maybe, is better to create a main file for each > customer (within > > the > customer folder) and fill it out with the dependency > > statements. Or > maybe I > > > can use dependencies statements within each host cfg > > file&hellip; > or if you have a > > > new idea... > > > > > > And about service dependency? It might has cases that some > > service > will have > > > dependencies in a specific case and in other case, the same > > service > will not > > > have this dependency. How to manage it? Do I create > two services > > with > the > > > same function, but with different dependencies? Where > should I > > store > this > > > information (what folder/file)? > > > > > > Now, about host escalation, should I create a file within each > customer > > > folder or should I put the escalation information > within the host > file, just > > > adding statements? I ask it because there will have some cases > > that I > will > > > use the escalation to a host group and sometime to a specific > > host. > What is > > > the better way to manage it? > > > > > > And regarding service escalation, how can I manage it? Maybe, > > there > will > > > have some cases that I have to escalate a service to a specific > customer > > > and, regarding the same service, I have not to > escalate for other > customers. > > > > > > e.g.: If a web service goes down, I want to escalate for the > > customer > X in 1 > > > hour and for customer Y, I want to escalate only after 3 hours > > and > the rest, > > > I don't want to escalate. > > > > > > The last doubt I have regards the contacts. I will have some > > cases > that the > > > customer desires to be informed or escalated automatically, for > example, if > > > the customer has a support team on site (field ops). In these > > cases, > how can > > > I manage the contacts? I put it centralized or I > create contact > > files > within > > > each customer folder? Is there some suggestion? > > > > > > > > > As you can see, my real doubt is about how to organize the cfg > > files > to turn > > > easy the management and to maintain using the better way to do > > so. I > really > > > appreciate if you can solve my doubts. > > > It will solve problems like if I change a host name, I have to > > update > all > > > references in other statements that make references to it, > > including > other > > > files. > > > I am thinking about to make a script to validate the changes > > before > putting > > > it in production. It will avoid miss configurations like to > > forget to > delete > > > some old reference to an inexistent host. > > > > > > I know, there are a lot of questions&hellip; I really > > appreciate > any hint and > > > information. > > > > > > I have to say that I want to use centreon 2 and some > application > > like > nagvis > > > to create layout maps. I did not installed it now > because I could > > not > run > > > the statusmap module on centreon 2 with nagios 3. > > > And about NagiosQL? Is it a good one? > > > > > > Thanks in advance > > > > > > > > > -- > > > Ronaldo A. Bueno Filho > > > > > > > > > > > > > > > -- > > > Essa mensagem foi verificada contra v?rus e conte?do malicioso > > pelo > Lisa Antiv?rus. > > > > > > > > > > -------------------------------------------------------------- > ----------- > > > This SF.Net email is sponsored by the Moblin Your Move > > Developer's > challenge > > > Build the coolest Linux based applications with Moblin > SDK & > > win > great prizes > > > Grand prize is a trip for two to an Open Source event > anywhere in > > the > world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > > > > > > > > -- > > Taylor Dondich > > Check out Lilac, a configuration tool for Nagios 3 at > > http://www.lilacplatform.com > > > > Check out my Shortcut with O'Reilly Press: > > Network Monitoring with Nagios: > > http://oreilly.com/catalog/9780596528195/index.html > > > > > > > > > > -- > Essa mensagem foi verificada contra v?rus e conte?do > malicioso pelo Lisa Antiv?rus. > > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From TKinghorn at mweb.com Thu Sep 11 11:55:14 2008 From: TKinghorn at mweb.com (Thomas Kinghorn - MWEB) Date: Thu, 11 Sep 2008 11:55:14 +0200 Subject: check_procs in reverse Message-ID: Good morning List. Apologies if this is a dumb question. I am new to setting up nagios. I have a server running a Session Border Controller. It runs 8 processes for the SBC. If the number of processes drops to 4, I need to flag as a warning If it drops to 2, flag as critical. How would I get the check_procs to check this? I have noticed that the -w argument cannot be higher than the -c argument. Thanks for your time. Regards Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From inotkaa at gmail.com Thu Sep 11 12:54:48 2008 From: inotkaa at gmail.com (=?ISO-8859-1?Q?=B7:iNot:=B7?=) Date: Thu, 11 Sep 2008 14:54:48 +0400 Subject: Nagios 3.0.3 + ndo problem Message-ID: Hello. I've got the problem. If I start ndo first and after this start nagios. Nagios freeze and didn't work. [1221127746] Nagios 3.0.3 starting... (PID=32631) [1221127746] Local time is Thu Sep 11 14:09:06 MSD 2008 [1221127746] LOG VERSION: 2.0 [1221127746] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1221127746] ndomod: Successfully connected to data sink. 0 queued items to flush. [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. If i start nagios then ndo, and make reload nagios config, every this is ok. /etc/init.d/nagios start [1221127740] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1221127740] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1221127740] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. [1221127740] Warning: Host 'PDC.miit' has no services associated with it! [1221127740] Finished daemonizing... (New PID=32631) /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg /etc/init.d/nagios reload [1221127746] Caught SIGHUP, restarting... [1221127746] ndomod: Shutdown complete. [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully. [1221127746] Nagios 3.0.3 starting... (PID=32631) [1221127746] Local time is Thu Sep 11 14:09:06 MSD 2008 [1221127746] LOG VERSION: 2.0 [1221127746] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1221127746] ndomod: Successfully connected to data sink. 0 queued items to flush. [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. Any suggestions? Where I can look at ndo logs? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ralf.prengel at comline.de Thu Sep 11 13:05:32 2008 From: ralf.prengel at comline.de (Ralf Prengel) Date: Thu, 11 Sep 2008 13:05:32 +0200 Subject: montitoring a system only via email-transport of status-informations Message-ID: <48C8FB7C.2050700@comline.de> Hallo, we are monitoring several system using ssh, snmp, nrpe and a lot of plugings. Now we have to check a server without any direct access. The only way to get informatiosn is using email. Has anyone docs or links how to transfer statusinformations via email from the server to the nagios-server? Thanks for hints -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.prengel at comline.de www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at truthisfreedom.org.uk Thu Sep 11 13:35:32 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Thu, 11 Sep 2008 12:35:32 +0100 Subject: montitoring a system only via email-transport of status-informations In-Reply-To: <48C8FB7C.2050700@comline.de> References: <48C8FB7C.2050700@comline.de> Message-ID: <20080911123532.3d25f9bd@tclmmw.in.tiger-computing.com> On Thu, 11 Sep 2008 13:05:32 +0200 Ralf Prengel wrote: > we are monitoring several system using ssh, snmp, nrpe and a lot of > plugings. > Now we have to check a server without any direct access. The only way > to get informatiosn is using email. > Has anyone docs or links how to transfer statusinformations via email > from the server to the nagios-server? I'd look at setting up a mailbox specifically for this. Get your MTA to send the emails to that address to a pipe which redirects them to a script. In the script, work out from the message headers which service this relates to. Process the message and provide an output accordingly to a file. Process this file as either an NSCA or NRPE plugin and see if you get the correct results! Is there any reason why you can't use ssh-wrapped nrpe commands? M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ralf.prengel at comline.de Thu Sep 11 14:10:13 2008 From: ralf.prengel at comline.de (Ralf Prengel) Date: Thu, 11 Sep 2008 14:10:13 +0200 Subject: montitoring a system only via email-transport of status-informations In-Reply-To: <20080911123532.3d25f9bd@tclmmw.in.tiger-computing.com> References: <48C8FB7C.2050700@comline.de> <20080911123532.3d25f9bd@tclmmw.in.tiger-computing.com> Message-ID: <48C90AA5.20506@comline.de> Matthew Macdonald-Wallace schrieb: > > In the script, work out from the message headers which service this > relates to. Process the message and provide an output accordingly to a > file. Process this file as either an NSCA or NRPE plugin and see if > you get the correct results! > > Is there any reason why you can't use ssh-wrapped nrpe commands? No chance. The system we ve to monitor is installed in a network without any access from outside and very limited communication from inside to outsie. -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.prengel at comline.de www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Thu Sep 11 15:29:31 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 11 Sep 2008 13:29:31 +0000 Subject: Nagios 3.0.3 + ndo problem In-Reply-To: References: Message-ID: <200809111329.31968.assaf.flatto@ssp.uk.com> AFAIK - NDO reads the "loaded" configuration of nagios and submits that to the DB for queries. So nagios needs to be running for NDO to have any data to read and work with . as for logs- the ndo has an option for output file (ndomod.cfg) output=/usr/local/nagios/var/ndo.dat (commented out on default). Assaf On Thursday 11 September 2008 10:54:48 ?:iNot:? wrote: > Hello. > I've got the problem. > If I start ndo first and after this start nagios. Nagios freeze and didn't > work. > > [1221127746] Nagios 3.0.3 starting... (PID=32631) > [1221127746] Local time is Thu Sep 11 14:09:06 MSD 2008 > [1221127746] LOG VERSION: 2.0 > [1221127746] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 > Ethan Galstad (nagios at nagios.org) > [1221127746] ndomod: Successfully connected to data sink. 0 queued items > to flush. > [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o' > initialized successfully. > > If i start nagios then ndo, and make reload nagios config, every this is > ok. > > > /etc/init.d/nagios start > > [1221127740] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 > Ethan Galstad (nagios at nagios.org) > [1221127740] ndomod: Could not open data sink! I'll keep trying, but some > output may get lost... > [1221127740] Event broker module '/usr/local/nagios/bin/ndomod.o' > initialized successfully. > [1221127740] Warning: Host 'PDC.miit' has no services associated with it! > [1221127740] Finished daemonizing... (New PID=32631) > > > /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg > > /etc/init.d/nagios reload > > [1221127746] Caught SIGHUP, restarting... > [1221127746] ndomod: Shutdown complete. > [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o' > deinitialized successfully. > [1221127746] Nagios 3.0.3 starting... (PID=32631) > [1221127746] Local time is Thu Sep 11 14:09:06 MSD 2008 > [1221127746] LOG VERSION: 2.0 > [1221127746] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 > Ethan Galstad (nagios at nagios.org) > [1221127746] ndomod: Successfully connected to data sink. 0 queued items > to flush. > [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o' > initialized successfully. > > > Any suggestions? Where I can look at ndo logs? IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amoore at dekalbmemorial.com Thu Sep 11 14:52:12 2008 From: amoore at dekalbmemorial.com (Aaron K. Moore) Date: Thu, 11 Sep 2008 08:52:12 -0400 Subject: montitoring a system only via email-transport of status-informations In-Reply-To: References: <48C8FB7C.2050700@comline.de><20080911123532.3d25f9bd@tclmmw.in.tiger-computing.com> Message-ID: <60D398EB2DB948409CA1F50D8AF1225704131249@exch1.dekalbmemorial.local> > -----Original Message----- > Matthew Macdonald-Wallace schrieb: > > > > > In the script, work out from the message headers which service this > > relates to. Process the message and provide an output > accordingly to > > a file. Process this file as either an NSCA or NRPE plugin > and see if > > you get the correct results! > > > > Is there any reason why you can't use ssh-wrapped nrpe commands? > > No chance. > The system we ve to monitor is installed in a network without > any access from outside and very limited communication from > inside to outsie. > I've done it once before. Check on nagiosexchange.org. I'm pretty sure I used something that was uploaded there. One of the PERL scripts is named smtpreceiver.pl. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, Indiana Phone: 260.920.2808 E-Mail: amoore at dekalbmemorial.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frimik at gmail.com Thu Sep 11 15:18:39 2008 From: frimik at gmail.com (Mikael Fridh) Date: Thu, 11 Sep 2008 15:18:39 +0200 Subject: check_procs in reverse In-Reply-To: References: Message-ID: <323f67830809110618o59fd821cyce76188541976fda@mail.gmail.com> On Thu, Sep 11, 2008 at 11:55 AM, Thomas Kinghorn - MWEB wrote: > If the number of processes drops to 4, I need to flag as a warning > > If it drops to 2, flag as critical. -w 5:8 -c 3:8 Note that anything above 8 will be critical. Adjust your wmax and cmax values as appropriate. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Thu Sep 11 15:25:09 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 11 Sep 2008 15:25:09 +0200 Subject: service group In-Reply-To: <48C8C655.8060608@cybernetra.net> References: <48C8C655.8060608@cybernetra.net> Message-ID: <48C91C35.1070907@googlemail.com> Pardeep Sharma schrieb: > Hi all How can configure service group, i tried but did not success You could either post your unsucceeding config file(s) so we don't have to unwrap our crystal balls, or you could refer to the fine manual, where the configuration of a service group probably is thoroughly described. Best regards Marcus ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From addw at phcomp.co.uk Thu Sep 11 16:07:23 2008 From: addw at phcomp.co.uk (Alain Williams) Date: Thu, 11 Sep 2008 15:07:23 +0100 Subject: montitoring a system only via email-transport of status-informations In-Reply-To: <48C8FB7C.2050700@comline.de> References: <48C8FB7C.2050700@comline.de> Message-ID: <20080911140723.GE6778@mint.phcomp.co.uk> On Thu, Sep 11, 2008 at 01:05:32PM +0200, Ralf Prengel wrote: > Hallo, > > we are monitoring several system using ssh, snmp, nrpe and a lot of > plugings. > Now we have to check a server without any direct access. The only way to > get informatiosn is using email. > Has anyone docs or links how to transfer statusinformations via email > from the server to the nagios-server? Yes - I have done this, I created a new plugin that takes monitoring data and mails it to another machine where it is injected into nagios. It works well, I have been using it for a year or so. I announced it to little interest, I'll check out what I have and put it up somewhere. I may be part way though an upgrade of what it does, I can't remember since it is some time since I have tinkered with it. -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Chairman of UKUUG: http://www.ukuug.org/ #include ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Mark.Keyte at lshtm.ac.uk Thu Sep 11 16:28:13 2008 From: Mark.Keyte at lshtm.ac.uk (Mark.Keyte at lshtm.ac.uk) Date: Thu, 11 Sep 2008 15:28:13 +0100 Subject: Service Notifications Issue on SLES sp2 Message-ID: <48C9390D.CDF6.00C2.0@lshtm.ac.uk> Hi Sorry this is my first post to this list. I have had a problem with service alert notifications (eg. PING etc) since upgrading from SLES 10 SP1 to SLES 10 SP2 (everything was working fine before this). For some reason Nagios has stopped sending service alerts to the postfix mail relay when a service becomes critical. If you send a custom service notification it works fine so the postfix side of things still seem to be ok. I'm wondering whether a package update has busted it. Looking at mail logs it seems that messages are just not being sent from Nagios. Has anybody had similar issues using SLES SP2. Thanks Mark Mark Keyte IT Services London School of Hygiene & Tropical Medicine Keppel St, London, WC1E 7HT ext 8362 0207 958 8362 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stanb at panix.com Thu Sep 11 17:58:56 2008 From: stanb at panix.com (stan) Date: Thu, 11 Sep 2008 11:58:56 -0400 Subject: What are people using to create/edit nagios (nagvis) maps Message-ID: <20080911155856.GA27575@teddy.fas.com> What tools (UNIX or Windows) have people found work well for creating and maintaining Nagios and Nagvis maps? One of my people is using visio, but it does not seem to be all that efficient. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Thu Sep 11 21:11:07 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Thu, 11 Sep 2008 14:11:07 -0500 Subject: service dependency on host? Message-ID: <0319C242-46B9-4186-977A-0522B7E0F3CB@gmail.com> Hi, I have nagios up and working but I want to tweak it some so I'm not getting buried under sms messages. My setup works like so. I have a file called Loc-Servers.cfg In this file it has the host definitions that look like this, but just a ton of them.... # serv01 define host{ use linux-server host_name serv01.example.com alias serv01 address 192.168.1.101 } # serv01 define host{ use linux-server host_name serv02.example.com alias serv02 address 192.168.1.102 } And then after the hosts I have the services setup generally like this: define service{ use generic-service host_name serv01.example.com, serv02.example.com service_description Ping check_command check_ping!100.0,20%!500.0,60% } My real question comes down to dependencies. As much as I love getting 400 messages if something 'upstream' goes down like a switch, I generally want to try to get alerts only for hosts down and alerts for the first point of failure. So assuming one of my networks look like this: Router --> Switch -> serv01, serv02, serv03 Lets say the switch goes down. Which makes the servers all unreachable, which fails out all other servers. I don't want to have any notifications really for anything below the switch. I've seen the docs about having services dependent on services, and hosts dependent on hosts. But how about services, dependent on hosts. Do I just use hosts instead of services in the config? Thanks for you time and for your help, Charlie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Thu Sep 11 21:31:18 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Thu, 11 Sep 2008 14:31:18 -0500 Subject: service dependency on host? In-Reply-To: <77B2B6579FFE3A479CD609D3E80E20B2017E18EE@mailbox09.cshl.edu> References: <0319C242-46B9-4186-977A-0522B7E0F3CB@gmail.com> <77B2B6579FFE3A479CD609D3E80E20B2017E18EE@mailbox09.cshl.edu> Message-ID: I thought I was done.... There is no mention about the services for the affected hosts. Will they by default not send alerts, but only unreachables as well? So if the hosts aren't sending notifications because the head switch is down, what about the sub sequent services? Thanks, Charlie On Sep 11, 2008, at 2:15 PM, Goldschrafe, Jeffrey wrote: > You don't want host or service dependencies, you want parent/child > relationships on the hosts. > > FAQ (old): http://www.nagios.org/faqs/viewfaq.php?faq_id=145 > Docs (current): http://nagios.sourceforge.net/docs/3_0/networkreachability.html > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >> users- >> bounces at lists.sourceforge.net] On Behalf Of Charlie Reddington >> Sent: Thursday, September 11, 2008 3:11 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] service dependency on host? >> >> Hi, >> >> I have nagios up and working but I want to tweak it some so I'm not >> getting buried under sms messages. >> >> My setup works like so. >> >> I have a file called Loc-Servers.cfg >> >> In this file it has the host definitions that look like this, but >> just >> a ton of them.... >> >> # serv01 >> define host{ >> use linux-server >> host_name serv01.example.com >> alias serv01 >> address 192.168.1.101 >> } >> >> # serv01 >> define host{ >> use linux-server >> host_name serv02.example.com >> alias serv02 >> address 192.168.1.102 >> } >> >> And then after the hosts I have the services setup generally like >> this: >> >> define service{ >> use generic-service >> host_name serv01.example.com, >> serv02.example.com >> service_description Ping >> check_command check_ping!100.0,20%!500.0,60% >> } >> >> My real question comes down to dependencies. As much as I love >> getting >> 400 messages if something 'upstream' goes down like a switch, I >> generally want to try to get alerts only for hosts down and alerts >> for >> the first point of failure. >> >> So assuming one of my networks look like this: >> >> Router --> Switch -> serv01, serv02, serv03 >> >> Lets say the switch goes down. Which makes the servers all >> unreachable, which fails out all other servers. I don't want to have >> any notifications really for anything below the switch. >> >> I've seen the docs about having services dependent on services, and >> hosts dependent on hosts. But how about services, dependent on >> hosts. >> Do I just use hosts instead of services in the config? >> >> Thanks for you time and for your help, >> >> Charlie >> >> ----------------------------------------------------------------------- >> -- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Sep 11 22:16:27 2008 From: marc at ena.com (Marc Powell) Date: Thu, 11 Sep 2008 15:16:27 -0500 Subject: service dependency on host? In-Reply-To: <0319C242-46B9-4186-977A-0522B7E0F3CB@gmail.com> References: <0319C242-46B9-4186-977A-0522B7E0F3CB@gmail.com> Message-ID: <3A6A7B24-D88E-445B-8ED0-A4263C0CD029@ena.com> On Sep 11, 2008, at 2:11 PM, Charlie Reddington wrote: > Hi, > > I have nagios up and working but I want to tweak it some so I'm not > getting buried under sms messages. > > My real question comes down to dependencies. As much as I love getting > 400 messages if something 'upstream' goes down like a switch, I > generally want to try to get alerts only for hosts down and alerts for > the first point of failure. > > So assuming one of my networks look like this: > > Router --> Switch -> serv01, serv02, serv03 > > Lets say the switch goes down. Which makes the servers all > unreachable, which fails out all other servers. I don't want to have > any notifications really for anything below the switch. Sounds like you don't want dependencies, you want parents. http://nagios.sourceforge.net/docs/3_0/networkreachability.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From oscarsoto3 at gmail.com Fri Sep 12 03:22:27 2008 From: oscarsoto3 at gmail.com (Oscar Soto) Date: Thu, 11 Sep 2008 19:22:27 -0600 Subject: Only First notification Message-ID: Hello everyone!!! Somebody can help me please? How can I configure Nagios 3.0 for just send one notification by problem? I need just report the first error notification. Thank you so much!!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Sep 12 05:24:57 2008 From: marc at ena.com (Marc Powell) Date: Thu, 11 Sep 2008 22:24:57 -0500 Subject: Only First notification In-Reply-To: References: Message-ID: <786C5428-0778-4606-AC6B-C4F416351FF4@ena.com> On Sep 11, 2008, at 8:22 PM, Oscar Soto wrote: > Hello everyone!!! > Somebody can help me please? > How can I configure Nagios 3.0 for just send one notification by > problem? I need just report the first error notification. > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service notification_interval. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gardealuis at gmail.com Fri Sep 12 18:57:25 2008 From: gardealuis at gmail.com (Luis Gardea) Date: Fri, 12 Sep 2008 10:57:25 -0600 Subject: Only First notification In-Reply-To: <786C5428-0778-4606-AC6B-C4F416351FF4@ena.com> References: <786C5428-0778-4606-AC6B-C4F416351FF4@ena.com> Message-ID: <44f056cc0809120957m77a33e70gab8e91f5ad911661@mail.gmail.com> Hi oscar If you don't want the re-notification put the value in 0 read that notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out. On Thu, Sep 11, 2008 at 9:24 PM, Marc Powell wrote: > > On Sep 11, 2008, at 8:22 PM, Oscar Soto wrote: > >> Hello everyone!!! >> Somebody can help me please? >> How can I configure Nagios 3.0 for just send one notification by >> problem? I need just report the first error notification. >> > > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service > > notification_interval. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Fri Sep 12 18:59:23 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Fri, 12 Sep 2008 11:59:23 -0500 Subject: check_by_ssh - getting errors in logs Message-ID: <6521E858-C68E-43B7-9224-7C7373D75DEE@gmail.com> Hi all, I have nagios working pretty good, it's checking all i want over ssh. But ever since I have set up nagios over ssh, I keep getting the following in my logs..... authpriv crit sshd[8939]: fatal: Read from socket failed: Connection reset by peer I've checked the load / iowait of the servers in question and they all seem to be good. So I don't think they are loaded down when this happens. I also checked the versions of ssh to see if it was a particular version of openssh complaining but it seems pretty wide spread across our versions which are openssh 3.9p1 - 4.5. I also am using forced commands per host, and I added '&& exit&' thinking that maybe the connection wasn't exiting cleanly. Anyone have any idea's what else I can do to eliminate these errors? They seem somewhat intermittent, but I'm getting notices about every 20 minutes that a server is seeing this. Thanks, CHarlie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Fri Sep 12 19:18:58 2008 From: Thomas.Voigt at netkom.de (Voigt, Thomas) Date: Fri, 12 Sep 2008 19:18:58 +0200 Subject: how to monitor crond service In-Reply-To: <537dcd6b0809050219q79ff97f9r78cbe9a1c4bcd01f@mail.gmail.com> References: <25251aec0809042352k24362705r5da8e9de5f27bdd0@mail.gmail.com> <3FDCE9918EDF88488C30BDF0F787236A1BE59D7C@SME1019.dom1.e-ssi.net> <537dcd6b0809050219q79ff97f9r78cbe9a1c4bcd01f@mail.gmail.com> Message-ID: <3FDCE9918EDF88488C30BDF0F787236A1C4EF805@SME1019.dom1.e-ssi.net> Hi all, Heiko wrote: > SNMP OK - No Such Object available on this agent at this OID | > HOST-RESOURCES-MIB::hrProcessorTable=No Such Object available on this > agent at this OID Are you sure, you are using Net-SNMP? I believe only Net-SNMP is supporting the HOST-RESOURCES-MIB. -- Greetz Thomas Voigt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Fri Sep 12 20:36:16 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Fri, 12 Sep 2008 18:36:16 +0000 Subject: Nagios semaphore Message-ID: Hello, I have adapted a bash script to display the overall status of Nagios in a Semaphore thanks to NDOutils. The script query the database and depending on the results it changes the lights of the semaphore. The script works almost good, whenever a host is offline, the semaphore goes red, but when a service is critical, the semaphore stays in green. It worked with another server of Nagios, but now I installed Nagios in a new server and as I have said it doesn't detect the change of states of services. I passed long time trying to find the answer but I couldn't. Maybe somebody knows why. Here is the script: while true ; do LAMP=0 RESULT=`echo "SELECT instance_id FROM nagios_hoststatus WHERE current_state <> 0 AND problem_has_been_acknowledged = 0;" | mysql --host myhost.domain.xx--user nagios --password=nagios nagios | wc -l` if (( $RESULT > 0 )) ; then # A host has a problem : Red Light ./light red LAMP=1 # Light is set fi if [[ $LAMP = "0" ]] ; then RESULT=`echo "SELECT nagios_servicestatus.service_object_id FROM ((nagios_servicestatus INNER JOIN nagios_services ON nagios_servicestatus.service_object_id=nagios_services.service_object_id) INNER JOIN nagios_hosts ON nagios_services.host_object_id=nagios_hosts.host_object_id) INNER JOIN nagios_hoststatus ON nagios_hosts.host_id=nagios_hoststatus.hoststatus_id WHERE nagios_servicestatus.current_state > 1 AND nagios_servicestatus.problem_has_been_acknowledged=0 AND nagios_hoststatus.problem_has_been_acknowledged=0;" | mysql --host myhost.domain.xx--user nagios --password=nagios nagios | wc -l` if (( $RESULT > 0 )) ; then # Service is critic: Red Light ./light red LAMP=1 fi fi if [[ $LAMP = "0" ]] ; then RESULT=`echo " SELECT nagios_servicestatus.service_object_id FROM ((nagios_servicestatus INNER JOIN nagios_services ON nagios_servicestatus.service_object_id=nagios_services.service_object_id) INNER JOIN nagios_hosts ON nagios_services.host_object_id=nagios_hosts.host_object_id) INNER JOIN nagios_hoststatus ON nagios_hosts.host_id=nagios_hoststatus.hoststatus_id WHERE nagios_servicestatus.current_state = 1 AND nagios_servicestatus.problem_has_been_acknowledged=0 AND nagios_hoststatus.problem_has_been_acknowledged=0;" | mysql --host myhost.domain.xx --user nagios --password=nagios nagios | wc -l` if (( $RESULT > 0 )) ; then # Service is warning : Yellow Light ./light yellow LAMP=1 fi fi if [[ $LAMP = "0" ]] ; then # No problem : Green Light ./light green fi sleep 30 LAMP=0done Regards, Jorge _________________________________________________________________ ?Entra en el Club oficial de Messenger y te enterar?s de todas las novedades! http://www.vivelive.com/ilovemessenger -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From islandjewel at gmail.com Fri Sep 12 21:42:23 2008 From: islandjewel at gmail.com (Julie) Date: Fri, 12 Sep 2008 14:42:23 -0500 Subject: confused about SSL and NON-ssl on same server (nrpe) Message-ID: <9adfbf0809121242w5d8e3019n2e6d348dd18b659c@mail.gmail.com> Hi, Trying to run a configuration with mostly nrpe using SLL but about a dozen of the boxes are older and internal, but WITHOUT openssl. nrpe compiles fine, but I am confused about how I should be setting up my main server so most of the hosts are using the normal ssl nrpe and these dozen will use non-ssl. There must be an easy way without lots of editing - I hope. I did verify everything - check_nrpe -n some-host returns and fails if I leave off -n. Then all the other hosts work fine in ssl mode. Any tips or help would be greatl appreciate.. Thanks ~J~ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From terrybdavis at gmail.com Fri Sep 12 21:48:24 2008 From: terrybdavis at gmail.com (Terry Davis) Date: Fri, 12 Sep 2008 14:48:24 -0500 Subject: confused about SSL and NON-ssl on same server (nrpe) In-Reply-To: <9adfbf0809121242w5d8e3019n2e6d348dd18b659c@mail.gmail.com> References: <9adfbf0809121242w5d8e3019n2e6d348dd18b659c@mail.gmail.com> Message-ID: <14139e3a0809121248v111f4369u38d3c32227df0faf@mail.gmail.com> On Fri, Sep 12, 2008 at 2:42 PM, Julie wrote: > Hi, > > Trying to run a configuration with mostly nrpe using SLL but about a dozen > of the boxes are older and internal, but WITHOUT openssl. nrpe compiles > fine, but I am confused about how I should be setting up my main server so > most of the hosts are using the normal ssl nrpe and these dozen will use > non-ssl. There must be an easy way without lots of editing - I hope. > > I did verify everything - check_nrpe -n some-host returns and fails if I > leave off -n. Then all the other hosts work fine in ssl mode. > > Any tips or help would be greatl appreciate.. > > Thanks > ~J~ > > Hi Julie, If I am tracking what you are saying, you want your nagios server to be able to talk to both SSL and non-SSL NRPE agents. If that's the case, simply create two commands and use the non-SSL where appropriate: define command{ command_name check_nrpe_ssl command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } define command{ command_name check_nrpe_nossl command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$ } Thanks, Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Fri Sep 12 22:24:54 2008 From: bjlockie at lockie.ca (James) Date: Fri, 12 Sep 2008 16:24:54 -0400 (EDT) Subject: sudo /etc/init,d/nsagios Message-ID: <94796cec932fac30f7c29915a86500ce.squirrel@webmail.lockie.ca> I'm having trouble running the init script with sudo. I changed the su to use sudo but then I can't run the script with sudo because sudo can't run sudo. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mwlucas at blackhelicopters.org Fri Sep 12 22:47:10 2008 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Fri, 12 Sep 2008 16:47:10 -0400 Subject: which network interface check plugin to use? Message-ID: <20080912204710.GA81490@bewilderbeast.blackhelicopters.org> Hi, Today, I use MRTG to track switch and router traffic, interface errors, and so on. We use Nagios separately to generate alarms. I think we could replace our MRTG install with Nagios and PNP. I'm certain someone here has done this. I went looking for interface-stat-checking plugins, and found many. Quite a few, actually. Dozens. In different versions. Many with similar names, some updated and re-relased by people other than the author with slightly different functionality than all the other updated versions of the same plugin released by other people. Rather than spend days trying to test all of these, I thought I'd just beg for guidance here. I'm looking for something that: a) can be configured to monitor based on port name, hopefully using a regex. (I have many switches to monitor, and while some of them have FastEther port 0/1 and another has GigE 0/1, I can get away with calling it port 0/1.) b) tracks both traffic and interface errors c) looks decent in PNP d) snmp v3 Any recommendations, folks? Thanks, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ "My pessimism extends to the point of even suspecting the sincerity of the pessimists." -- Jean Rostand, French biologist and philosopher ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jeff at attributor.com Sat Sep 13 02:33:31 2008 From: jeff at attributor.com (Jeff Orr) Date: Fri, 12 Sep 2008 17:33:31 -0700 Subject: Expiring service acknowledgements Message-ID: <48CB0A5B.8000202@attributor.com> Hello! I have been asked by my supers to find a way to expire service ACKs after x number of days (say, seven). Is there anything currently available to prune the acknowledgments file in a way that doesn't break Nagios? Or do I need to spin something on my own? Regards, Jeff Orr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Sat Sep 13 07:34:10 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 13 Sep 2008 07:34:10 +0200 Subject: which network interface check plugin to use? In-Reply-To: <20080912204710.GA81490@bewilderbeast.blackhelicopters.org> References: <20080912204710.GA81490@bewilderbeast.blackhelicopters.org> Message-ID: <48CB50D2.1090304@ederdrom.de> Michael W. Lucas schrieb: > Hi, > > Today, I use MRTG to track switch and router traffic, interface > errors, and so on. We use Nagios separately to generate alarms. I > think we could replace our MRTG install with Nagios and PNP. I'm > certain someone here has done this. > > I went looking for interface-stat-checking plugins, and found many. > Quite a few, actually. Dozens. In different versions. Many with > similar names, some updated and re-relased by people other than the > author with slightly different functionality than all the other > updated versions of the same plugin released by other people. Rather > than spend days trying to test all of these, I thought I'd just beg > for guidance here. I'm looking for something that: > > a) can be configured to monitor based on port > name, hopefully using a regex. (I have many switches to monitor, and > while some of them have FastEther port 0/1 and another has GigE 0/1, I > can get away with calling it port 0/1.) > > b) tracks both traffic and interface errors > > c) looks decent in PNP > > d) snmp v3 http://nagios.manubulon.com/snmp_int.html check_snmp_int will do the job very well Joerg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From moshesharon at gmail.com Sat Sep 13 18:55:21 2008 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 13 Sep 2008 18:55:21 +0200 Subject: [Nagiosplug-help] How to install NRPE on Solaris 8 In-Reply-To: References: Message-ID: <88ad29240809130955o40fafb74h391d254b0110bf86@mail.gmail.com> Hello This will not work. Solaris 8 does not have SMF you need to add it to nrpe first install / compile the package for example in /usr/local/nagios create file nrpe.cfg and paste the following line in the /etc/inetd.conf nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --inetd add to /etc/services nrpe 5666 and restart inetd this will solve your problem -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Sun Sep 14 04:40:52 2008 From: jon at netdork.net (Jon Angliss) Date: Sat, 13 Sep 2008 21:40:52 -0500 Subject: Variable notifications References: <20080909135923.P88766@mippet.ci.com.au> <48C66821.9030304@collaborativefusion.com> <20080910100535.I12368@mippet.ci.com.au> Message-ID: On Wed, 10 Sep 2008 10:18:01 +1000 (EST), Dave Horsfall wrote: >On Tue, 9 Sep 2008, Sean McAfee wrote: > >> > Except for the computer room temperature monitor... I want this to be >> > 24x7, notifying via as many channels as possible. I've experimented >> > with several techniques, but they all boil down to me inheriting the >> > 24x7 period for all hosts/services etc. >> Unless I'm missing something about your config, you just need to add >> "notification_period 24x7" to the temperature check definition. > >Yeah, but I don't want to be notified about the other 24x7 services. > >In short, I want to be paged about *this* 24x7 service any time, but >merely emailed about *other* 24x7 services out of working hours (because >others could be looking after them 24x7). "quick & dirty" would be to set yourself up another contact with just your pager that is attached to that service. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frimik at gmail.com Sun Sep 14 09:35:57 2008 From: frimik at gmail.com (Mikael Fridh) Date: Sun, 14 Sep 2008 09:35:57 +0200 Subject: confused about SSL and NON-ssl on same server (nrpe) In-Reply-To: <14139e3a0809121248v111f4369u38d3c32227df0faf@mail.gmail.com> References: <9adfbf0809121242w5d8e3019n2e6d348dd18b659c@mail.gmail.com> <14139e3a0809121248v111f4369u38d3c32227df0faf@mail.gmail.com> Message-ID: <323f67830809140035oa54f277i93da0703967a25ac@mail.gmail.com> On Fri, Sep 12, 2008 at 9:48 PM, Terry Davis wrote: > On Fri, Sep 12, 2008 at 2:42 PM, Julie wrote: >> >> Hi, >> >> Trying to run a configuration with mostly nrpe using SLL but about a dozen >> of the boxes are older and internal, but WITHOUT openssl. nrpe compiles >> fine, but I am confused about how I should be setting up my main server so >> most of the hosts are using the normal ssl nrpe and these dozen will use >> non-ssl. There must be an easy way without lots of editing - I hope. >> >> I did verify everything - check_nrpe -n some-host returns and fails if I >> leave off -n. Then all the other hosts work fine in ssl mode. >> >> Any tips or help would be greatl appreciate.. >> >> Thanks >> ~J~ >> > > Hi Julie, > > If I am tracking what you are saying, you want your nagios server to be able > to talk to both SSL and non-SSL NRPE agents. If that's the case, simply > create two commands and use the non-SSL where appropriate: > > define command{ > command_name check_nrpe_ssl > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } > > define command{ > command_name check_nrpe_nossl > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$ > } > I would prefer to define it as a custom var on the host level, either in templates or on each host: define host{ host_name specialhost _nrpeflags -n } define command{ command_name check_nrpe command_line $USER1$/check_nrpe $_HOSTNRPEFLAGS$ -H $HOSTADDRESS$ -c $ARG1$ } I don't have a nagios box here at the moment where I can test it on, but I wonder if the interpolation is ok for those hosts where the _nrpeflags var is missing: define host{ host_name specialhost } Or if you need to do this: define host{ host_name normalhost _nrpeflags " " } effectively "nulling" it. If it works without "nulling" the variable on all other hosts, you'll only need to modify two places: each host which is the special case you're describing, and the nrpe command definition. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michaelh at instra.com Mon Sep 15 01:22:27 2008 From: michaelh at instra.com (Michael Hallager) Date: Mon, 15 Sep 2008 09:22:27 +1000 Subject: MSSQL monitoring Message-ID: Hello all- First time post to this list. I am setting up Nagios on a CentOS Linux machine and one of the servers I wish to monitor is a Windows machine. I have setup NSClient and this is working except I also need to monitor MSSQL and despite trying a couple of different howtos on the net I have not been able to get this functional. Can someone please point me to a MS SQL monitoring howto, or provide directions, that they have tested? Kind regards, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lavalamp at spiritual-machines.org Mon Sep 15 02:34:01 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 14 Sep 2008 20:34:01 -0400 Subject: MSSQL monitoring In-Reply-To: References: Message-ID: <1221438841.3660.0.camel@ingress> On Mon, 2008-09-15 at 09:22 +1000, Michael Hallager wrote: > Hello all- > > > > First time post to this list. > Did you google it? http://www.nagiosexchange.org/cgi-bin/page.cgi?d=1;g=Detailed% 2F2692.html ~BAS > > > I am setting up Nagios on a CentOS Linux machine and one of the > servers I wish to monitor is a Windows machine. I have setup NSClient > and this is working except I also need to monitor MSSQL and despite > trying a couple of different howtos on the net I have not been able to > get this functional. > > > > Can someone please point me to a MS SQL monitoring howto, or provide > directions, that they have tested? > > > > Kind regards, > > > > Michael > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From termx23 at gmail.com Mon Sep 15 04:35:55 2008 From: termx23 at gmail.com (Peter Edmonds) Date: Mon, 15 Sep 2008 12:35:55 +1000 Subject: MSSQL monitoring In-Reply-To: References: Message-ID: <6b8cee7e0809141935o36ab9422yc8286d33e75c3290@mail.gmail.com> > need to monitor MSSQL and despite trying a couple of > different howtos on the net I have not been able to get this functional. Couple of options here http://article.gmane.org/gmane.network.nagios.user/49183 Either using bsqldb and freetds or a Perl script http://library.pantek.com/Mailing%20Lists/lists.sourceforge.net/nagios-users/att-1600/check_mssql.pl ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Henti.Smith at investec.co.za Mon Sep 15 09:25:04 2008 From: Henti.Smith at investec.co.za (Henti Smith) Date: Mon, 15 Sep 2008 09:25:04 +0200 Subject: Cannot use swapctl in the large files compilation environment on 23bit Solaris 10 Message-ID: Good day, I'm testing nagios from my 32bit solaris test machine and I cannot get check_swap compiled. The config.log for ./configure --prefix=/opt/nagios is as follows : In file included from conftest.c:89: /usr/include/sys/swap.h:50:2: #error "Cannot use swapctl in the large files compilation environment" I've looked around n the net and there seems to have been issues before and code changes were made to fix this and seems to have been tested on solaris 9 according to the entry in Changelog. Does anybody have an idea how to fix this ? -- Henti Smith Private Bank IT - Lending Investec Private Bank Telephone: (2711) 286 7735 100 Grayston Drive, Sandown, Sandton, 2196, South Africa PO Box 785700, Sandton, 2146, South Africa www.investecprivatebank.co.za An authorised financial services provider Please consider the environment before printing this e-mail http://www.investec.com/EmailDisclaimer/emaildisclaimer.htm The disclaimer also provides our corporate information and names of our directors as required by law. The disclaimer is deemed to form part of this message in terms of Section 11 of the Electronic Communications and Transactions Act 25 of 2002. If you cannot access the disclaimer, please obtain a copy thereof from us by sending an email to: disclaimer at investec.co.za ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benk at aweber.com Mon Sep 15 15:06:15 2008 From: benk at aweber.com (Benjamin Krein) Date: Mon, 15 Sep 2008 09:06:15 -0400 Subject: Really slow log2ndo Message-ID: <532A023E-A4BB-4C2E-A9B4-A8490ECB33BF@aweber.com> Am I the only one who is experiencing very slow performance importing archived log files into MySQL with log2ndo? I'm averaging ~1.5 log entries per second being inserted. This seems slow to me. I've tried dividing the parsing & MySQL service across 2 servers as well as move all the parsing/inserting locally on a remote (to Nagios) server which is much beefier than our actual Nagios server. My insertion speed remains fairly consistent. I'm currently using the Unix socket option. Is this the wrong one? Would TCP be faster (doesn't seem so)? Should I process the logs to flat text files first then push those to ndo2db? At this rate it's going to take FOREVER! I have ~10 million archived lines to parse and insert. Maybe I'm expecting too much? Benjamin Krein Systems Administrator AWeber Communications, Inc. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Mon Sep 15 16:23:26 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Mon, 15 Sep 2008 16:23:26 +0200 Subject: Nagios configuraion best practice Message-ID: Hello all, I'm new to Nagios, and are planning on using Nagios for monitoring our network of Linux servers. Are there any best practice documents on how to manage the different definitions such as hostgroups, services, servicegroups, and so forth in an enterprise environment? Regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From listuser at adnovum.ch Mon Sep 15 17:05:05 2008 From: listuser at adnovum.ch (Bernd Nies) Date: Mon, 15 Sep 2008 17:05:05 +0200 Subject: check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08 In-Reply-To: <52064DA7-9A86-41FA-8026-542DB793833D@altinity.com> References: <48BFDC55.5060607@adnovum.ch> <52064DA7-9A86-41FA-8026-542DB793833D@altinity.com> Message-ID: <48CE79A1.2030004@adnovum.ch> Duncan Ferguson wrote: > Can you please try a recent snapshot? The I rewrote the pst3 binary to > enable to work faster and be zone aware (to allow use in in the global > and sub zones). Its been fine for me, but I don't think there has been > a release since the code was committed. > > CC'ing in the nagiosplug-devel list (probably best place for this thread). Hmmm ... I took the 15 September snapshot at http://nagiosplug.sourceforge.net/snapshot/ [root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs-new -V check_procs v2019 (nagios-plugins 1.4.12) [root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs-new -t 60 PROCS OK: 1445 processes real 0m32.551s user 0m1.641s sys 0m26.088s [root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs-1.45 -t 60 PROCS OK: 1477 processes real 0m0.344s user 0m0.056s sys 0m0.309s Still runs about 100x slower than version 1.45. [root at adnsoz05 ~]$ uname -a SunOS adnsoz05 5.10 Generic_127127-11 sun4u sparc SUNW,SPARC-Enterprise [root at adnsoz05 ~]$ prtdiag System Configuration: Sun Microsystems sun4u Sun SPARC Enterprise M4000 Server System clock frequency: 1012 MHz Memory size: 32768 Megabytes ==================================== CPUs ==================================== CPU CPU Run L2$ CPU CPU LSB Chip ID MHz MB Impl. Mask --- ---- ---------------------------------------- ---- --- ----- ---- 00 0 0, 1, 2, 3 2150 5.0 6 147 00 1 8, 9, 10, 11 2150 5.0 6 147 ============================ Memory Configuration ============================ Memory Available Memory DIMM # of Mirror Interleave LSB Group Size Status Size DIMMs Mode Factor --- ------ ------------------ ------- ------ ----- ------- ---------- 00 A 16384MB okay 2048MB 8 no 4-way 00 B 16384MB okay 2048MB 8 no 4-way Bye Bernd > > Duncs > > On 4 Sep 2008, at 14:02, Bernd Nies wrote: > >> Hi, >> >> Something bad happened to the check_proc plugin between version 1.45 and >> v1991. For counting ca 1700 processes on a Sun Enterprise M4000 it takes >> 45 seconds and sometimes longer. An older version was much faster qirh >> 0.3 seconds. >> >> I compiled Nagios plugins 1.4.12 on a Solaris 9 with GCC 3.4.6 to get >> binaries that can run on Solaris 8, 9 and 10. >> >> >> >> [root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs-1.45 -V >> check_procs (nagios-plugins 1.4.1) 1.45 >> >> [root at adnsoz05 ~]$ /opt/adnnagios/libexec/check_procs -V >> check_procs v1991 (nagios-plugins 1.4.12) >> >> >> >> [root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs-1.45 >> PROCS OK: 1695 processes >> >> real 0m0.320s >> user 0m0.051s >> sys 0m0.296s >> >> [root at adnsoz05 ~]$ time /opt/adnnagios/libexec/check_procs -t 60 >> PROCS OK: 1664 processes >> >> real 0m45.543s >> user 0m2.851s >> sys 0m41.231s >> >> >> Any ideas what's going wrong? >> >> Bye >> Bernd >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Mon Sep 15 17:32:50 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Mon, 15 Sep 2008 15:32:50 +0000 Subject: Acknowledge problems via e-mail Message-ID: Hello list, I have a running instalation of Nagios capable to acknowledge via web interface and SMS (I followed some tutorial for that). I guessed Nagios had implemented by default the acknowledgementent via e-mail by default just replying to the e-mail but I discovered that it doesn't work. Somebody did? how? Regards, Jorge _________________________________________________________________ ?Sigue el calor? Consulta MSN El tiempo http://eltiempo.es.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From terrybdavis at gmail.com Mon Sep 15 17:57:51 2008 From: terrybdavis at gmail.com (Terry Davis) Date: Mon, 15 Sep 2008 10:57:51 -0500 Subject: Acknowledge problems via e-mail In-Reply-To: References: Message-ID: <14139e3a0809150857p185540f8wdb64e767d981fde8@mail.gmail.com> On Mon, Sep 15, 2008 at 10:32 AM, Jorge Pe?a wrote: > Hello list, > > I have a running instalation of Nagios capable to acknowledge via web > interface and SMS (I followed some tutorial for that). > > I guessed Nagios had implemented by default the acknowledgementent via > e-mail by default just replying to the e-mail but I discovered that it > doesn't work. > > Somebody did? how? > > Regards, > Jorge > > 1) install postfix 2) install procmail 3) use the following procmailrc for the nagios user: LOGFILE=$HOME/.procmailrc.log VERBOSE=yes PATH=/usr/bin :0 * ^Subject:[ ]*\/[^ ].* | /usr/lib/nagios/eventhandlers/processmail "${MATCH}" 4) /usr/lib/nagios/eventhandlers/processmail is at the end of this email 5) the program assumes notifications are formatted like mine. I put them at the end of this email too. 6) when you receive an alert on your blackberry while at the bar, simply reply to the email and prepend the subject of the alert with: "something ack" I'm probably missing some things so if it doesn't work right away, post back and I'll help as much as I can. This comes with no warranty. Its poorly written perl. It probably has a huge security hole. There's probably a better way to do this. It very well may turn your servers into an Atom bomb and blow up the moon. Just warning you... :) Thanks, Terry ################################ define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nNotification Number: $SERVICENOTIFICATIONNUMBER$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/lib/nagios/eventhandlers/notification $SERVICENOTIFICATIONNUMBER$ localhost nagios at domain.com $CONTACTEMAIL$ "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" service } define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nNotification Number: $SERVICENOTIFICATIONNUMBER$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" | /usr/bin/sendEmail -s localhost -f nagios at domain.com -t $CONTACTEMAIL$ -u "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" } define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nNotification Number: $HOSTNOTIFICATIONNUMBER$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/lib/nagios/eventhandlers/notification $HOSTNOTIFICATIONNUMBER$ localhost nagios at domain.com $CONTACTEMAIL$ "Host $HOSTSTATE$ alert for $HOSTNAME$!" host } define command{ command_name host-notify-by-epager command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nTime: $LONGDATETIME$" | /usr/bin/sendEmail -s localhost -f nagios at domain.com -t $CONTACTEMAIL$ -u "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" } ######################################## #!/usr/bin/perl $correctpassword = 'something'; $subject = "$ARGV[0]"; $now = `/bin/date +%s`; chomp $now; $commandfile = '/var/log/nagios/rw/nagios.cmd'; if ($subject =~ /Host/ ){ ($password, $what, $junk, $junk, $junk, $junk, $junk, $host) = split(/ /, $subject); ($host) = ($host) =~ /(.*)\!/; } else { ($foo, $bar) = split(/\//, $subject); ($password, $what, $junk, $junk, $junk, $junk, $junk, $host) = split(/ /, $foo); ($service) = $bar =~ /^(.*) is.*$/; } $password =~ s/^\s+//; $password =~ s/\s+$//; print "$password\t$what\t$host\t$service\n"; unless ($password =~ /$correctpassword/i) { print "exiting...wrong password\n"; exit 1; } # ack if ($subject =~ /Host/ ) { $ack = "ACKNOWLEDGE_HOST_PROBLEM;$host;1;1;1;email;email;acknowledged through email"; } else { $ack = "ACKNOWLEDGE_SVC_PROBLEM;$host;$service;1;1;1;email;acknowledged through email"; } if ($what =~ /ack/i) { sub_print("$ack"); } else { print "no valid commands...exiting\n"; exit 1; } sub sub_print { $narf=shift; open(F, ">$commandfile") or die "cant"; print F "[$now] $narf\n"; close F; } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at donsbox.com Mon Sep 15 18:29:55 2008 From: nagios at donsbox.com (nagios at donsbox.com) Date: Mon, 15 Sep 2008 12:29:55 -0400 (EDT) Subject: intermittent CGI failure Message-ID: Installed 3.0.3 from source on OpenBSD 4.3 (sparc64). Everything works, but every so often the CGI's will fail. e.g. If I refresh, say, status.cgi?host=all 10 times in a row, it'll fail at least once or twice. I can reproduce using both Apache and nginx. Here's Apache error log snippet: "Premature end of script headers: /var/www/nagios/cgi-bin/status.cgi" Here's nginx error log snippet: "upstream closed prematurely FastCGI stdout while reading response header from upstream" Familiar issue to anyone? Next steps to debug? I cannot reproduce by running, manually from command shell: export REQUEST_METHOD=GET ./status.cgi ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Mon Sep 15 18:57:44 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 15 Sep 2008 17:57:44 +0100 Subject: NRPE 2.12 compile failure Message-ID: <48CE9408.1060403@networkmail.eu> Hi, I've just had a new Nagios server delivered; it's running Debian 4. I've installed the latest Apache, PHP, OpenSSL packages and Nagios 3.0.3 and NRPE 2.12. However it looks like NRPE isn't setting the include flags correctly for the compiler. OpenSSL is installed in /usr/local/openssl, and Nagios in /usr/local/nagios. My configure line is: ./configure --prefix=/usr/local/nagios --with-ssl=/usr/local/openssl --with-ssl-inc=/usr/local/openssl/include --with-ssl-lib=/usr/local/openssl/lib --with-nrpe-user=nagios --with-nrpe-group=localservice Configure completes successfully and generates the OpenSSL parameters successfully: *** Generating DH Parameters for SSL/TLS *** Generating DH parameters, 512 bit long safe prime, generator 2 This is going to take a long time .... etc .... "make all" then fails with a LOT of the following errors: /usr/local/openssl/include/openssl/pem.h:69:25: error: openssl/evp.h: No such file or directory /usr/local/openssl/include/openssl/pem.h:70:26: error: openssl/x509.h: No such file or directory /usr/local/openssl/include/openssl/pem.h:71:26: error: openssl/pem2.h: No such file or directory In file included from ../include/config.h:241, from ../include/common.h:24, from nrpe.c:21: /usr/local/openssl/include/openssl/pem.h:142: error: expected specifier-qualifier-list before ???EVP_ENCODE_CTX??? Evidently the include path is not been set to "/usr/local/openssl/include" as requested in the configure script. If I try and set "with-ssl-inc" and "with-ssl-lib" to anything else (or omit them), it fails saying the SSL libraries were not found. If I look inside the Makefile, it looks like the configure script has added an additional "openssl" to the include path. OpenSSL tries to find "openssl/*.h" so it's actually trying to find "/usr/local/openssl/include/openssl/openssl/*.h" whcih is incorrect. ------------------------------------------------------------------------------ root /var/software/nrpe-2.12 # cat Makefile|grep include SRC_INCLUDE=./include/ CFLAGS=-g -O2 -I/usr/local/openssl/include/openssl -DHAVE_CONFIG_H ------------------------------------------------------------------------------ Has anyone else had similar problems? Andy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From islandjewel at gmail.com Mon Sep 15 19:24:03 2008 From: islandjewel at gmail.com (Julie) Date: Mon, 15 Sep 2008 12:24:03 -0500 Subject: permissions on nagios.cmd Message-ID: <9adfbf0809151024i2e58eaebobfd80c192a8bcd57@mail.gmail.com> Everyone here has been great about helping me on my previous problem - and now I have a new one. I have read the FAQ and recreated the file and check permissions several times, but no matter what I do I can't get past: *Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! * *The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. * *An error occurred while attempting to commit your command for processing.* I should explain - I rebuilt nagios on a new system and then rsync'ed key config files. I was moving from 32 bit to 64 bit and wanted to recompile everything with 64 bit libraries. At first I thought the rsync caused some problems. So following the FAQ - I deleted /usr/local/nagios/var/rw and recreated. drwxrwsr-x 2 nagios nagios 4096 Sep 14 08:44 rw prw-rw---- 1 nagios nagios 0 Sep 14 08:44 nagios.cmd and both the user and group that runs nagios is nagios. I added apache to the nagios group. Bust still the error occurs. I have restarted and rebooted. I do have selinux running, but even tried "permissive" to see if that was the problem. I also ran chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ chcon -R -t httpd_sys_content_t /usr/local/nagios/var and still no luck. Help?! ~J~ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From terrybdavis at gmail.com Mon Sep 15 19:46:48 2008 From: terrybdavis at gmail.com (Terry Davis) Date: Mon, 15 Sep 2008 12:46:48 -0500 Subject: permissions on nagios.cmd In-Reply-To: <9adfbf0809151024i2e58eaebobfd80c192a8bcd57@mail.gmail.com> References: <9adfbf0809151024i2e58eaebobfd80c192a8bcd57@mail.gmail.com> Message-ID: <14139e3a0809151046p16221157o73b810a2f3049e2@mail.gmail.com> On Mon, Sep 15, 2008 at 12:24 PM, Julie wrote: > Everyone here has been great about helping me on my previous problem - and > now I have a new one. > > I have read the FAQ and recreated the file and check permissions several > times, but no matter what I do I can't get past: > > *Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd'!* > *The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. * > *An error occurred while attempting to commit your command for processing. > * > > I should explain - I rebuilt nagios on a new system and then rsync'ed key > config files. I was moving from 32 bit to 64 bit and wanted to recompile > everything with 64 bit libraries. > > At first I thought the rsync caused some problems. So following the FAQ - I > deleted /usr/local/nagios/var/rw and recreated. > > drwxrwsr-x 2 nagios nagios 4096 Sep 14 08:44 rw > prw-rw---- 1 nagios nagios 0 Sep 14 08:44 nagios.cmd > > > and both the user and group that runs nagios is nagios. I added apache to > the nagios group. Bust still the error occurs. I have restarted and > rebooted. I do have selinux running, but even tried "permissive" to see if > that was the problem. I also ran > > chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ > chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ > chcon -R -t httpd_sys_content_t /usr/local/nagios/var > > and still no luck. > > Help?! > ~J~ > What are the following values set to in nagios.cfg: check_external_commands command_check_interval command_file Thanks, Terry * * -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Mon Sep 15 19:48:33 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 15 Sep 2008 18:48:33 +0100 Subject: [Fwd: NRPE 2.12 compile failure] Message-ID: <48CE9FF1.7090705@networkmail.eu> FYI if I force the compiler flags, it works. I've also tried on another Debian 4 box and it also fails the same. The configure line below forces the compiler flags to be correct: CFLAGS="-I/usr/local/openssl/include" ./configure --prefix=/usr/local/nagios --with-ssl=/usr/local/openssl --with-ssl-inc=/usr/local/openssl/include --with-ssl-lib=/usr/local/openssl/lib --with-nrpe-user=nagios --with-nrpe-group=localservice Thanks, Andy -------- Original Message -------- Subject: [Nagios-users] NRPE 2.12 compile failure Date: Mon, 15 Sep 2008 17:57:44 +0100 From: Andy Shellam To: nagios-user Mailinglist Hi, I've just had a new Nagios server delivered; it's running Debian 4. I've installed the latest Apache, PHP, OpenSSL packages and Nagios 3.0.3 and NRPE 2.12. However it looks like NRPE isn't setting the include flags correctly for the compiler. OpenSSL is installed in /usr/local/openssl, and Nagios in /usr/local/nagios. My configure line is: ./configure --prefix=/usr/local/nagios --with-ssl=/usr/local/openssl --with-ssl-inc=/usr/local/openssl/include --with-ssl-lib=/usr/local/openssl/lib --with-nrpe-user=nagios --with-nrpe-group=localservice Configure completes successfully and generates the OpenSSL parameters successfully: *** Generating DH Parameters for SSL/TLS *** Generating DH parameters, 512 bit long safe prime, generator 2 This is going to take a long time .... etc .... "make all" then fails with a LOT of the following errors: /usr/local/openssl/include/openssl/pem.h:69:25: error: openssl/evp.h: No such file or directory /usr/local/openssl/include/openssl/pem.h:70:26: error: openssl/x509.h: No such file or directory /usr/local/openssl/include/openssl/pem.h:71:26: error: openssl/pem2.h: No such file or directory In file included from ../include/config.h:241, from ../include/common.h:24, from nrpe.c:21: /usr/local/openssl/include/openssl/pem.h:142: error: expected specifier-qualifier-list before ???EVP_ENCODE_CTX??? Evidently the include path is not been set to "/usr/local/openssl/include" as requested in the configure script. If I try and set "with-ssl-inc" and "with-ssl-lib" to anything else (or omit them), it fails saying the SSL libraries were not found. If I look inside the Makefile, it looks like the configure script has added an additional "openssl" to the include path. OpenSSL tries to find "openssl/*.h" so it's actually trying to find "/usr/local/openssl/include/openssl/openssl/*.h" whcih is incorrect. ------------------------------------------------------------------------------ root /var/software/nrpe-2.12 # cat Makefile|grep include SRC_INCLUDE=./include/ CFLAGS=-g -O2 -I/usr/local/openssl/include/openssl -DHAVE_CONFIG_H ------------------------------------------------------------------------------ Has anyone else had similar problems? Andy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From islandjewel at gmail.com Mon Sep 15 20:01:26 2008 From: islandjewel at gmail.com (Julie) Date: Mon, 15 Sep 2008 13:01:26 -0500 Subject: permissions on nagios.cmd In-Reply-To: <9adfbf0809151051v495b4b53rc2409bfb24be3cf0@mail.gmail.com> References: <9adfbf0809151024i2e58eaebobfd80c192a8bcd57@mail.gmail.com> <14139e3a0809151046p16221157o73b810a2f3049e2@mail.gmail.com> <9adfbf0809151051v495b4b53rc2409bfb24be3cf0@mail.gmail.com> Message-ID: <9adfbf0809151101p683e02dal44506d39a8d49e54@mail.gmail.com> Never mind - it was one last setting on SElinux.. SELinux is preventing cmd.cgi (httpd_sys_script_t) "getattr" to /usr/local/nagios/var/rw/nagios.cmd I added a change to SELinux policy and it is working now... I needed to add it for the file, not just the folder.. chcon -R -t httpd_sys_content_t /usr/local/nagios/var/rw/nagios.cmd thanks.. On Mon, Sep 15, 2008 at 12:51 PM, Julie wrote: > all what I would expect: > > nagios_group=nagios > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > > On Mon, Sep 15, 2008 at 12:46 PM, Terry Davis wrote: > >> On Mon, Sep 15, 2008 at 12:24 PM, Julie wrote: >> >>> Everyone here has been great about helping me on my previous problem - >>> and now I have a new one. >>> >>> I have read the FAQ and recreated the file and check permissions several >>> times, but no matter what I do I can't get past: >>> >>> *Error: Could not stat() command file >>> '/usr/local/nagios/var/rw/nagios.cmd'!* >>> *The external command file may be missing, Nagios may not be running, >>> and/or Nagios may not be checking external commands. * >>> *An error occurred while attempting to commit your command for >>> processing.* >>> >>> I should explain - I rebuilt nagios on a new system and then rsync'ed key >>> config files. I was moving from 32 bit to 64 bit and wanted to recompile >>> everything with 64 bit libraries. >>> >>> At first I thought the rsync caused some problems. So following the FAQ - >>> I deleted /usr/local/nagios/var/rw and recreated. >>> >>> drwxrwsr-x 2 nagios nagios 4096 Sep 14 08:44 rw >>> prw-rw---- 1 nagios nagios 0 Sep 14 08:44 nagios.cmd >>> >>> >>> and both the user and group that runs nagios is nagios. I added apache to >>> the nagios group. Bust still the error occurs. I have restarted and >>> rebooted. I do have selinux running, but even tried "permissive" to see if >>> that was the problem. I also ran >>> >>> chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ >>> chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ >>> chcon -R -t httpd_sys_content_t /usr/local/nagios/var >>> >>> and still no luck. >>> >>> Help?! >>> ~J~ >>> >> >> What are the following values set to in nagios.cfg: >> >> check_external_commands >> command_check_interval >> command_file >> >> Thanks, >> Terry >> * >> * >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From terrybdavis at gmail.com Mon Sep 15 20:18:46 2008 From: terrybdavis at gmail.com (Terry Davis) Date: Mon, 15 Sep 2008 13:18:46 -0500 Subject: permissions on nagios.cmd In-Reply-To: <9adfbf0809151101p683e02dal44506d39a8d49e54@mail.gmail.com> References: <9adfbf0809151024i2e58eaebobfd80c192a8bcd57@mail.gmail.com> <14139e3a0809151046p16221157o73b810a2f3049e2@mail.gmail.com> <9adfbf0809151051v495b4b53rc2409bfb24be3cf0@mail.gmail.com> <9adfbf0809151101p683e02dal44506d39a8d49e54@mail.gmail.com> Message-ID: <14139e3a0809151118m59865a4re0b066e64b731047@mail.gmail.com> On Mon, Sep 15, 2008 at 1:01 PM, Julie wrote: > Never mind - it was one last setting on SElinux.. > > SELinux is preventing cmd.cgi (httpd_sys_script_t) "getattr" to > /usr/local/nagios/var/rw/nagios.cmd > > I added a change to SELinux policy and it is working now... I needed to add > it for the file, not just the folder.. > > chcon -R -t httpd_sys_content_t /usr/local/nagios/var/rw/nagios.cmd > > thanks.. > > Why's that matter if SELINUX was configured as permissive? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at sequestered.net Tue Sep 16 01:30:02 2008 From: lists at sequestered.net (Jay Chandler) Date: Mon, 15 Sep 2008 16:30:02 -0700 Subject: Service alerts after host down? Message-ID: <48CEEFFA.5090104@sequestered.net> Howdy. I fear I have something misconfigured. A host in our environment will go down, and I'll get a notification that the host is down. However, I'll still keep getting Service alerts after the host notification, which I don't get; logically, if a host is hard down, NONE of its services should return as up. Assuming I'm not mistaken in this belief, what portion of my config files shall I submit for review? Regards, -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 16 01:42:34 2008 From: marc at ena.com (Marc Powell) Date: Mon, 15 Sep 2008 18:42:34 -0500 Subject: Service alerts after host down? In-Reply-To: <48CEEFFA.5090104@sequestered.net> References: <48CEEFFA.5090104@sequestered.net> Message-ID: <767A81B2-CEA1-4E63-AB97-46C0CC7424B1@ena.com> On Sep 15, 2008, at 6:30 PM, Jay Chandler wrote: > Howdy. > > I fear I have something misconfigured. A host in our environment will > go down, and I'll get a notification that the host is down. However, > I'll still keep getting Service alerts after the host notification, > which I don't get; logically, if a host is hard down, NONE of its > services should return as up. Yup. nagios knows this. Service alert suppression is automagic. The first section of the following page explains -- http://nagios.sourceforge.net/docs/2_0/networkreachability.html > Assuming I'm not mistaken in this belief, what portion of my config > files shall I submit for review? You just need to make sure that your host's check_command returns DOWN when it's down. If that is currently the case, and you see that reflected in the web interface, be sure that you don't have multiple nagios daemons running at the same time. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at sequestered.net Tue Sep 16 03:06:33 2008 From: lists at sequestered.net (Jay Chandler) Date: Mon, 15 Sep 2008 18:06:33 -0700 Subject: Service alerts after host down? In-Reply-To: <767A81B2-CEA1-4E63-AB97-46C0CC7424B1@ena.com> References: <48CEEFFA.5090104@sequestered.net> <767A81B2-CEA1-4E63-AB97-46C0CC7424B1@ena.com> Message-ID: <48CF0699.50103@sequestered.net> Marc Powell wrote: > On Sep 15, 2008, at 6:30 PM, Jay Chandler wrote: > > >> Howdy. >> >> I fear I have something misconfigured. A host in our environment will >> go down, and I'll get a notification that the host is down. However, >> I'll still keep getting Service alerts after the host notification, >> which I don't get; logically, if a host is hard down, NONE of its >> services should return as up. >> > > Yup. nagios knows this. Service alert suppression is automagic. The > first section of the following page explains -- > > http://nagios.sourceforge.net/docs/2_0/networkreachability.html > > >> Assuming I'm not mistaken in this belief, what portion of my config >> files shall I submit for review? >> > > You just need to make sure that your host's check_command returns DOWN > when it's down. If that is currently the case, and you see that > reflected in the web interface, be sure that you don't have multiple > nagios daemons running at the same time. > > Thanks for your reply-- I've made a few changes here and am awaiting the next maintenance window (or outtage!) to verify that this works now. I may change the check_host_alive to use an SSH query instead of an ICMP echo request; there are several situations in which the box is for all intents and purposes down, but the IP stack still responds to ping. -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Tue Sep 16 05:59:18 2008 From: bjlockie at lockie.ca (James) Date: Mon, 15 Sep 2008 23:59:18 -0400 Subject: sudo /etc/init.d/nagios In-Reply-To: <48CAD412.4070907@us.fujitsu.com> References: <94796cec932fac30f7c29915a86500ce.squirrel@webmail.lockie.ca> <48CAD412.4070907@us.fujitsu.com> Message-ID: <48CF2F16.4040506@lockie.ca> Matthew Stier wrote: > First, I suspect you have two typo's on the subject line. > > Second, If sudo won't run sudo, you probably have sudo configured not > to be run as root. > > Third, boot scripts should be written to be run by root, and if it > needs to change users, that should be done with 'su' with the '-c' > option, and a simple command-line. I can only run the script as sudo and I can't reboot the machine. Is there any other way to change users besides su since I can't run su? > > Fourth, boot scripts should test for everything. If you reference > something outside the core operating system, you should test that it > is present, rather than blindly assuming it is there, and crashing. > > > James wrote: >> I'm having trouble running the init script with sudo. >> I changed the su to use sudo but then I can't run the script with sudo >> because sudo can't run sudo. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From agnello.dsouza at gmail.com Tue Sep 16 09:58:50 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Tue, 16 Sep 2008 13:28:50 +0530 Subject: e- mail notification to differnt email ID ffor different host Message-ID: <8c6878890809160058tf64ddfctd1edb2bb38acf24c@mail.gmail.com> HI I need to set up email notification for my nagios server. However with the following configuration email notification is sent out to a single id ( user_name at gmail.com ) of information of all host. vi /usr/local/nagios/etc/objects/contacts.cfg define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email user_name at gmail.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } how do i add different email ID to monitor different host ?? Thanks a lot !! -- Regards Agnello D'souza www.linux-vashi.blogspot.com www.bible-study-india.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Tue Sep 16 10:33:48 2008 From: richard at newnet.co.uk (Richard Savage) Date: Tue, 16 Sep 2008 09:33:48 +0100 Subject: UPS check SNMP not alerting Message-ID: <48CF6F6C.5080303@newnet.co.uk> Hi I have a slight issue in that the check that i am using to check the UPS battery via SNMP is not alerting correctly. Im running Nagios 3 with Nagios plug ins and NRPE. This particular check is being run over SNMP using the MIB for percentage of battery remaining. As can be seen below the Nagios front end is reporting OK even though the battery is at 89%. I have set the critical alert to be at 100%. Battery time remaining OK 09-16-2008 09:21:18 18d 17h 14m 35s 18d 17h 14m 35s 1/4 Battery Remaining OK - 89 % This is the command being used to get the percentage of battery remaining: define command { command_name check_ups_minutes command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C local -o SNMPv2-SMI::mib-2.33.1.2.4.0 -c 100 -l 'Battery Remaining' -u '%' } Surely this would mean that if the value dropped below 100% it would alert? Why is this not happening?? Many thanks Rich ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at gmail.com Tue Sep 16 10:37:24 2008 From: treibholz at gmail.com (Klaus Umbach) Date: Tue, 16 Sep 2008 10:37:24 +0200 Subject: Notifications are sent, even if Notifications are diabled. Message-ID: <92119d860809160137o38de527ara1ba578f01fc4554@mail.gmail.com> Hi, I have the following problem: The notifications for a host are disabled, but I get the "host down" and th "host up" for the host... This does not seem to happen with all hosts... Cheers Klaus -- (Nagios 3.0.3) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Sep 16 12:16:26 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 16 Sep 2008 11:16:26 +0100 Subject: e- mail notification to differnt email ID ffor different host In-Reply-To: <8c6878890809160058tf64ddfctd1edb2bb38acf24c@mail.gmail.com> References: <8c6878890809160058tf64ddfctd1edb2bb38acf24c@mail.gmail.com> Message-ID: <200809161116.26901.assaf.flatto@ssp.uk.com> look in the contact and escalations sections: http://nagios.sourceforge.net/docs/3_0/configobject.html On Tuesday 16 September 2008 08:58:50 Agnello George wrote: > HI > I need to set up email notification for my nagios server. However with the > following configuration email notification is sent out to a single id ( > user_name at gmail.com ) of information of all host. > > vi /usr/local/nagios/etc/objects/contacts.cfg > > define contact{ > contact_name nagiosadmin ; Short > name of user > use generic-contact ; Inherit > default values from generic-contact template (defined above) > alias Nagios Admin ; Full name > of user > email > user_name at gmail.com > ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** > } > > how do i add different email ID to monitor different host ?? > > Thanks a lot !! IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 16 12:15:08 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Sep 2008 12:15:08 +0200 Subject: Nagios 3 structure In-Reply-To: <3d2eb72a0809101133i28f6b28cl3c35818d47b49a8f@mail.gmail.com> References: <3d2eb72a0809101133i28f6b28cl3c35818d47b49a8f@mail.gmail.com> Message-ID: <48CF872C.5080807@op5.se> Taylor Dondich wrote: > You could take a look at Lilac, a configuration tool I wrote. This > way you do not have to deal with the layout of the file structure, but > instead work inside an easy to use GUI. Lilac supports Nagios 3 and > full dependencies, escalations, etc. www.lilacplatform.com is the > project page. > http://www.lilacplatform.com/?q=node/5/release states the following: "The first alpha release of Lilac Configurator 1.0, this release does not include the importer nor the database utilities. It is not ready for production use, but can be used to generate Nagios configurations at this time and to find any issues." One wonders why it doesn't include the importer or the database utilities. Doesn't that make it sort of awkward (read "impossible") to actually work with? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Tue Sep 16 12:16:33 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Tue, 16 Sep 2008 10:16:33 +0000 Subject: SMS alerting X time after mail alerting Message-ID: Hello again :) I have a working Nagios instalation which alerts via E-mail and SMS at the same time whenever a critical/warning event occur. I was wondering how it can be done for the SMS alert to be sent 6 hours after the mail alert (for example) just if the event is not acknowledge. Thank you again, Jorge _________________________________________________________________ ?Eres un cotilla? Disfruta de todas las novedades en MSN Coraz?n http://entretenimiento.es.msn.com/corazon/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 16 12:22:16 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Sep 2008 12:22:16 +0200 Subject: Nagios 3 distributed monitoring and NSCA In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702EB1949@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7702EB1949@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <48CF88D8.5000703@op5.se> Jonathan Call wrote: > In Nagios 2.x Nagios the Obessive Compulsive Service Processor (OCSP) is > not very robust. Even with a few hundred service checks the OCSP stuff > on the distributed servers bogs down and does not send anything out. > This forced people like me to use tools like OCP_daemon. > > Has the OCSP infrastructure improved in Nagios 3? I need it to be robust > enough to handle ~2500 service checks. > You might find the attached (extremely small and fairly stupid) eventbroker module useful for you. Note that it replaces the ocsp and ochp command, so you should remove those from the configuration. How to compile is left as an exercise to the reader. Check out the helloworld.c module for examples. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -------------- next part -------------- A non-text attachment was scrubbed... Name: pnsca.c Type: text/x-csrc Size: 2015 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 16 12:30:22 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Sep 2008 12:30:22 +0200 Subject: Nagios and Logrotate In-Reply-To: <48C58EEE.5050807@op5.se> References: <3ff9e2d30809080759h3649b92ckdf6649878557e8a@mail.gmail.com> <3130EE84-2D86-4084-8E28-2A719CA15C6C@ena.com> <3ff9e2d30809080845n388fcab8nb96469c055bad98f@mail.gmail.com> <48C58EEE.5050807@op5.se> Message-ID: <48CF8ABE.3070804@op5.se> Andreas Ericsson wrote: > K-L Reinhard wrote: >> Mark, thanks a lot for this explanation and the hints. I think I'll have a >> look at the event broker thing. >> > > C coding skills are required. For a nudge to get you started, have a look > at modules/helloworld.c in the nagios source distribution. > > If you don't do it, I'll use this example as the module-writing exercise > for my Netways presentation. The first to complete it wins a weissbier in > the hotel bar :-) > Here's the completed thing. I rearranged things a tiny bit, so I had to write it myself. How to compile is written in the top comment. You pass it the script you want it to run as argument when loading it in the nagios.cfg file. Make sure the script runs quickly, because Nagios will be stalled while it's executing. Note that on linux, you can achieve the same thing in a better way using incrond. That won't work for other systems though, as inotify(7) is a linux specific api. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -------------- next part -------------- A non-text attachment was scrubbed... Name: nebsor.c Type: text/x-csrc Size: 636 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From agnello.dsouza at gmail.com Tue Sep 16 14:02:30 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Tue, 16 Sep 2008 17:32:30 +0530 Subject: e- mail notification to differnt email ID ffor different host In-Reply-To: <200809161116.26901.assaf.flatto@ssp.uk.com> References: <8c6878890809160058tf64ddfctd1edb2bb38acf24c@mail.gmail.com> <200809161116.26901.assaf.flatto@ssp.uk.com> Message-ID: <8c6878890809160502l358be95apab50d82b47a9a84b@mail.gmail.com> On Tue, Sep 16, 2008 at 3:46 PM, Assaf Flatto wrote: > look in the contact and escalations sections: > > http://nagios.sourceforge.net/docs/3_0/configobject.html > > > I was able to solve this simle query There are cases when you want to send email notification to specific email ID for specific host. there is a configuration file called as contacts.cfg , here we need to add the following : define contact{ contact_name cocubes use generic-contact-1 alias cocubes email user_name at gmail.com } contact_name is a general name you give to this contact. use --- this the set template mentioned in template.cfg alias is a general user name email is the email id NOTE: open the templeate.cfg we create a new template called generic-contact-1 , which has the following template define contact{ name generic-contact-1 ; The name of this contact template host_notification_period 24x7 ; host notifications can be sent anytime host_notification_options d,u,r,f,s ; send notifications for all host states, flapping events, and scheduled downtime events service_notification_commands notify-service-by-email ; send service notifications via email host_notification_commands notify-host-by-email ; send host notifications via email register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE! } This template basically tell nagios to only send notification if the server is down and not to send service warning. Now that we have set the email address we have to set the host that we want to monitor lets open the file windows.cfg we add *contacts* variable to the host object vi /usr/local/nagios/etc/objects/windows.cfg define host{ use windows-server host_name cocubes alias cocubes.qualispace.com *contacts cocubes * address 202.XX.XXX.XX } now restart nagios -- Regards Agnello D'souza www.linux-vashi.blogspot.com www.bible-study-india.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Tue Sep 16 14:05:43 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Tue, 16 Sep 2008 14:05:43 +0200 Subject: Nagios configuraion best practice In-Reply-To: <7f62d2420809150750g50e432d6xbcb9a1a954273a09@mail.gmail.com> References: <7f62d2420809150750g50e432d6xbcb9a1a954273a09@mail.gmail.com> Message-ID: Thanks for the reply. I'll read the documents you listed. Meanwhile, I have a design question: What's the best way to set up a service check to be executed on a selected few (or maybe all for that matter) nodes? Say I need to monitor a particular process (lets call this service A) on a number of systems, how would I implement this? I guess one way would be to link service A to a hostgroup, say hostgroup A, and add the selected systems to that hostgroup. This, however, will somewhat clutter up the web display, so I'm looking for alternative approaches. Any suggestions? On 9/15/08, dave stern - e-mail.pluribus.unum wrote: > > Assuming you're already familiar with nagios, I'd look at the nagios > documentation > in the following order: > > Under "Configuring nagios", look at "Object definitions" and make sure > you understand all parameters and what would make sense in your > environment > Under "Advanced Topics", look at "Timesaving tips for object definitions" > Under "Advanced Topics", look at "host and service dependancies" > > Under "Advanced Topics", look at both "Distributed Monitoring" and > "Redundant and > Failover Monitoring". > Finally, under Security and Performance Tuning, look at Large > Installation Tweaks > > On Mon, Sep 15, 2008 at 10:23 AM, Kenneth Holter > wrote: > > Hello all, > > > > > > I'm new to Nagios, and are planning on using Nagios for monitoring our > > network of Linux servers. > > > > Are there any best practice documents on how to manage the different > > definitions such as hostgroups, services, servicegroups, and so forth in > an > > enterprise environment? > > > > > > Regards, > > Kenneth Holter > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From james.mohr at elaxy.com Tue Sep 16 14:21:03 2008 From: james.mohr at elaxy.com (Mohr James) Date: Tue, 16 Sep 2008 14:21:03 +0200 Subject: Acknowledgement of passive services disappear when Nagios restarted Message-ID: Hi All! We have Nagios 3.0.1 with a number of passive services. When the go critical, we aknowledge them and then restart Nagios or simply tell it to reread the configuration with "killall -HUP nagios", the acknowledgements for the passive services disappear. The acknowledgement for active service are retained. On the one hand this seems like a bug to me as it should not make any difference whether it is an active or passive service. However, active and passive service are intrinsically different, so there may be some logic to this (which I seem to be missing). In nagios.cfg, I have the following values: retain_state_information=1 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 I would appreaciate any info. Regards, Jim Mohr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From inotkaa at gmail.com Tue Sep 16 14:26:49 2008 From: inotkaa at gmail.com (=?ISO-8859-1?Q?=B7:iNot:=B7?=) Date: Tue, 16 Sep 2008 16:26:49 +0400 Subject: intermittent CGI failure Message-ID: > > Date: Mon, 15 Sep 2008 12:29:55 -0400 (EDT) > From: nagios at donsbox.com > Subject: [Nagios-users] intermittent CGI failure > To: nagios-users at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain;charset=iso-8859-1 > > Installed 3.0.3 from source on OpenBSD 4.3 (sparc64). Everything works, > but every so often the CGI's will fail. > > e.g. If I refresh, say, status.cgi?host=all 10 times in a row, it'll fail > at least once or twice. > > I can reproduce using both Apache and nginx. > > Here's Apache error log snippet: "Premature end of script headers: > /var/www/nagios/cgi-bin/status.cgi" > > Here's nginx error log snippet: "upstream closed prematurely FastCGI > stdout while reading response header from upstream" > > Familiar issue to anyone? Next steps to debug? > > I cannot reproduce by running, manually from command shell: > export REQUEST_METHOD=GET > ./status.cgi > > I think, i've got the same problem. When this error appeared in apache logs i saw this *** glibc detected *** ./status.cgi: free(): invalid pointer: 0x082b0f48 *** ======= Backtrace: ========= /lib/libc.so.6[0x62d38c] /lib/libc.so.6(__libc_free+0x6b)[0x62d88f] ./status.cgi[0x806dd96] ./status.cgi[0x80548f1] ./status.cgi[0x80490d9] /lib/libc.so.6(__libc_start_main+0xb3)[0x5e2dfb] ./status.cgi[0x8048fc1] ======= Memory map: ======== 00323000-0032b000 r-xp 00000000 08:02 524290 /lib/libgcc_s-3.2.3-20040701.so.1 0032b000-0032c000 rw-p 00007000 08:02 524290 /lib/libgcc_s-3.2.3-20040701.so.1 005ce000-006e5000 r-xp 00000000 08:02 524300 /lib/libc-2.3.5.so 006e5000-006e7000 r--p 00117000 08:02 524300 /lib/libc-2.3.5.so 006e7000-006e9000 rw-p 00119000 08:02 524300 /lib/libc-2.3.5.so 006e9000-006eb000 rw-p 00000000 00:00 0 008b0000-008c8000 r-xp 00000000 08:02 524412 /lib/ld-2.3.5.so 008c8000-008c9000 r--p 00018000 08:02 524412 /lib/ld-2.3.5.so 008c9000-008ca000 rw-p 00019000 08:02 524412 /lib/ld-2.3.5.so 08048000-0807d000 r-xp 00000000 08:02 30162979 /usr/local/nagios/sbin/status.cgi 0807d000-0807e000 rw-p 00035000 08:02 30162979 /usr/local/nagios/sbin/status.cgi 0807e000-08081000 rw-p 00000000 00:00 0 0820e000-084c3000 rw-p 00000000 00:00 0 b7100000-b7121000 rw-p 00088000 00:00 0 b7121000-b7200000 ---p 000a9000 00:00 0 b7284000-b75e9000 r--p 00000000 08:02 1327896 /usr/local/nagios/var/status.dat b75e9000-b75eb000 rw-p 00000000 00:00 0 bfff9000-c0000000 rw-p ffffb000 00:00 0 Aborted -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 16 15:03:45 2008 From: marc at ena.com (Marc Powell) Date: Tue, 16 Sep 2008 08:03:45 -0500 Subject: UPS check SNMP not alerting In-Reply-To: <48CF6F6C.5080303@newnet.co.uk> References: <48CF6F6C.5080303@newnet.co.uk> Message-ID: <1D3DB57B-D694-4DFF-A56C-D47BD31FEBFC@ena.com> On Sep 16, 2008, at 3:33 AM, Richard Savage wrote: > Hi > > I have a slight issue in that the check that i am using to check the > UPS battery via SNMP is not alerting correctly. Im running Nagios 3 > with Nagios plug ins and NRPE. This particular check is being run > over > SNMP using the MIB for percentage of battery remaining. As can be > seen > below the Nagios front end is reporting OK even though the battery > is at > 89%. I have set the critical alert to be at 100%. Do you? > Battery time remaining OK 09-16-2008 09:21:18 18d 17h 14m > 35s 18d 17h 14m 35s 1/4 Battery Remaining OK - > 89 % > > This is the command being used to get the percentage of battery > remaining: > > define command { > command_name check_ups_minutes > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C local -o > SNMPv2-SMI::mib-2.33.1.2.4.0 -c 100 -l 'Battery Remaining' -u '%' > } > > Surely this would mean that if the value dropped below 100% it would > alert? Why is this not happening?? An incorrect assumption. check_snmp --help (*emphasis mine*) -- -c, --critical=*INTEGER_RANGE(s)* Range(s) which will *not* result in a CRITICAL status ... - Bare integers are interpreted as *upper limits*. So you've indicated that anything *up to* 100 is not a critical status. If you want anything from 0-99 to be critical, you'll want to use this section -- - If specified in the order 'max:min' a non-OK state will be returned if the result is within the (inclusive) range. $USER1$/check_snmp -H ... -c 99:0 ... should achieve that. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 16 15:05:06 2008 From: marc at ena.com (Marc Powell) Date: Tue, 16 Sep 2008 08:05:06 -0500 Subject: Notifications are sent, even if Notifications are diabled. In-Reply-To: <92119d860809160137o38de527ara1ba578f01fc4554@mail.gmail.com> References: <92119d860809160137o38de527ara1ba578f01fc4554@mail.gmail.com> Message-ID: <2EC5C123-751E-4A51-848C-FDDB68B04647@ena.com> On Sep 16, 2008, at 3:37 AM, Klaus Umbach wrote: > Hi, > > I have the following problem: The notifications for a host are > disabled, but I get the "host down" and th "host up" for the host... > > This does not seem to happen with all hosts... Without specific config snippets and assuming that they're really disabled, my only suggestion would be to verify that you don't have multiple nagios daemons running... -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 16 15:13:16 2008 From: marc at ena.com (Marc Powell) Date: Tue, 16 Sep 2008 08:13:16 -0500 Subject: SMS alerting X time after mail alerting In-Reply-To: References: Message-ID: <27235B5C-0FB8-43C8-A856-5BD3D214C5E6@ena.com> On Sep 16, 2008, at 5:16 AM, Jorge Pe?a wrote: > Hello again :) > > I have a working Nagios instalation which alerts via E-mail and SMS > at the same time whenever a critical/warning event occur. > > I was wondering how it can be done for the SMS alert to be sent 6 > hours after the mail alert (for example) just if the event is not > acknowledge. Escalations should cover it. I don't use them but it is my understanding that the logic is only used when notifications would normally go out so an acknowledgement would block it. http://nagios.sourceforge.net/docs/3_0/escalations.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mhunter at jfku.edu Tue Sep 16 16:59:22 2008 From: mhunter at jfku.edu (mhunter at jfku.edu) Date: Tue, 16 Sep 2008 07:59:22 -0700 (PDT) Subject: check_snmp problem -- UNKNOWN status when no data received from host Message-ID: <2386.172.30.80.5.1221577162.squirrel@webmail.jfku.edu> Hello, I am having a problem getting my Nagios 2.x installation to alert me when one of our BlueSocket wireless access points goes down. These are accessed via a BlueSocket controller, which speaks SNMP. Nagios is issuing this command: check_snmp -H x.x.x.x -C public -o 1.3.6.1.2.1.2.2.1.8.13 -w 1 -c 1 -l "BlueSocket Interface 13" It returns this and an OK status when it is up: BlueSocket Interface 13 OK - 1 It returns this and an UNKNOWN status when it is down: BlueSocket Interface 13 problem - No data received from host I need for it to alert when it is down, and preferably show a status of DOWN, but no matter what I specify for the critical and warning values (it will return a 1 if everything is OK) I can't get it to alert when there is no data received from the host. Thank you for your assistance! - Mary ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Tue Sep 16 17:06:49 2008 From: richard at newnet.co.uk (Richard Savage) Date: Tue, 16 Sep 2008 16:06:49 +0100 Subject: UPS check SNMP not alerting In-Reply-To: <1D3DB57B-D694-4DFF-A56C-D47BD31FEBFC@ena.com> References: <48CF6F6C.5080303@newnet.co.uk> <1D3DB57B-D694-4DFF-A56C-D47BD31FEBFC@ena.com> Message-ID: <48CFCB89.70908@newnet.co.uk> Marc Perfect, Many thanks have made that a lot easier. Rich Marc Powell wrote: > On Sep 16, 2008, at 3:33 AM, Richard Savage wrote: > > >> Hi >> >> I have a slight issue in that the check that i am using to check the >> UPS battery via SNMP is not alerting correctly. Im running Nagios 3 >> with Nagios plug ins and NRPE. This particular check is being run >> over >> SNMP using the MIB for percentage of battery remaining. As can be >> seen >> below the Nagios front end is reporting OK even though the battery >> is at >> 89%. I have set the critical alert to be at 100%. >> > > Do you? > > >> Battery time remaining OK 09-16-2008 09:21:18 18d 17h 14m >> 35s 18d 17h 14m 35s 1/4 Battery Remaining OK - >> 89 % >> >> This is the command being used to get the percentage of battery >> remaining: >> >> define command { >> command_name check_ups_minutes >> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C local -o >> SNMPv2-SMI::mib-2.33.1.2.4.0 -c 100 -l 'Battery Remaining' -u '%' >> } >> >> Surely this would mean that if the value dropped below 100% it would >> alert? Why is this not happening?? >> > > An incorrect assumption. check_snmp --help (*emphasis mine*) -- > > -c, --critical=*INTEGER_RANGE(s)* > Range(s) which will *not* result in a CRITICAL status > ... > - Bare integers are interpreted as *upper limits*. > > So you've indicated that anything *up to* 100 is not a critical > status. If you want anything from 0-99 to be critical, you'll want to > use this section -- > > - If specified in the order 'max:min' a non-OK state will be returned > if the > result is within the (inclusive) range. > > $USER1$/check_snmp -H ... -c 99:0 ... should achieve that. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Sep 16 18:06:57 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 16 Sep 2008 17:06:57 +0100 Subject: check_snmp problem -- UNKNOWN status when no data received from host In-Reply-To: <2386.172.30.80.5.1221577162.squirrel@webmail.jfku.edu> References: <2386.172.30.80.5.1221577162.squirrel@webmail.jfku.edu> Message-ID: <200809161706.58211.assaf.flatto@ssp.uk.com> have you tried the check_snmp options for regex ? -s, --string=STRING Return OK state (for that OID) if STRING is an exact match -r, --ereg=REGEX Return OK state (for that OID) if extended regular expression REGEX matches -R, --eregi=REGEX Return OK state (for that OID) if case-insensitive extended REGEX matches Since you know what the string is , you specify it and if it is not the one you need - it should create a warning . example : check_snmp -H x.x.x.x -C public -o 1.3.6.1.2.1.2.2.1.8.13 -w 1 -c 1 -l "BlueSocket Interface 13" -s "BlueSocket Interface 13" should give the output similar to " BlueSocket Interface 13 problem - No data received from host" Assaf On Tuesday 16 September 2008 15:59:22 mhunter at jfku.edu wrote: > Hello, > > I am having a problem getting my Nagios 2.x installation to alert me when > one of our BlueSocket wireless access points goes down. These are accessed > via a BlueSocket controller, which speaks SNMP. > > Nagios is issuing this command: > check_snmp -H x.x.x.x -C public -o 1.3.6.1.2.1.2.2.1.8.13 -w 1 -c 1 -l > "BlueSocket Interface 13" > > It returns this and an OK status when it is up: BlueSocket Interface 13 OK > - 1 > > It returns this and an UNKNOWN status when it is down: BlueSocket Interface > 13 problem - No data received from host > > I need for it to alert when it is down, and preferably show a status of > DOWN, but no matter what I specify for the critical and warning values (it > will return a 1 if everything is OK) I can't get it to alert when there is > no data received from the host. > > Thank you for your assistance! > > > - Mary > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mwlucas at blackhelicopters.org Tue Sep 16 23:12:17 2008 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 16 Sep 2008 17:12:17 -0400 Subject: Controlling critical states with extended interface information Message-ID: <20080916211217.GA81393@bewilderbeast.blackhelicopters.org> Hi, I'm using the check_snmp_netint.pl plugin 2.21b on Nagios 3 to check for interface errors, as per assorted suggestions I got from this list. (Thank you all!) It's returning status and extended PNP info nicely. Right now, I'm using as so: $USER1$/check_snmp_netint.pl -l $USER3$ -x $USER7$ -X $USER8$ -H $HOSTADDRESS$ -w 0,0,0,0,0,0 -c 0,0,0,0,0,0 -n $ARG1$ -f -e -k -q -mm -F /usr/local/nagios/var/cache/$HOSTADDRESS$ $ARG1$ is something like ^F.+0/1\$ , for FastEthernet 0/1. I have established a service for each port on my test switch, and am setting up a hostgroup for each switch model. This way I can generate PNP traffic graphs for each interface. So far, so good. This is for closet switches, where clients might turn their PCs off for the night. I don't want an alarm for these actions, but I want to be proactive when I start seeing errors. I want to return CRITICAL or WARN as follows: -- If the port is down, return OK. -- If the port is up and shows no errors, return OK. -- If the port is up, but I am receiving errors or discards, return WARN or CRIT as per the threshold I set. It seems I should be able to do this with various combinations of -w and -c levels (say, setting the -c to 0,0,100,100,100,100, but that doesn't seem to work. Anyone using this plugin similarly? Thanks, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ "My pessimism extends to the point of even suspecting the sincerity of the pessimists." -- Jean Rostand, French biologist and philosopher ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michaelh at instra.com Wed Sep 17 02:09:31 2008 From: michaelh at instra.com (Michael Hallager) Date: Wed, 17 Sep 2008 10:09:31 +1000 Subject: check_ssh and check_smtp Message-ID: When I run these commands at the prompt it works. When I run them via Nagios, it displays "Invalid hostname/address - $ " It appears to be to do with the way they're called: command[check_smtp]=/usr/local/nagios/libexec/check_smtp -H $HOSTADDRESS$ command[check_ssh]=/usr/local/nagios/libexec/check_ssh -H $HOSTADDRESS$ as per the nagios-plugins commands.cfg file. Is $HOSTADDRESS$" an invalid variable? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Sep 17 02:25:10 2008 From: marc at ena.com (Marc Powell) Date: Tue, 16 Sep 2008 19:25:10 -0500 Subject: check_ssh and check_smtp In-Reply-To: References: Message-ID: On Sep 16, 2008, at 7:09 PM, Michael Hallager wrote: > When I run these commands at the prompt it works. > > When I run them via Nagios, it displays ?Invalid hostname/address - > $ ? > > It appears to be to do with the way they?re called: > command[check_smtp]=/usr/local/nagios/libexec/check_smtp -H > $HOSTADDRESS$ > command[check_ssh]=/usr/local/nagios/libexec/check_ssh -H > $HOSTADDRESS$ What does the object file (template) versions of these commands look like? Nagios hasn't used this command format since the pre-1.0/ Netsaint days. I would hazard a guess that the $HOSTADDRESS$ macro there is somehow spelled incorrectly. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at gmail.com Wed Sep 17 12:15:10 2008 From: treibholz at gmail.com (Klaus Umbach) Date: Wed, 17 Sep 2008 12:15:10 +0200 Subject: Notifications are sent, even if Notifications are diabled. In-Reply-To: <2EC5C123-751E-4A51-848C-FDDB68B04647@ena.com> References: <92119d860809160137o38de527ara1ba578f01fc4554@mail.gmail.com> <2EC5C123-751E-4A51-848C-FDDB68B04647@ena.com> Message-ID: <92119d860809170315w3f6b1725se07bdf64daec4b38@mail.gmail.com> 2008/9/16 Marc Powell > > On Sep 16, 2008, at 3:37 AM, Klaus Umbach wrote: > > > Hi, > > > > I have the following problem: The notifications for a host are > > disabled, but I get the "host down" and th "host up" for the host... > > > > This does not seem to happen with all hosts... > > Without specific config snippets and assuming that they're really > disabled, my only suggestion would be to verify that you don't have > multiple nagios daemons running... Here are the snipplets. This HOST gets rebooted every night at 5am, and I get the notifications, although the timeperiod is set. define host { host_name HOST alias easy-xbase address IP_ADDRESS use generic-host parents nagios-satellit check_period HOST_daily notification_period HOST_daily } define timeperiod{ timeperiod_name HOST_daily alias HOST_daily monday 00:00-04:30,05:30-24:00 tuesday 00:00-04:30,05:30-24:00 wednesday 00:00-04:30,05:30-24:00 thursday 00:00-04:30,05:30-24:00 friday 00:00-04:30,05:30-24:00 saturday 00:00-04:30,05:30-24:00 sunday 00:00-04:30,05:30-24:00 } -- First Official Internetdenier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Wed Sep 17 14:09:05 2008 From: richard at newnet.co.uk (Richard Savage) Date: Wed, 17 Sep 2008 13:09:05 +0100 Subject: service notifications inhert host Message-ID: <48D0F361.60703@newnet.co.uk> Hi Ive had a look throught the nagios documentiation and cannot find anything about this, and was wondering if it was possible. What I would like to do is when defining the hosts define the contact there and then for the services that run under that host to use the contact details under the host definintion, thus eliminating the need to define contact details within the services file?? The reason I ask, is that all the services are grouped together, e.g HTTP, but within the HTTP service there are different hosts which need to notify different people. Hence why im not keen to split up the HTTP service into lots of HTTP services with differnt contact details. So basically can you force nagios to use the contact details defined within the host to be used for all host and service notifications? Thanks in advance Rich ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Wed Sep 17 15:13:00 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 17 Sep 2008 14:13:00 +0100 Subject: service notifications inhert host In-Reply-To: <48D0F361.60703@newnet.co.uk> References: <48D0F361.60703@newnet.co.uk> Message-ID: <200809171413.00466.assaf.flatto@ssp.uk.com> What version are you running ? AFAIK this host/service coupling in inherent is ver 3 . Assaf On Wednesday 17 September 2008 13:09:05 Richard Savage wrote: > Hi > > Ive had a look throught the nagios documentiation and cannot find > anything about this, and was wondering if it was possible. > > What I would like to do is when defining the hosts define the contact > there and then for the services that run under that host to use the > contact details under the host definintion, thus eliminating the need to > define contact details within the services file?? > > The reason I ask, is that all the services are grouped together, e.g > HTTP, but within the HTTP service there are different hosts which need > to notify different people. Hence why im not keen to split up the HTTP > service into lots of HTTP services with differnt contact details. > > So basically can you force nagios to use the contact details defined > within the host to be used for all host and service notifications? > > Thanks in advance > > Rich > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Wed Sep 17 14:55:01 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Wed, 17 Sep 2008 14:55:01 +0200 Subject: Nagios configuraion best practice In-Reply-To: <7f62d2420809160641y128fe757lc99915534d3a847d@mail.gmail.com> References: <7f62d2420809150750g50e432d6xbcb9a1a954273a09@mail.gmail.com> <7f62d2420809160641y128fe757lc99915534d3a847d@mail.gmail.com> Message-ID: I should have been more precise regarding the cluttering of the display - it was the hostgroup display I was referring to. :/ Would it be an idea to as much as possible use this configuration method: hosts --- hostgroups --- services? To elaborate some: Hosts are always connected to host groups, and the same for services. This way one will avoid linking services to specific hosts, making the service definitions more clean. Also, I'm thinking about having a host group called for example "linux-servers", to which all linux servers are linked. A number of service checks common for all linux servers are also linked to this host group. When adding new linux boxes I simply link them to the "linux-servers" host group, and add extra services checks where needed. In a similar fashin I would create a host-group called for example "dell-servers" to which all Dell hosts and related service checks are linked. New Dell servers are then linked to this host group. I'm thinking this may be a good idea, but would like to hear how others have structured their configuration and if there may be some hidden pitfalls in my proposed configuration method. On 9/16/08, dave stern - e-mail.pluribus.unum wrote: > > Not quite sure what you're trying to do. If you monitor a service, > it's going to be on the nagios > service details pagre regardless, That's the whole point. There are > some tricks to slim down > some other displays eg I define a whole bunch of services under a host > without defining the > hosts these services run on explicitly. I just feed the IP address as > part of the check_command. > This reduced the hostgroup grid page. I don't think that will work for you. > > If you're asking how to most efficiently code this in your configs, > the timesaving tips page > mentions ganging together services. ie you don't need a service stanza > for each host you want > to run this on. Rather, use a wildcard or group. > define service{ > use generic > host_name hosta, hostb > hostgroup special-ones,!webguy > ..... > } > > Run the service on hosts hosta, hostb, all hosts in the hostgroup, > "special-ones" but not "webguy" > > One other thing you should consider. Where will the plugins live? The > easy answer is to put them > on an NFSmounted partition that all hosts can access and that you can > easily update. This is a > bad practise. What happens when NFS breaks? You should really copy the > plugins to each > host st they run locally. > > On Tue, Sep 16, 2008 at 8:05 AM, Kenneth Holter > wrote: > > > > Thanks for the reply. I'll read the documents you listed. > > > > Meanwhile, I have a design question: What's the best way to set up a > service > > check to be executed on a selected few (or maybe all for that matter) > nodes? > > Say I need to monitor a particular process (lets call this service A) on > a > > number of systems, how would I implement this? I guess one way would be > to > > link service A to a hostgroup, say hostgroup A, and add the selected > systems > > to that hostgroup. This, however, will somewhat clutter up the web > display, > > so I'm looking for alternative approaches. > > > > Any suggestions? > > > > > > > > On 9/15/08, dave stern - e-mail.pluribus.unum > wrote: > >> > >> Assuming you're already familiar with nagios, I'd look at the nagios > >> documentation > >> in the following order: > >> > >> Under "Configuring nagios", look at "Object definitions" and make sure > >> you understand all parameters and what would make sense in your > >> environment > >> Under "Advanced Topics", look at "Timesaving tips for object > definitions" > >> Under "Advanced Topics", look at "host and service dependancies" > >> > >> Under "Advanced Topics", look at both "Distributed Monitoring" and > >> "Redundant and > >> Failover Monitoring". > >> Finally, under Security and Performance Tuning, look at Large > >> Installation Tweaks > >> > >> On Mon, Sep 15, 2008 at 10:23 AM, Kenneth Holter > > >> wrote: > >> > Hello all, > >> > > >> > > >> > I'm new to Nagios, and are planning on using Nagios for monitoring our > >> > network of Linux servers. > >> > > >> > Are there any best practice documents on how to manage the different > >> > definitions such as hostgroups, services, servicegroups, and so forth > in > >> > an > >> > enterprise environment? > >> > > >> > > >> > Regards, > >> > Kenneth Holter > >> > > >> > > >> > > ------------------------------------------------------------------------- > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> > challenge > >> > Build the coolest Linux based applications with Moblin SDK & win great > >> > prizes > >> > Grand prize is a trip for two to an Open Source event anywhere in the > >> > world > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at 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 the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Wed Sep 17 14:55:59 2008 From: richard at newnet.co.uk (Richard Savage) Date: Wed, 17 Sep 2008 13:55:59 +0100 Subject: service notifications inhert host In-Reply-To: <200809171413.00466.assaf.flatto@ssp.uk.com> References: <48D0F361.60703@newnet.co.uk> <200809171413.00466.assaf.flatto@ssp.uk.com> Message-ID: <48D0FE5F.90901@newnet.co.uk> Sorry forgot to mention, runnin v3 So if I define a contact within a host, then the services will inherit it? Rich Assaf Flatto wrote: > What version are you running ? > > AFAIK this host/service coupling in inherent is ver 3 . > > > Assaf > On Wednesday 17 September 2008 13:09:05 Richard Savage wrote: > >> Hi >> >> Ive had a look throught the nagios documentiation and cannot find >> anything about this, and was wondering if it was possible. >> >> What I would like to do is when defining the hosts define the contact >> there and then for the services that run under that host to use the >> contact details under the host definintion, thus eliminating the need to >> define contact details within the services file?? >> >> The reason I ask, is that all the services are grouped together, e.g >> HTTP, but within the HTTP service there are different hosts which need >> to notify different people. Hence why im not keen to split up the HTTP >> service into lots of HTTP services with differnt contact details. >> >> So basically can you force nagios to use the contact details defined >> within the host to be used for all host and service notifications? >> >> Thanks in advance >> >> Rich >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Sep 17 15:19:37 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Sep 2008 15:19:37 +0200 Subject: Notifications are sent, even if Notifications are diabled. In-Reply-To: <92119d860809170315w3f6b1725se07bdf64daec4b38@mail.gmail.com> References: <92119d860809160137o38de527ara1ba578f01fc4554@mail.gmail.com> <2EC5C123-751E-4A51-848C-FDDB68B04647@ena.com> <92119d860809170315w3f6b1725se07bdf64daec4b38@mail.gmail.com> Message-ID: <48D103E9.4060000@op5.se> Klaus Umbach wrote: > 2008/9/16 Marc Powell > >> On Sep 16, 2008, at 3:37 AM, Klaus Umbach wrote: >> >>> Hi, >>> >>> I have the following problem: The notifications for a host are >>> disabled, but I get the "host down" and th "host up" for the host... >>> >>> This does not seem to happen with all hosts... >> Without specific config snippets and assuming that they're really >> disabled, my only suggestion would be to verify that you don't have >> multiple nagios daemons running... > > > Here are the snipplets. > This HOST gets rebooted every night at 5am, and I get the notifications, > although the timeperiod is set. > For misconfiguration issues: Are the two machines synced to the same NTP server? When do the alerts go out (wallclock time)? What does Nagios think the time is by then? Have you (stupid, yes I know) reloaded the configuration since you modified it? If you're using Nagios 3 with precached configuration, have you regenerated the precache since you modified it? For bughunting issues (assumes all of the above are "yes" or "inside the specified timeperiod"): Are you using escalations? Are you using timeperiods with 'exclude' directive, excluding the mentioned timeperiod (any timeperiod)? Are you using timeperiods with exceptions (any timeperiod)? If the misconfiguration checkup is ok, please send me your config and I'll see what I can get out of it. > > define host { > host_name HOST > alias easy-xbase > address IP_ADDRESS > use generic-host > parents nagios-satellit > check_period HOST_daily > notification_period HOST_daily > } > > define timeperiod{ > timeperiod_name HOST_daily > alias HOST_daily > monday 00:00-04:30,05:30-24:00 > tuesday 00:00-04:30,05:30-24:00 > wednesday 00:00-04:30,05:30-24:00 > thursday 00:00-04:30,05:30-24:00 > friday 00:00-04:30,05:30-24:00 > saturday 00:00-04:30,05:30-24:00 > sunday 00:00-04:30,05:30-24:00 > } > The object definitions are correct. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From k.proskurin at fxclub.org Wed Sep 17 15:13:09 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Wed, 17 Sep 2008 17:13:09 +0400 Subject: How-to DO NOT check_alive host? Message-ID: <48D10265.3080205@fxclub.org> Hello. Im have some servers what don`t accept any icmp packets. Im check http port on it. But nagios by default does check_alive - and say what host is down. How can im evade this? -- Best regards, Proskurin Kirill ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hpsekhon at googlemail.com Wed Sep 17 15:42:15 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 17 Sep 2008 14:42:15 +0100 Subject: How-to DO NOT check_alive host? In-Reply-To: <48D10265.3080205@fxclub.org> References: <48D10265.3080205@fxclub.org> Message-ID: <48D10937.3010805@googlemail.com> Proskurin Kirill wrote: > Hello. > > Im have some servers what don`t accept any icmp packets. > Im check http port on it. But nagios by default does check_alive - and > say what host is down. > > How can im evade this? > use the "negate" program to invert the meaning of the check_ping plugin? -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cschneemann at suse.de Wed Sep 17 15:46:05 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Wed, 17 Sep 2008 15:46:05 +0200 Subject: How-to DO NOT check_alive host? In-Reply-To: <48D10265.3080205@fxclub.org> References: <48D10265.3080205@fxclub.org> Message-ID: <200809171546.06168.cschneemann@suse.de> On Wednesday September 17 2008 03:13:09 pm Proskurin Kirill wrote: > Hello. > > Im have some servers what don`t accept any icmp packets. > Im check http port on it. But nagios by default does check_alive - and > say what host is down. > > How can im evade this? Hi, you can define the check-host-alive in your templates, so if you have some hosts that don't accept icmp-packets you can change it to any checkcommand you want. Have a look into the documentation at host definition (http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host) Greetings -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Wed Sep 17 15:51:07 2008 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 17 Sep 2008 09:51:07 -0400 Subject: How-to DO NOT check_alive host? In-Reply-To: <200809171546.06168.cschneemann@suse.de> References: <48D10265.3080205@fxclub.org> <200809171546.06168.cschneemann@suse.de> Message-ID: <302ce8b50809170651r985405fv2eb96dbad21fe74d@mail.gmail.com> On Wed, Sep 17, 2008 at 9:46 AM, Christian Schneemann wrote: > Hi, > you can define the check-host-alive in your templates, so if you have some > hosts that don't accept icmp-packets you can change it to any checkcommand > you want. > > Have a look into the documentation at host definition > (http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host) Agreed. I'd go this route with a plugin that will always return true, or use tcping to test if the machine is reachable that way. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From james.mohr at elaxy.com Wed Sep 17 16:03:54 2008 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 17 Sep 2008 16:03:54 +0200 Subject: Acknowledgement of passive services disappear whenNagios restarted In-Reply-To: References: Message-ID: Some additional info. It seems that this only occurs for passiv services that are warnings. For passive services that are critical, the acknowledge seems to be kept when we restart Nagios. "Sticky Acknowledgement" is selected in both cases (which is the default) and "Persistent Comment" is unchecked in both cases (also the default). Regards, Jim Mohr > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von Mohr James > Gesendet: Dienstag, 16. September 2008 14:21 > An: Nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Acknowledgement of passive services > disappear whenNagios restarted > > Hi All! > > We have Nagios 3.0.1 with a number of passive services. When > the go critical, we aknowledge them and then restart Nagios > or simply tell it to reread the configuration with "killall > -HUP nagios", the acknowledgements for the passive services > disappear. The acknowledgement for active service are retained. > > On the one hand this seems like a bug to me as it should not > make any difference whether it is an active or passive > service. However, active and passive service are > intrinsically different, so there may be some logic to this > (which I seem to be missing). > > In nagios.cfg, I have the following values: > > retain_state_information=1 > 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 > > I would appreaciate any info. > > Regards, > > Jim Mohr > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Wed Sep 17 17:19:27 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Wed, 17 Sep 2008 15:19:27 +0000 Subject: ndomod: Still unable to connect to data sink Message-ID: Hello list, Since a restart, I am having this problem, when I look at the syslog: it appears Sep 17 16:50:15 test2 nagios: ndomod: Still unable to connect to data sink. 856 items lost, 5000 queued items to flush. Sep 17 16:50:31 test2 nagios: ndomod: Still unable to connect to data sink. 959 items lost, 5000 queued items to flush. Sep 17 16:50:47 test2 nagios: ndomod: Still unable to connect to data sink. 1080 items lost, 5000 queued items to flush. Sep 17 16:51:03 test2 nagios: ndomod: Still unable to connect to data sink. 1196 items lost, 5000 queued items to flush. Sep 17 16:51:19 test2 nagios: ndomod: Still unable to connect to data sink. 1308 items lost, 5000 queued items to flush. As a result, the database is not updating correctly the values, and therefore my "nagios semaphore" is not working properly. I have tried to restart the machine without much luck. Any hint? Regards, Jorge _________________________________________________________________ ?Entra en el Club oficial de Messenger y te enterar?s de todas las novedades! http://www.vivelive.com/ilovemessenger -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leosilva at tse.gov.br Wed Sep 17 18:19:20 2008 From: leosilva at tse.gov.br (Leandro de Oliveira) Date: Wed, 17 Sep 2008 13:19:20 -0300 Subject: ndomod: Still unable to connect to data sink References: Message-ID: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> you have to execute /xxx/ndo2db -c /xxx/ndo2db.cfg again ----- Original Message ----- From: Jorge Pe?a To: nagios-users at lists.sourceforge.net Sent: Wednesday, September 17, 2008 12:19 PM Subject: [Nagios-users] ndomod: Still unable to connect to data sink Hello list, Since a restart, I am having this problem, when I look at the syslog: it appears Sep 17 16:50:15 test2 nagios: ndomod: Still unable to connect to data sink. 856 items lost, 5000 queued items to flush. Sep 17 16:50:31 test2 nagios: ndomod: Still unable to connect to data sink. 959 items lost, 5000 queued items to flush. Sep 17 16:50:47 test2 nagios: ndomod: Still unable to connect to data sink. 1080 items lost, 5000 queued items to flush. Sep 17 16:51:03 test2 nagios: ndomod: Still unable to connect to data sink. 1196 items lost, 5000 queued items to flush. Sep 17 16:51:19 test2 nagios: ndomod: Still unable to connect to data sink. 1308 items lost, 5000 queued items to flush. As a result, the database is not updating correctly the values, and therefore my "nagios semaphore" is not working properly. I have tried to restart the machine without much luck. Any hint? Regards, Jorge ------------------------------------------------------------------------------ ?Tr?nchate de risa con los mejores cap?tulos de South Park en MSN V?deo! ------------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Wed Sep 17 18:21:15 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 17 Sep 2008 17:21:15 +0100 Subject: ndomod: Still unable to connect to data sink In-Reply-To: References: Message-ID: <200809171721.15698.assaf.flatto@ssp.uk.com> It may sound silly , but in what sequence is your nagios/mysql starting ? Stop both of them and make sure all process are gone , then start nagios , an after it start mysql . That may solve the issue . Assaf On Wednesday 17 September 2008 16:19:27 Jorge Pe?a wrote: > Hello list, > > Since a restart, I am having this problem, when I look at the syslog: it > appears > > Sep 17 16:50:15 test2 nagios: ndomod: Still unable to connect to data sink. > 856 items lost, 5000 queued items to flush. Sep 17 16:50:31 test2 nagios: > ndomod: Still unable to connect to data sink. 959 items lost, 5000 queued > items to flush. Sep 17 16:50:47 test2 nagios: ndomod: Still unable to > connect to data sink. 1080 items lost, 5000 queued items to flush. Sep 17 > 16:51:03 test2 nagios: ndomod: Still unable to connect to data sink. 1196 > items lost, 5000 queued items to flush. Sep 17 16:51:19 test2 nagios: > ndomod: Still unable to connect to data sink. 1308 items lost, 5000 queued > items to flush. > > As a result, the database is not updating correctly the values, and > therefore my "nagios semaphore" is not working properly. I have tried to > restart the machine without much luck. > > Any hint? > > Regards, > Jorge > > _________________________________________________________________ > ?Entra en el Club oficial de Messenger y te enterar?s de todas las > novedades! http://www.vivelive.com/ilovemessenger IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vmanojv at rediffmail.com Wed Sep 17 17:41:51 2008 From: vmanojv at rediffmail.com (Nair) Date: 17 Sep 2008 15:41:51 -0000 Subject: CLOSE_WAIT Message-ID: <20080917154151.58436.qmail@f5mail-236-225.rediffmail.com> check_pop keeps many sessions open in my mail server. Please see netstat -a in my mail server. tcp 1 0 pop.test.com:110 nagios.test.com.:39689 CLOSE_WAIT tcp 1 0 pop.test.com:110 nagios.test.com.:29837 CLOSE_WAIT tcp 1 0 pop.test.com:110 nagios.test.com.:18718 CLOSE_WAIT tcp 1 0 pop.test.com:110 nagios.test.com.:18460 CLOSE_WAIT tcp 1 0 pop.test.com:110 nagios.test.com.:44871 CLOSE_WAIT Any clue? Thank you, Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Wed Sep 17 18:46:53 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Wed, 17 Sep 2008 16:46:53 +0000 Subject: ndomod: Still unable to connect to data sink In-Reply-To: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> References: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> Message-ID: Hello!Thanks for the reply. When I try to do so it gives me : Could not bind socket: Address already in use I looked in the process to kill it and I don't see ndo2db process, I also made chmod 777 ndo.lock and tried to run program again but It doesn't work Thanks, Jorge From: leosilva at tse.gov.br To: cotarelo2 at hotmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] ndomod: Still unable to connect to data sink Date: Wed, 17 Sep 2008 13:19:20 -0300 you have to execute /xxx/ndo2db -c /xxx/ndo2db.cfg again ----- Original Message ----- From: Jorge Pe?a To: nagios-users at lists.sourceforge.net Sent: Wednesday, September 17, 2008 12:19 PM Subject: [Nagios-users] ndomod: Still unable to connect to data sink Hello list, Since a restart, I am having this problem, when I look at the syslog: it appears Sep 17 16:50:15 test2 nagios: ndomod: Still unable to connect to data sink. 856 items lost, 5000 queued items to flush. Sep 17 16:50:31 test2 nagios: ndomod: Still unable to connect to data sink. 959 items lost, 5000 queued items to flush. Sep 17 16:50:47 test2 nagios: ndomod: Still unable to connect to data sink. 1080 items lost, 5000 queued items to flush. Sep 17 16:51:03 test2 nagios: ndomod: Still unable to connect to data sink. 1196 items lost, 5000 queued items to flush. Sep 17 16:51:19 test2 nagios: ndomod: Still unable to connect to data sink. 1308 items lost, 5000 queued items to flush. As a result, the database is not updating correctly the values, and therefore my "nagios semaphore" is not working properly. I have tried to restart the machine without much luck. Any hint? Regards, Jorge ?Tr?nchate de risa con los mejores cap?tulos de South Park en MSN V?deo! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 _________________________________________________________________ ?Sigue el calor? Consulta MSN El tiempo http://eltiempo.es.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Wed Sep 17 19:16:40 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Wed, 17 Sep 2008 17:16:40 +0000 Subject: ndomod: Still unable to connect to data sink In-Reply-To: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> References: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> Message-ID: my solution: delete the sock file : rm /usr/local/nagios/var/ndo.sock and start again ndo2db : /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg As a result: nagios: ndomod: Successfully flushed 5000 queued items to data sink 2 hours for this ... why this things happen? :( From: leosilva at tse.gov.br To: cotarelo2 at hotmail.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] ndomod: Still unable to connect to data sink Date: Wed, 17 Sep 2008 13:19:20 -0300 you have to execute /xxx/ndo2db -c /xxx/ndo2db.cfg again ----- Original Message ----- From: Jorge Pe?a To: nagios-users at lists.sourceforge.net Sent: Wednesday, September 17, 2008 12:19 PM Subject: [Nagios-users] ndomod: Still unable to connect to data sink Hello list, Since a restart, I am having this problem, when I look at the syslog: it appears Sep 17 16:50:15 test2 nagios: ndomod: Still unable to connect to data sink. 856 items lost, 5000 queued items to flush. Sep 17 16:50:31 test2 nagios: ndomod: Still unable to connect to data sink. 959 items lost, 5000 queued items to flush. Sep 17 16:50:47 test2 nagios: ndomod: Still unable to connect to data sink. 1080 items lost, 5000 queued items to flush. Sep 17 16:51:03 test2 nagios: ndomod: Still unable to connect to data sink. 1196 items lost, 5000 queued items to flush. Sep 17 16:51:19 test2 nagios: ndomod: Still unable to connect to data sink. 1308 items lost, 5000 queued items to flush. As a result, the database is not updating correctly the values, and therefore my "nagios semaphore" is not working properly. I have tried to restart the machine without much luck. Any hint? Regards, Jorge ?Tr?nchate de risa con los mejores cap?tulos de South Park en MSN V?deo! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 _________________________________________________________________ ?Eres un cotilla? Disfruta de todas las novedades en MSN Coraz?n http://entretenimiento.es.msn.com/corazon/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andreoandre at gmail.com Wed Sep 17 19:31:58 2008 From: andreoandre at gmail.com (=?ISO-8859-1?Q?Andr=E9_Moura?=) Date: Wed, 17 Sep 2008 14:31:58 -0300 Subject: How-to DO NOT check_alive host? In-Reply-To: <48D10265.3080205@fxclub.org> References: <48D10265.3080205@fxclub.org> Message-ID: execute_host_checks=<0/1> http://nagios.sourceforge.net/docs/3_0/configmain.html#execute_host_checks 2008/9/17 Proskurin Kirill : > Hello. > > Im have some servers what don`t accept any icmp packets. > Im check http port on it. But nagios by default does check_alive - and > say what host is down. > > How can im evade this? > > > -- > Best regards, > Proskurin Kirill > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andr? O Moura http://andrem.wordpress.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Sep 17 19:49:04 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Sep 2008 19:49:04 +0200 Subject: How-to DO NOT check_alive host? In-Reply-To: <48D10937.3010805@googlemail.com> References: <48D10265.3080205@fxclub.org> <48D10937.3010805@googlemail.com> Message-ID: <48D14310.5060202@op5.se> Hari Sekhon wrote: > Proskurin Kirill wrote: >> Hello. >> >> Im have some servers what don`t accept any icmp packets. >> Im check http port on it. But nagios by default does check_alive - and >> say what host is down. >> >> How can im evade this? >> > use the "negate" program to invert the meaning of the check_ping plugin? > Umm, no. That won't work very well at all, as the host then will seem to be up no matter if it's on fire or whatever happens to it. A more appropriate method would be to check something else on the host that the host can (and does) respond to properly. TCP connections to some random (open) port is usually a fairly decent bet. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Sep 17 19:56:02 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Sep 2008 19:56:02 +0200 Subject: CLOSE_WAIT In-Reply-To: <20080917154151.58436.qmail@f5mail-236-225.rediffmail.com> References: <20080917154151.58436.qmail@f5mail-236-225.rediffmail.com> Message-ID: <48D144B2.60803@op5.se> Nair wrote: > check_pop keeps many sessions open in my mail server. > > Please see netstat -a in my mail server. > > tcp 1 0 pop.test.com:110 nagios.test.com.:39689 CLOSE_WAIT > tcp 1 0 pop.test.com:110 nagios.test.com.:29837 CLOSE_WAIT > tcp 1 0 pop.test.com:110 nagios.test.com.:18718 CLOSE_WAIT > tcp 1 0 pop.test.com:110 nagios.test.com.:18460 CLOSE_WAIT > tcp 1 0 pop.test.com:110 nagios.test.com.:44871 CLOSE_WAIT > > Any clue? > You don't have to do anything about it unless the number of connections waiting to close keeps growing. If you still want to do something about it, you can try to, as root on your mailserver, run this command: sysctl net.ipv4.tcp_fin_timeout=20 Although you seem to be running the pop3 check awfully often, as the default timeout doesn't seem to trigger between checks. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bruce.pennypacker at gmail.com Wed Sep 17 21:26:35 2008 From: bruce.pennypacker at gmail.com (Bruce Pennypacker) Date: Wed, 17 Sep 2008 15:26:35 -0400 Subject: Custom notification for a service Message-ID: I have an existing Nagios 2.x setup that's fairly complex and working well. Among other things it has both host & service escalations defined for both paging and sending e-mail. Most of our hosts are in a hostgroup that sends out pager notifications. I just added a new service check that we want to send notifications by e-mail only. The host that the service check is on is in the hostgroup for paging. I really don't want to have to pull the host from that hostgroup and add individual services to the paging service group since there are a good number of services being checked on this host. What is the easiest way to have a host use one notification method for all services except for one and a different notification method for the other service? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mwlucas at blackhelicopters.org Wed Sep 17 22:20:20 2008 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Wed, 17 Sep 2008 16:20:20 -0400 Subject: Controlling critical states with extended interface information In-Reply-To: <20080916211217.GA81393@bewilderbeast.blackhelicopters.org> References: <20080916211217.GA81393@bewilderbeast.blackhelicopters.org> Message-ID: <20080917202020.GA94848@bewilderbeast.blackhelicopters.org> And to reply to my own message, for the archives' sake: use -a. This is a great plugin, but there are a whole pile of options... ==ml On Tue, Sep 16, 2008 at 05:12:17PM -0400, Michael W. Lucas wrote: > Hi, > > I'm using the check_snmp_netint.pl plugin 2.21b on Nagios 3 to check > for interface errors, as per assorted suggestions I got from this > list. (Thank you all!) It's returning status and extended PNP info > nicely. > > Right now, I'm using as so: > > $USER1$/check_snmp_netint.pl -l $USER3$ -x $USER7$ -X $USER8$ -H $HOSTADDRESS$ -w 0,0,0,0,0,0 -c 0,0,0,0,0,0 -n $ARG1$ -f -e -k -q -mm -F /usr/local/nagios/var/cache/$HOSTADDRESS$ > > $ARG1$ is something like ^F.+0/1\$ , for FastEthernet 0/1. > > I have established a service for each port on my test switch, and am > setting up a hostgroup for each switch model. This way I can generate > PNP traffic graphs for each interface. So far, so good. > > This is for closet switches, where clients might turn their PCs off > for the night. I don't want an alarm for these actions, but I want to > be proactive when I start seeing errors. I want to return CRITICAL or > WARN as follows: > > -- If the port is down, return OK. > -- If the port is up and shows no errors, return OK. > -- If the port is up, but I am receiving errors or discards, return WARN > or CRIT as per the threshold I set. > > It seems I should be able to do this with various combinations of -w > and -c levels (say, setting the -c to 0,0,100,100,100,100, but that > doesn't seem to work. Anyone using this plugin similarly? > > Thanks, > ==ml > > -- > Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org > http://www.BlackHelicopters.org/~mwlucas/ > "My pessimism extends to the point of even suspecting the sincerity of > the pessimists." -- Jean Rostand, French biologist and philosopher > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ "My pessimism extends to the point of even suspecting the sincerity of the pessimists." -- Jean Rostand, French biologist and philosopher ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Thu Sep 18 02:10:06 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 17 Sep 2008 19:10:06 -0500 Subject: How-to DO NOT check_alive host? References: <48D10265.3080205@fxclub.org> Message-ID: On Wed, 17 Sep 2008 17:13:09 +0400, Proskurin Kirill wrote: >Hello. > >Im have some servers what don`t accept any icmp packets. >Im check http port on it. But nagios by default does check_alive - and >say what host is down. > >How can im evade this? define command { command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } define host { check_command check_http host_name myhost address 1.2.3.4 [..other configs options..] } This makes nagios use check_http as the "host alive" status, rather than pings. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Sep 18 07:40:47 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 18 Sep 2008 07:40:47 +0200 Subject: How-to DO NOT check_alive host? In-Reply-To: <48D10265.3080205@fxclub.org> References: <48D10265.3080205@fxclub.org> Message-ID: <48D1E9DF.9050900@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Proskurin Kirill wrote: > Hello. > > Im have some servers what don`t accept any icmp packets. > Im check http port on it. But nagios by default does check_alive - and > say what host is down. > > How can im evade this? Use whatever other check that does work for that host. Check with SMTP against mailservers, Check HTTP for web servers. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI0encBvzDRVjxmYERAlcHAKCwtcFCxuDyGlcXjJ4/i65V/O1oPgCeKimT C6qJrIpUFTbmytr6sEV4fGw= =Ifs7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Thu Sep 18 08:58:58 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 18 Sep 2008 08:58:58 +0200 Subject: ndomod: Still unable to connect to data sink In-Reply-To: References: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> Message-ID: <48D1FC32.7060800@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jorge Pe?a schrieb: > my solution: > delete the sock file : rm /usr/local/nagios/var/ndo.sock > and start again ndo2db : /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg > As a result: nagios: ndomod: Successfully flushed 5000 queued items to data sink > 2 hours for this ... why this things happen? Hi there, Actually, I had the check for a stale sock-file and it's deletion built into a startscript, as it happened to me too, several times. Regards, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI0fwy+qVaNRZYOakRAplLAKCIeSIgBa+jyx9elhzAiYv8vtP0BQCfX88h 8bd83rgu/r9qbqkvcJtYD/A= =cWsk -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hpsekhon at googlemail.com Thu Sep 18 11:30:27 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 18 Sep 2008 10:30:27 +0100 Subject: How-to DO NOT check_alive host? In-Reply-To: <48D14310.5060202@op5.se> References: <48D10265.3080205@fxclub.org> <48D10937.3010805@googlemail.com> <48D14310.5060202@op5.se> Message-ID: <48D21FB3.9000407@googlemail.com> Andreas Ericsson wrote: > Hari Sekhon wrote: >> Proskurin Kirill wrote: >>> Hello. >>> >>> Im have some servers what don`t accept any icmp packets. >>> Im check http port on it. But nagios by default does check_alive - >>> and say what host is down. >>> >>> How can im evade this? >> use the "negate" program to invert the meaning of the check_ping plugin? > > Umm, no. That won't work very well at all, as the host then will seem > to be up no matter if it's on fire or whatever happens to it. > > A more appropriate method would be to check something else on the host > that the host can (and does) respond to properly. TCP connections to > some random (open) port is usually a fairly decent bet. > Yes you're right, I don't use negate myself, must have misread the question. Switching the host check to a service check, in this case check_http would be more appropriate. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Thu Sep 18 11:39:38 2008 From: richard at newnet.co.uk (Richard Savage) Date: Thu, 18 Sep 2008 10:39:38 +0100 Subject: Checking vlan traffic cisco Message-ID: <48D221DA.6080008@newnet.co.uk> Hi Im using nagios 3 and and getting very near to setting the new system live. There is one thing that is restricting me at the moment. Checking the bandwitdh that is currently being used over interfaces. I have found check_snmp_int.pl which will do physical interfaces. But there are certain devices that have VLANS and so need to check the Vlans. Does any one have any ideas? Thanks Rich ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From twelcome at tenet.ac.za Thu Sep 18 13:07:44 2008 From: twelcome at tenet.ac.za (Traiano Welcome) Date: Thu, 18 Sep 2008 13:07:44 +0200 Subject: NAGIOS Notification Anomaly: Missing HOST UP Notification Message-ID: Hi All We're running nagios2 (Nagios 2.9) on an Ubuntu server for around 150 servers and have not had any major problems with our installation. A day ago we found that NAGIOS had failed to execute an email notification upon detecting that a particular host had come up from being in a DOWN state: In previous hours, the host was marked DOWN,UP then DOWN again and notifications were sent as usual, but when the host came UP again, it was marked as UP on the nagios web-dashboard, and the logs show a "HOST ALERT .... UP" line, but no email notification was sent out as usual. There is no indication in the logs as to why NAGIOS failed to notify this time, and it is the only 1 out of thousands of notifications which have failed - an anomaly. It would seem for some reason the notify-by-email plugin may have failed, although only this once, for this site. Or, nagios may have failed to call the plugin for some reason when the site was detected as up. No changes were made to the NAGIOS config during the day. Below is a small snippet from the logs which show the sequence of events and the missing UP notification from NAGIOS at the end. Would there be any obvious reason why nagios would fail (occassionaly) to send a notification email? --- Sep 17 19:23:19 sidewind nagios2: HOST ALERT: SITE-AE;DOWN;SOFT;1;PING CRITICAL - Packet loss = 100% Sep 17 19:23:29 sidewind nagios2: HOST ALERT: SITE-AE;DOWN;SOFT;2;PING CRITICAL - Packet loss = 100% Sep 17 19:23:39 sidewind nagios2: HOST ALERT: SITE-AE;DOWN;SOFT;3;PING CRITICAL - Packet loss = 100% Sep 17 19:23:49 sidewind nagios2: HOST ALERT: SITE-AE;DOWN;HARD;4;PING CRITICAL - Packet loss = 100% Sep 17 19:23:50 sidewind nagios2: HOST NOTIFICATION: NOC-GROUP;SITE-AE;DOWN;host-notify-by-email;PING CRITICAL - Packet loss = 100% Sep 17 19:23:50 sidewind nagios2: HOST FLAPPING ALERT: SITE-AE;STARTED; Host appears to have started flapping (23.2% change > 20.0% threshold) Sep 17 19:25:05 sidewind nagios2: SERVICE ALERT: SITE-AE;PING;CRITICAL;HARD;1;PING CRITICAL - Packet loss = 100% Sep 17 19:38:09 sidewind nagios2: HOST ALERT: SITE-AE;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 25.01 ms Sep 17 19:39:50 sidewind nagios2: SERVICE ALERT: SITE-AE;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 25.01 ms Sep 17 19:39:50 sidewind nagios2: SERVICE FLAPPING ALERT: SITE-AE;PING;STARTED; Service appears to have started flapping (23.0% change >= 20.0% threshold) Sep 18 00:00:00 sidewind nagios2: CURRENT HOST STATE: SITE-AE;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 25.00 ms Sep 18 00:00:00 sidewind nagios2: CURRENT SERVICE STATE: SITE-AE;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 24.96 ms Sep 18 00:24:50 sidewind nagios2: SERVICE FLAPPING ALERT: SITE-AE;PING;STOPPED; Service appears to have stopped flapping (3.8% change < 5.0% threshold) Sep 18 00:38:09 sidewind nagios2: HOST FLAPPING ALERT: SITE-AE;STOPPED; Host appears to have stopped flapping (0.0% change < 5.0% threshold) --- I wonder if it may have something to do with the "host flapping" and "service flapping" alerts occurring at the time the notification should have been sent out? Thanks in Advance! Traiano -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stanb at panix.com Thu Sep 18 14:03:44 2008 From: stanb at panix.com (stan) Date: Thu, 18 Sep 2008 08:03:44 -0400 Subject: Monitoring ntp clients? Message-ID: <20080918120344.GA30107@teddy.fas.com> How can I monitor machines that are NTP clients to make certain that they have connections to the approriate NTP server? I want something that will return a summary of the type of info I get from ntpq -p. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Sep 18 14:25:29 2008 From: marc at ena.com (Marc Powell) Date: Thu, 18 Sep 2008 07:25:29 -0500 Subject: NAGIOS Notification Anomaly: Missing HOST UP Notification In-Reply-To: References: Message-ID: On Sep 18, 2008, at 6:07 AM, Traiano Welcome wrote: > > I wonder if it may have something to do with the "host flapping" > and "service flapping" alerts occurring at the time the notification > should have been sent out? Yes, flapping suppresses notifications. See the Service and Host Filters section of http://nagios.sourceforge.net/docs/2_0/notifications.html as well as notification options for your service and contact if you want to receive notifications of flapping to know when it's stopped. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From torresgi at mail.nih.gov Thu Sep 18 14:35:01 2008 From: torresgi at mail.nih.gov (Giovanni Torres) Date: Thu, 18 Sep 2008 08:35:01 -0400 Subject: Monitoring many cisco switches for interface errors Message-ID: <48D24AF5.8040002@mail.nih.gov> I would like to monitor interface errors on the cisco switches that I manage. Most of them are 48-port switches, so I dont want to clutter the nagios service detail page with hundreds of service checks for each port. Are any of you doing the same thing and if so, how are you handling it? What would be nice is to have one check per switch that will check all ports and only report a warning if one or more ports are experiencing errors and report only those ports in the service problems page. I may just end up having to script something, but I'm thinking I will need a database to keep track of the counters and compare the current values with previous ones in order to detect any increments. Any suggestions or ideas welcomed. Thanks, Giovanni -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 7587 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Thu Sep 18 14:39:30 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 18 Sep 2008 14:39:30 +0200 Subject: Monitoring many cisco switches for interface errors In-Reply-To: <48D24AF5.8040002@mail.nih.gov> References: <48D24AF5.8040002@mail.nih.gov> Message-ID: <48D24C02.50704@ederdrom.de> Giovanni Torres schrieb: > I would like to monitor interface errors on the cisco switches that I > manage. Most of them are 48-port switches, so I dont want to clutter > the nagios service detail page with hundreds of service checks for each > port. > > Are any of you doing the same thing and if so, how are you handling it? > What would be nice is to have one check per switch that will check all > ports and only report a warning if one or more ports are experiencing > errors and report only those ports in the service problems page. > > I may just end up having to script something, but I'm thinking I will > need a database to keep track of the counters and compare the current > values with previous ones in order to detect any increments. You can use check_snmp_int to do the monitoring stuff and check_multi to combine 48 checks to one nagios service. http://www.my-plugin.de/wiki/projects/check_multi/start http://nagios.manubulon.com/snmp_int.html Regards Joerg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From twelcome at tenet.ac.za Thu Sep 18 14:39:05 2008 From: twelcome at tenet.ac.za (Traiano Welcome) Date: Thu, 18 Sep 2008 14:39:05 +0200 Subject: NAGIOS Notification Anomaly: Missing HOST UPNotification References: Message-ID: Thanks very much for your illuminating reply, Marc :-) You've renewed my faith in reading the manual! Many Thanks, Traiano -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Marc Powell Sent: Thu 9/18/2008 2:25 PM To: nagios-users Mailinglist Subject: Re: [Nagios-users] NAGIOS Notification Anomaly: Missing HOST UPNotification On Sep 18, 2008, at 6:07 AM, Traiano Welcome wrote: > > I wonder if it may have something to do with the "host flapping" > and "service flapping" alerts occurring at the time the notification > should have been sent out? Yes, flapping suppresses notifications. See the Service and Host Filters section of http://nagios.sourceforge.net/docs/2_0/notifications.html as well as notification options for your service and contact if you want to receive notifications of flapping to know when it's stopped. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Sep 18 14:46:08 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Sep 2008 14:46:08 +0200 Subject: Monitoring ntp clients? In-Reply-To: <20080918120344.GA30107@teddy.fas.com> References: <20080918120344.GA30107@teddy.fas.com> Message-ID: <48D24D90.5050706@op5.se> stan wrote: > How can I monitor machines that are NTP clients to make certain that they > have connections to the approriate NTP server? I want something that will > return a summary of the type of info I get from ntpq -p. > Use check_ntp_peer (I think). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Thu Sep 18 15:25:03 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 18 Sep 2008 18:55:03 +0530 Subject: how to monitor databases on windows through nagios` Message-ID: <25251aec0809180625t3407e4fat400197d06b990c66@mail.gmail.com> Hi All, I've installed nagios 3.0 server on red hat linux and monitoring windows boxes by installng nsclient++ add on. I was able to install and configure fine on win box, now all c drive and memory paramters are showing on nagios interface for windows. my question is how do we monitor oracle database and it's services on windows box through nsclient? I have couple of linux boxes where oracle db is instlaled and was able to monitor using check_oracle plugin? but how do we accomplish the same on windows machine? can somebody please help us on this? thanks -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Thu Sep 18 15:44:01 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Thu, 18 Sep 2008 13:44:01 +0000 Subject: ndo2db: Error: mysql_query() failed In-Reply-To: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> References: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> Message-ID: Hi list, After solving my last problem with NDOutils now everytime I restart Nagios I have this nice messages in /var/log/syslog Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/contacts\.cfg'' Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/timeperiods\.cfg'' Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/templates\.cfg'' Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/localhost\.cfg'' I don't like it. How can I restart again the database to don't have it or remove this query? Regards, Jorge _________________________________________________________________ ?Entra en el Club oficial de Messenger y te enterar?s de todas las novedades! http://www.vivelive.com/ilovemessenger -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hpsekhon at googlemail.com Thu Sep 18 16:02:14 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 18 Sep 2008 15:02:14 +0100 Subject: Monitoring ntp clients? In-Reply-To: <48D24D90.5050706@op5.se> References: <20080918120344.GA30107@teddy.fas.com> <48D24D90.5050706@op5.se> Message-ID: <48D25F66.3030608@googlemail.com> Andreas Ericsson wrote: > stan wrote: > >> How can I monitor machines that are NTP clients to make certain that they >> have connections to the approriate NTP server? I want something that will >> return a summary of the type of info I get from ntpq -p. >> > > Use check_ntp_peer (I think). > I use check_ntp on each remote host against my ntp server, which warns if the host time is x seconds different from the ntp server time. This checks that the ntp server is accessible from the box and that the current time on the box is correct and within margin. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Thu Sep 18 17:27:05 2008 From: bjlockie at lockie.ca (James) Date: Thu, 18 Sep 2008 11:27:05 -0400 (EDT) Subject: check_procs plugin Message-ID: <955cc3ca4ebec623d55aea86a6dd87f1.squirrel@www.lockie.ca> What is the default ps_format? Do I need to recompile the plugins to change the ps_format or can I specify it on the command line? I am pretty sure it doesn't have the right ps_format for Solaris10. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From livio.zanol.puppim at gmail.com Thu Sep 18 17:43:43 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 18 Sep 2008 12:43:43 -0300 Subject: Monitoring ntp clients? In-Reply-To: <48D25F66.3030608@googlemail.com> References: <20080918120344.GA30107@teddy.fas.com> <48D24D90.5050706@op5.se> <48D25F66.3030608@googlemail.com> Message-ID: You can also use SNMP HOST-MIB to check if the time is coorectly. snmpwalk -v 1 -c public 192.168.1.1 hrSystemDate or snmpwalk -v 1 -c public 192.168.1.1 1.3.6.1.2.1.25.1.2.0 2008/9/18 Hari Sekhon : > Andreas Ericsson wrote: >> stan wrote: >> >>> How can I monitor machines that are NTP clients to make certain that they >>> have connections to the approriate NTP server? I want something that will >>> return a summary of the type of info I get from ntpq -p. >>> >> >> Use check_ntp_peer (I think). >> > I use check_ntp on each remote host against my ntp server, which warns > if the host time is x seconds different from the ntp server time. This > checks that the ntp server is accessible from the box and that the > current time on the box is correct and within margin. > > -h > > -- > Hari Sekhon > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- []'s L?vio Zanol Puppim ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Sep 18 18:25:51 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 18 Sep 2008 16:25:51 +0000 Subject: ndo2db: Error: mysql_query() failed In-Reply-To: References: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> Message-ID: Hi list, After solving my last problem with NDOutils now everytime I restart Nagios I have this nice messages in /var/log/syslog Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/contacts\.cfg'' [snip] I don't like it. How can I restart again the database to don't have it or remove this query? Several things can cause this. The most likely would be that either you did not set up your databases using the correct schema for the version of ndoutils you are using, or that your nagios_configfilevariables table has been corrupted. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Thu Sep 18 18:35:24 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Thu, 18 Sep 2008 16:35:24 +0000 Subject: Nagios takes too much time to send notifications Message-ID: Hello, Since I have added the notifications via SMS, I noticed that the time passed since Nagios discovers that a service or host changes the state and sends the notifications (that you can check in the notifications web interface) sometimes it takes up to 10 minutes. Why it happens? It detects that the service is critical but sometimes to receive the notification is long time! It is not useful for a demo of nagios :( Any hint? Regards, Jorge _________________________________________________________________ Prueba los prototipos de los ?ltimos en MSN Motor http://motor.es.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Sep 18 18:53:24 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 18 Sep 2008 16:53:24 +0000 Subject: Nagios takes too much time to send notifications In-Reply-To: References: Message-ID: Since I have added the notifications via SMS, I noticed that the time passed since Nagios discovers that a service or host changes the state and sends the notifications (that you can check in the notifications web interface) sometimes it takes up to 10 minutes. Why it happens? It detects that the service is critical but sometimes to receive the notification is long time! It is not useful for a demo of nagios :( Any hint? Check your logs to see if it's a mail delay or something inside Nagios causing the delay. Once you know why the delay is occurring, you can take steps to minimize it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jacob.Laack at alegent.org Thu Sep 18 21:15:39 2008 From: Jacob.Laack at alegent.org (Laack,Jacob C) Date: Thu, 18 Sep 2008 14:15:39 -0500 Subject: Auditing External Commands Message-ID: All- I'm running Nagios 3.0.3 with httpd on RHEL 5. I have CGI Authentication enabled for a couple dozen users. Some of them make "mistakes" when issuing External Commands and I'm looking for a way to log or know who turned of notifications for a server that shouldn't have been modified, etc. I see that the /usr/local/nagios/var/nagios.log file shows... [1221748066] EXTERNAL COMMAND: DISABLE_SVC_NOTIFICATIONS;fileserv;Download-WellsFargoBP ...while the apache logs show... 160.76.51.177 - ekaj [18/Sep/2008:09:27:46 -0500] "POST /cgi-bin/cmd.cgi HTTP/1.1" 200 1961 Is there a native way for Nagios to attach to attach the CGI user, ekaj in this case, to the DISABLE_SVC_NOTIFICATIONS command in either the nagios.log file or somewhere else? Any non-native way to do it? Thanks for reading. Jake Laack Alegent Health, Open Systems Engineer ________________________________ Sponsored by Catholic Health Initiatives and Immanuel Health Systems, Alegent Health is faithful to the healing ministry of Jesus Christ, providing high quality care for the body, mind and spirit of every person. The information contained in this communication, including attachments, is confidential and private and intended only for the use of the addressees. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you received this communication in error, please inform us of the erroneous delivery by return e-mail message from your computer. Additionally, although all attachments have been scanned at the source for viruses, the recipient should check any attachments for the presence of viruses before opening. Alegent Health accepts no liability for any damage caused by any virus transmitted by this e-mail. Thank you for your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Thu Sep 18 21:43:41 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Thu, 18 Sep 2008 21:43:41 +0200 Subject: ndo2db: Error: mysql_query() failed In-Reply-To: References: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> Message-ID: So, you are right In did I have this log in the /var/syslog Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/contacts\.cfg'' Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/timeperiods\.cfg'' Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/templates\.cfg'' Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/localhost\.cfg'' How could I fix it? Deleting all the database and starting again? Cheers, Jorge _____ De: Morris, Patrick [mailto:patrick.morris at hp.com] Enviado el: jueves, 18 de septiembre de 2008 18:26 Para: Jorge Pe?a; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] ndo2db: Error: mysql_query() failed Hi list, After solving my last problem with NDOutils now everytime I restart Nagios I have this nice messages in /var/log/syslog Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/contacts\.cfg'' [snip] I don't like it. How can I restart again the database to don't have it or remove this query? Several things can cause this. The most likely would be that either you did not set up your databases using the correct schema for the version of ndoutils you are using, or that your nagios_configfilevariables table has been corrupted. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Sep 18 22:10:51 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Sep 2008 22:10:51 +0200 Subject: Nagios takes too much time to send notifications In-Reply-To: References: Message-ID: <48D2B5CB.4020100@op5.se> Good gods, Patrick. Please add *some* form of prefixing for the text you're replying too. I've been thinking you and Jorge are one and the same for at least three threads now. Morris, Patrick wrote: > Since I have added the notifications via SMS, I noticed that the time passed since Nagios discovers that a service or host changes the state and sends the notifications (that you can check in the notifications web interface) sometimes it takes up to 10 minutes. > > Why it happens? It detects that the service is critical but sometimes to receive the notification is long time! > > It is not useful for a demo of nagios :( > > Any hint? > Check your logs to see if it's a mail delay or something inside Nagios causing the delay. Once you know why the delay is occurring, you can take steps to minimize it. > It's by design. If you look in the web-interface you'll see that the state of the host or service is soft (rather, you'll see that "Attempts" is at x/y, where y > x). This is intended, since lots of stuff sometimes have "hiccups" in a network during temporary lagspikes. After a minute or two those hiccups usually resolve themselves, so Nagios has an option to delay notifications, and also to try several times to check the service before it sends one. If you really want Nagios to send a notification the instant it notices something is wrong, set "max_check_attempts" to 1 in all your host and service object definitions. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Sep 18 22:13:41 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Sep 2008 22:13:41 +0200 Subject: Auditing External Commands In-Reply-To: References: Message-ID: <48D2B675.60109@op5.se> Laack,Jacob C wrote: > All- > I'm running Nagios 3.0.3 with httpd on RHEL 5. I have CGI Authentication enabled for a couple dozen users. Some of them make "mistakes" when issuing External Commands and I'm looking for a way to log or know who turned of notifications for a server that shouldn't have been modified, etc. I see that the /usr/local/nagios/var/nagios.log file shows... > > [1221748066] EXTERNAL COMMAND: DISABLE_SVC_NOTIFICATIONS;fileserv;Download-WellsFargoBP > > ...while the apache logs show... > > 160.76.51.177 - ekaj [18/Sep/2008:09:27:46 -0500] "POST /cgi-bin/cmd.cgi HTTP/1.1" 200 1961 > > Is there a native way for Nagios to attach to attach the CGI user, ekaj in this case, to the DISABLE_SVC_NOTIFICATIONS command in either the nagios.log file or somewhere else? Any non-native way to do it? > Nagios (the daemon) only knows what the CGI's tell it. If the CGI's don't pass the username to Nagios and the command has no free-form section, there's no way to let Nagios know about it without hacking the Nagios core. Eventbroker modules can't hijack external commands yet, otherwise that could have been used to make the core accept a username parameter from the CGI's. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Thu Sep 18 22:35:25 2008 From: bjlockie at lockie.ca (James) Date: Thu, 18 Sep 2008 16:35:25 -0400 (EDT) Subject: "fatal: Read from socket failed: Connection reset by peer" Message-ID: How do I fex check_ssh to not create auth.log entries? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Thu Sep 18 22:36:21 2008 From: bjlockie at lockie.ca (James) Date: Thu, 18 Sep 2008 16:36:21 -0400 (EDT) Subject: "fatal: Read from socket failed: Connection reset by peer" Message-ID: How do I fix check_ssh not to create auth.log entries? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ton.voon at altinity.com Thu Sep 18 22:36:20 2008 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 18 Sep 2008 21:36:20 +0100 Subject: Auditing External Commands In-Reply-To: References: Message-ID: <59987A94-5F4E-4463-9F8E-3101DF07FF5C@altinity.com> On 18 Sep 2008, at 20:15, Laack,Jacob C wrote: > I'm running Nagios 3.0.3 with httpd on RHEL 5. I have CGI > Authentication enabled for a couple dozen users. Some of them make > "mistakes" when issuing External Commands and I'm looking for a way > to log or know who turned of notifications for a server that > shouldn't have been modified, etc. I see that the /usr/local/nagios/ > var/nagios.log file shows? > > > > [1221748066] EXTERNAL COMMAND: > DISABLE_SVC_NOTIFICATIONS;fileserv;Download-WellsFargoBP > > > > ?while the apache logs show? > > > > 160.76.51.177 - ekaj [18/Sep/2008:09:27:46 -0500] "POST /cgi-bin/ > cmd.cgi HTTP/1.1" 200 1961 > > > > Is there a native way for Nagios to attach to attach the CGI user, > ekaj in this case, to the DISABLE_SVC_NOTIFICATIONS command in > either the nagios.log file or somewhere else? Any non-native way to > do it? > We had this request from a customer to add into Opsview. Patch is here: http://trac.opsview.org/browser/trunk/opsview-base/patches/nagios_store_cmd_cgi_submissions.patch This tells the CGIs to write an additional line API LOG: to the nagios.log file and includes the user's name. Beware, you need to provide permissions to the nagios.log file for the apache user to write to it. Ton http://www.altinity.com UK: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From myoung at nagios.org Thu Sep 18 23:29:45 2008 From: myoung at nagios.org (Mark Young) Date: Thu, 18 Sep 2008 16:29:45 -0500 Subject: Nagios takes too much time to send notifications In-Reply-To: <48D2B5CB.4020100@op5.se> References: <48D2B5CB.4020100@op5.se> Message-ID: On Sep 18, 2008, at 3:10 PM, Andreas Ericsson wrote: > If you really want Nagios to send a notification the instant it > notices something is wrong, set "max_check_attempts" to 1 in all your > host and service object definitions. For users of Nagios 3.x. Something to be aware of is that setting 'max_check_attempts' to 1 on HOSTS is effectively throwing the 'On- demand' check logic out the window. Host checks will be run serially instead of in parallel. Jorge, as for you demo, have you Have you considered the 'send custom host notification' from the interface as part of your notification demo? You can access it by clicking on a host/service name which should bring up the extended information page. Mark Young ___ Nagios Enterprises, LLC Office: (888)NAGIOS-1 x703 Fax: (651)204-9103 Email: myoung at nagios.com Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frimik at gmail.com Fri Sep 19 05:39:53 2008 From: frimik at gmail.com (Mikael Fridh) Date: Fri, 19 Sep 2008 05:39:53 +0200 Subject: Auditing External Commands In-Reply-To: <59987A94-5F4E-4463-9F8E-3101DF07FF5C@altinity.com> References: <59987A94-5F4E-4463-9F8E-3101DF07FF5C@altinity.com> Message-ID: <323f67830809182039o84448b1o6f338633008a010d@mail.gmail.com> On Thu, Sep 18, 2008 at 10:36 PM, Ton Voon wrote: > On 18 Sep 2008, at 20:15, Laack,Jacob C wrote: >> Is there a native way for Nagios to attach to attach the CGI user, >> ekaj in this case, to the DISABLE_SVC_NOTIFICATIONS command in >> either the nagios.log file or somewhere else? Any non-native way to >> do it? >> > We had this request from a customer to add into Opsview. Patch is > here: http://trac.opsview.org/browser/trunk/opsview-base/patches/nagios_store_cmd_cgi_submissions.patch > > This tells the CGIs to write an additional line API LOG: to the > nagios.log file and includes the user's name. What about adding a comment automatically for each submitted command (attached to the actual host/service the command is for), would it be doable? It would be an auditing solution instead of a hack. It would be logged automatically. It would be viewable in the CGI UI. Generally no need to check logs for mistakes made (unless the user is malicious and sends another command for comment deletion). You'd need to filter so that you don't create comments on comment deletion commands :). What I guess is an issue, is that all services and hosts for which you've ever sent a command, will have comments attached, and a little icon saying "comments exists for XXX" on the overview ... There should be a certain comment type, probably.... which you could expire or type-set from the get-go so you can determine if a comment is actual or historical... -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Fri Sep 19 06:48:28 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 19 Sep 2008 06:48:28 +0200 Subject: "fatal: Read from socket failed: Connection reset by peer" In-Reply-To: References: Message-ID: <48D32F1C.9020900@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James wrote: > How do I fix check_ssh not to create auth.log entries? How do I fix ssh not to create auth.log entries? If you stop monitoring ssh login attempts then your system willnever know if you got a breakin throught ssh. So this is not something you CAN fix on the client side. And something that you should not WANT to fix on the server side. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI0y8ZBvzDRVjxmYERAnUkAKCv8yCGvICxqIi0M8nMG+OoWgSNXwCfQjGn 3DuMja14hCcZrF+oiwbaAzQ= =wl0p -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael at medin.name Fri Sep 19 09:48:24 2008 From: michael at medin.name (Michael Medin) Date: Fri, 19 Sep 2008 06:48:24 -0100 (GMT+1) Subject: Announce: NSClient++ 0.3.4 [Windows agent] Message-ID: <28329.193.180.216.132.1221810504.squirrel@ssl.nakednuns.org> (since I don't have my own email-list ... yet I announce on and off here, hope no one disagrees to much, I do try to keep it to a minimum) New version of NSClient++ 0.3.4 released and I recommend everyone to upgrade since there is a nasty bug in the previous version regarding process checks which has been fixed. Hrumph, what is this NSClient++ you ask? Go to the all new domain and find out http://nsclient.org but in short it is "nsclient" compatible NRPE service for Microsoft Windows with a lot of built-in checks. New version I say? What is so amazingly new I need to be bothered you ask? The major new things (apart from the check-proc issue) are: 1. The new system tray that works on Vista and beyond. (in beta) 2. Quite a lot of fixes and improved error handling all over. A slightly more detailed list: (for a really detailed on read the CHANGELOG) * Minor tweaks to CheckServiceState ("missing services" are now handled better) * Added some "reasonable checks under [External Alias] for the CheckExternalScripts.dll module. * CheckEventLog now supports "long eventlog names" (you can now use the alias used in the event viewer) * BREAKING CHANGE filter=new is now the default so unless you use the new filtering you need to specify filter=old instead! * Brand new (but highly unstable?) System tray support for windows Vista and beyond * SVN tree now has a sample dot-net plugin (with C++ wrapper) * Installer now "uninstalls" as it "should" * Improved error handling for the WMI checks as well as some additions. * Fixed issue with & and : on some commands via check_nt. * Added sample powershell script as well as a workaround for making them run. * Added DebugOutput to so you can use use sysinternals DebugView to see logging before the agent starts. * Removed all (I think) asserts replacing them with exceptions (should I hope reduce crashes and instead leave some form of errors) So where do I fond this spankingly shiny new version you ask? You can find this new version on the (all new non-offensive domain name http://nsclient.org :) as well as nagios forge and source forge. Download links: * http://nsclient.org/nscp/downloads (release and nightly builds) * NagiosForge http://www.nagiosforge.org/gf/project/nsclientpp/frs/ * SourceForge http://sourceforge.net/project/showfiles.php?group_id=131326&package_id=144099 Will it be a lot of work to upgrade you ask? Well, The simplest way is to: 1. net stop nsclientpp 2. backup the old .ini file(s) 3. unzip the new files 4. restore (merge?) the old .ini file(s) 5. net start nsclientpp And if you feel this is tor arcane for you you can uninstall the previous version and then re-install the new one. (the next version will automagically uninstall it self during upgrade so this is the last time you need to do things by hand). Will it crash all the time and reboot my server you ask? Baaah I tell you, baaahh (not the sound sheep makes by the way). I hope so I have done a bit of stability testing on this one and it came up clear but still I don't run all possible checks so one never knows. A good thing to have in mind is that the "new system tray" is probably not stable so be ware if you use it. Humm... new system tray you ask? Well, if you are on XP (or beyond) remove the good old SysTray.dll module and instead change the following: [settings] shared_session=1 and you should see a brand new system tray when you (re)start the service and/or login. But again this is a new concept and it has a bunch of "problems" so take care when you use it. I aim to improve this and would really like to get feed back from people trying it out so please use it but I would choose a test/development/* (the * does not mean production here BTW) server so when it crashes no one will be all to angry with you. And whats in the future you ask? I shall now start merging the stable/development branch and after that do some thing like what Nagios did with their versioning. In short there will be both a stable version as well as a "development version" so you will end up with "builds from both" the 3.3.x branch as well as the "new" 0.4.0 branch. I wont be as explicit as them as to have odd/even numbers but I shall try to keep a slightly closer "bug fix schedule" then before. The main new (planned) features for the 0.4.x branch are: * Improved installer (that can handle upgrades seamlessly) * Rewritten settings handling that works seamlessly with the registry as well as unicode so you can use all them "fancy foreigner characters" * Add encoding support so you (again) can use "fancy foreigner characters" in your service and performance checks. * dot-net plugin wrapper so you can write plugins in ".net" more easily. * A new "type" of plugin so you can add transparent authentication to NRPE. * (just request it, who knows... might be there) Did you actually read all this I ask? Nahh... though not... but writing it sure beats updating that dreadfully boring "developer guidelines" document I really should be working on at work. // Michael Medin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From angeolivier2003 at yahoo.fr Sat Sep 20 09:18:13 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Sat, 20 Sep 2008 07:18:13 +0000 (GMT) Subject: config mistake Message-ID: <128447.19052.qm@web26102.mail.ukl.yahoo.com> hello all, I see some thing wrong in nagios, when nagios run with 4 hosts and 5 services i add 1 host and 2 services , i check the config file with /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg all is ok i restart nagios /etc/init.d/nagios restart fine , i see in web interface in array resume 5 hosts and 7 services. the problem after some moment in the web interface i see my all config 4 hosts and 5 services after refresh in documentation of nagios i see something calling precashed file http://nagios.sourceforge.net/docs/3_0/faststartup.html nagios 3 not in nagios 2 (i never see this when i use nagios 2) some help thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Sat Sep 20 11:05:31 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 20 Sep 2008 11:05:31 +0200 Subject: config mistake In-Reply-To: <128447.19052.qm@web26102.mail.ukl.yahoo.com> References: <128447.19052.qm@web26102.mail.ukl.yahoo.com> Message-ID: <48D4BCDB.5070801@ederdrom.de> Kermito le kermit schrieb: > hello all, > > I see some thing wrong in nagios, when nagios run with 4 hosts and 5 services i add 1 host and 2 services , i check the config file with > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > all is ok > > i restart nagios /etc/init.d/nagios restart > > fine , i see in web interface in array resume 5 hosts and 7 services. > > the problem after some moment in the web interface i see my all config 4 hosts and 5 services after refresh > > in documentation of nagios i see something calling precashed file http://nagios.sourceforge.net/docs/3_0/faststartup.html > > > nagios 3 not in nagios 2 (i never see this when i use nagios 2) > > some help thanks http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false Regards Joerg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Sat Sep 20 19:55:45 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 20 Sep 2008 13:55:45 -0400 Subject: which network interface check plugin to use? In-Reply-To: <20080912204710.GA81490@bewilderbeast.blackhelicopters.org> References: <20080912204710.GA81490@bewilderbeast.blackhelicopters.org> Message-ID: <48D53921.6070408@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/09/08 04:47 PM, Michael W. Lucas wrote: > Hi, > > Today, I use MRTG to track switch and router traffic, interface > errors, and so on. We use Nagios separately to generate alarms. I > think we could replace our MRTG install with Nagios and PNP. I'm > certain someone here has done this. > > I went looking for interface-stat-checking plugins, and found many. > Quite a few, actually. Dozens. In different versions. Many with > similar names, some updated and re-relased by people other than the > author with slightly different functionality than all the other > updated versions of the same plugin released by other people. Rather > than spend days trying to test all of these, I thought I'd just beg > for guidance here. I'm looking for something that: FYI, one thing I wanted to add to check_snmp is to monitor couter-based data by adding a timestamp and last value to performance data string, and passing it back to the plugin on the command name (I have a plugin I haven't released yet that does that out of CSV-formatted windows performance data - it parses the last timestamp and value, then calculate the average). Unfortunately I think it's a bit too sort till the next release to get it out in 1.4.13, even if I manage to find the time to get it done quickly... Using this feature: > a) can be configured to monitor based on port > name, hopefully using a regex. (I have many switches to monitor, and > while some of them have FastEther port 0/1 and another has GigE 0/1, I > can get away with calling it port 0/1.) It wouldn't help on that, that's out of scope of check_snmp... > b) tracks both traffic and interface errors Using separate service, yes (it would work under the same service too, but I don't think it would be very clear). Perhaps with the planned new thresholds formats (big project - haven't started coding yet) something could be done about that. > c) looks decent in PNP I don't know - it should if you can configure PNP to get the performance counters you want and associate decent name to them. > d) snmp v3 IIRC check_snmp supports v3 - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI1Tkh6dZ+Kt5BchYRAhTxAJ9X03gpTJGr+d57OkFdWbNlrYT1EACg/1Kd lS7A2nADo78fu9yAX6fVS9A= =qZup -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From moshesharon at gmail.com Sat Sep 20 21:49:19 2008 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 20 Sep 2008 22:49:19 +0300 Subject: how to monitor databases on windows through nagios` In-Reply-To: <25251aec0809180625t3407e4fat400197d06b990c66@mail.gmail.com> References: <25251aec0809180625t3407e4fat400197d06b990c66@mail.gmail.com> Message-ID: <88ad29240809201249t24335a11jc79aa40c7c490db3@mail.gmail.com> Hello The oracle services you should monitor using the NSCilent for example using the NSclient interface ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l Oracle Server or what ever method you are using as for the check_oracle. I suggest to install Oracle instant client and configure tnsnames.ora to connect to the windows database then from the command line test the oracle connection sqlplus user/pass at db if all is working you should be able to use check_oracle not ** Oracle instant client can be found here: * http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html * there are few other nice plugins for oracle checks in nagiosexchange -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ilya_ruprecht at gmx.de Mon Sep 22 09:47:10 2008 From: ilya_ruprecht at gmx.de (Ilya Ruprecht) Date: Mon, 22 Sep 2008 09:47:10 +0200 Subject: usa of multiple templates in contact-definition Message-ID: <20080922074710.43740@gmx.net> Dear list, following situation: two contact-templates are defined: ------------------------- # # Normal workhours, 8-17 define contact{ name contact-at-workhours use generic-contact service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email register 0 } # and one hour before work and 3 hours after, 7-8 + 17-21 define contact{ name contact-at-prepostworkhours use generic-contact service_notification_period prepostworkhours host_notification_period prepostworkhours service_notification_commands notify-service-by-email,notify-service-by-sms host_notification_commands notify-host-by-email,notify-host-by-sms register 0 } # # define timeperiod{ timeperiod_name workhours alias Normal Work Hours monday 08:00-17:00 tuesday 08:00-17:00 wednesday 08:00-17:00 thursday 08:00-17:00 friday 08:00-17:00 } define timeperiod{ timeperiod_name prepostworkhours alias Eine Stunde VOR der Schicht und die Sp?tschicht inklusive monday 07:00-8:00,17:00-21:00 tuesday 07:00-8:00,17:00-21:00 wednesday 07:00-8:00,17:00-21:00 thursday 07:00-8:00,17:00-21:00 friday 07:00-8:00,17:00-21:00 } # --------------------- Then a contact person is defined: ----------------- define contact{ contact_name iruprecht use contact-at-workhours,contact-at-prepostworkhours alias Vladimirs Vecgailis email ilya_ruprecht at gmx.de pager 0179123123123 } ----------------- So far so good. The problem is - the contact "iruprecht" is getting notifications only in the "workhours". I also see in the "View config"-menu, that "iruprecht" will get notified only in the "workhours". The thing is, as far as i know YOU CAN use multiple template-references in the contact-definition. (At least it was told so by the speaker in a presentation(http://www.linuxtag.org/2008/de/conf/events/vp-mittwoch/vortragsdetails.html?talkid=64) at the LinuxTag 2008. But somehow it seems not to work.. The Nagios-version used is 3.0.3. Thanks in advance! Ilya Ruprecht -- GMX Kostenlose Spiele: Einfach online spielen und Spa? haben mit Pastry Passion! http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at sozial-inkompetent.de Mon Sep 22 10:47:04 2008 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Mon, 22 Sep 2008 10:47:04 +0200 Subject: Periodic downtime of a server Message-ID: <20080922084350.GA4912@umbach-racing.de> Hi, How to I configure a periodic downtime of a server? My scenario: 7 groups of servers, each group gets rebooted on a specific weekday at 4am. (windows-servers, they reboot them before they crash!) If I change the check_period of the host to a timeperiod that excepts 3:30 - 4:30 I still get the notifications for all the services on the host, because nagios does not know, the host is down. If I change the notification_period of the host, Nagios stops checking the services when the host is down, but as some of them take a while to boot, I get the notifications after the host is up again but not yet completelly up. Can I somehow do a periodic scheduled downtime without using cron? Cheers Klaus ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Sep 22 12:26:35 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 22 Sep 2008 11:26:35 +0100 Subject: Periodic downtime of a server In-Reply-To: <20080922084350.GA4912@umbach-racing.de> References: <20080922084350.GA4912@umbach-racing.de> Message-ID: <200809221126.36059.assaf.flatto@ssp.uk.com> It seems that you need to make dependencies for the services on the host status to limit the amount of notifications . Also it is possible - if you have a set interval for each group ( set schedule ) you can define a time period for each group to be checked. # 'exchange-servers' timeperiod definition define timeperiod{ timeperiod_name exchange alias exchange reboot time sunday 00:00-24:00 monday 00:00-03:00,04:30-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } And that will help you have a sorted and set schedule for each reboot time. Assaf On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: > Hi, > > How to I configure a periodic downtime of a server? > > My scenario: > > 7 groups of servers, each group gets rebooted on a specific weekday at 4am. > (windows-servers, they reboot them before they crash!) > > If I change the check_period of the host to a timeperiod that > excepts 3:30 - 4:30 I still get the notifications for all the services on > the host, because nagios does not know, the host is down. > > If I change the notification_period of the host, Nagios stops checking the > services when the host is down, but as some of them take a while to boot, I > get the notifications after the host is up again but not yet completelly > up. > > Can I somehow do a periodic scheduled downtime without using cron? > > Cheers > Klaus > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at sozial-inkompetent.de Mon Sep 22 12:24:53 2008 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Mon, 22 Sep 2008 12:24:53 +0200 Subject: Periodic downtime of a server In-Reply-To: <200809221126.36059.assaf.flatto@ssp.uk.com> References: <20080922084350.GA4912@umbach-racing.de> <200809221126.36059.assaf.flatto@ssp.uk.com> Message-ID: <20080922102453.GB4912@umbach-racing.de> On 22/09/08 11:26, Assaf Flatto wrote: > It seems that you need to make dependencies for the services on the host status to limit the amount > of notifications . > Also it is possible - if you have a set interval for each group ( set schedule ) you can define a > time period for each group to be checked. I already have defined specific timeperiods. I don't want to limit the notifications, I don't want to be notified at all between 3:30 and 4:30, no matter if the host or a service has a problem. > > # 'exchange-servers' timeperiod definition > define timeperiod{ > timeperiod_name exchange > alias exchange reboot time > sunday 00:00-24:00 > monday 00:00-03:00,04:30-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > And that will help you have a sorted and set schedule for each reboot time. > > Assaf > > On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: > > Hi, > > > > How to I configure a periodic downtime of a server? > > > > My scenario: > > > > 7 groups of servers, each group gets rebooted on a specific weekday at 4am. > > (windows-servers, they reboot them before they crash!) > > > > If I change the check_period of the host to a timeperiod that > > excepts 3:30 - 4:30 I still get the notifications for all the services on > > the host, because nagios does not know, the host is down. > > > > If I change the notification_period of the host, Nagios stops checking the > > services when the host is down, but as some of them take a while to boot, I > > get the notifications after the host is up again but not yet completelly > > up. > > > > Can I somehow do a periodic scheduled downtime without using cron? > > > > Cheers > > Klaus > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & win > > great prizes Grand prize is a trip for two to an Open Source event anywhere > > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Sep 22 13:24:41 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 22 Sep 2008 12:24:41 +0100 Subject: Periodic downtime of a server In-Reply-To: <20080922102453.GB4912@umbach-racing.de> References: <20080922084350.GA4912@umbach-racing.de> Message-ID: <200809221224.41563.assaf.flatto@ssp.uk.com> If you defined the time periods and associated the servers to them , you should not get any alerts for them at all . What version of nagios are you running ? On Monday 22 September 2008 11:24:53 Klaus Umbach wrote: > On 22/09/08 11:26, Assaf Flatto wrote: > > It seems that you need to make dependencies for the services on the host > > status to limit the amount of notifications . > > Also it is possible - if you have a set interval for each group ( set > > schedule ) you can define a time period for each group to be checked. > > I already have defined specific timeperiods. I don't want to limit the > notifications, I don't want to be notified at all between 3:30 and 4:30, no > matter if the host or a service has a problem. > > > # 'exchange-servers' timeperiod definition > > define timeperiod{ > > timeperiod_name exchange > > alias exchange reboot time > > sunday 00:00-24:00 > > monday 00:00-03:00,04:30-24:00 > > tuesday 00:00-24:00 > > wednesday 00:00-24:00 > > thursday 00:00-24:00 > > friday 00:00-24:00 > > saturday 00:00-24:00 > > } > > > > And that will help you have a sorted and set schedule for each reboot > > time. > > > > Assaf > > > > On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: > > > Hi, > > > > > > How to I configure a periodic downtime of a server? > > > > > > My scenario: > > > > > > 7 groups of servers, each group gets rebooted on a specific weekday at > > > 4am. (windows-servers, they reboot them before they crash!) > > > > > > If I change the check_period of the host to a timeperiod that > > > excepts 3:30 - 4:30 I still get the notifications for all the services > > > on the host, because nagios does not know, the host is down. > > > > > > If I change the notification_period of the host, Nagios stops checking > > > the services when the host is down, but as some of them take a while to > > > boot, I get the notifications after the host is up again but not yet > > > completelly up. > > > > > > Can I somehow do a periodic scheduled downtime without using cron? > > > > > > Cheers > > > Klaus > > > > > > > > > > > > ----------------------------------------------------------------------- > > >-- This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge Build the coolest Linux based applications with Moblin SDK & > > > win great prizes Grand prize is a trip for two to an Open Source event > > > anywhere in the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > IMPORTANT . this email and the information in it may be confidential, > > legally privileged and/or protected by law. It is intended solely for the > > use of the person to whom it is addressed. If you are not the intended > > recipient, please notify the sender immediately and do not disclose the > > contents to any other person, use it for any purpose, or store or copy > > the information in any medium. Please also delete all copies of this > > email and any attachments from your system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We do not accept any liability for losses or damages that > > you may suffer as a result of your receipt of this email including but > > not limited to computer service or system failure, access delays or > > interruption, data non-delivery or mis-delivery, computer viruses or > > other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK Limited. Should you communicate with anyone at Select Service > > Partner UK Limited by email, you consent to us monitoring and reading any > > such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales (company number 05687183) whose registered office is at 1 The > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > > win great prizes Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at sozial-inkompetent.de Mon Sep 22 13:06:26 2008 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Mon, 22 Sep 2008 13:06:26 +0200 Subject: Periodic downtime of a server In-Reply-To: <200809221224.41563.assaf.flatto@ssp.uk.com> References: <20080922102453.GB4912@umbach-racing.de> <200809221224.41563.assaf.flatto@ssp.uk.com> Message-ID: <20080922110626.GC4912@umbach-racing.de> On 22/09/08 12:24, Assaf Flatto wrote: > > If you defined the time periods and associated the servers to them , you should not get any alerts > for them at all . I associated them with the hostgroup. > What version of nagios are you running ? 3.0.3 > > > > On Monday 22 September 2008 11:24:53 Klaus Umbach wrote: > > On 22/09/08 11:26, Assaf Flatto wrote: > > > It seems that you need to make dependencies for the services on the host > > > status to limit the amount of notifications . > > > Also it is possible - if you have a set interval for each group ( set > > > schedule ) you can define a time period for each group to be checked. > > > > I already have defined specific timeperiods. I don't want to limit the > > notifications, I don't want to be notified at all between 3:30 and 4:30, no > > matter if the host or a service has a problem. > > > > > # 'exchange-servers' timeperiod definition > > > define timeperiod{ > > > timeperiod_name exchange > > > alias exchange reboot time > > > sunday 00:00-24:00 > > > monday 00:00-03:00,04:30-24:00 > > > tuesday 00:00-24:00 > > > wednesday 00:00-24:00 > > > thursday 00:00-24:00 > > > friday 00:00-24:00 > > > saturday 00:00-24:00 > > > } > > > > > > And that will help you have a sorted and set schedule for each reboot > > > time. > > > > > > Assaf > > > > > > On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: > > > > Hi, > > > > > > > > How to I configure a periodic downtime of a server? > > > > > > > > My scenario: > > > > > > > > 7 groups of servers, each group gets rebooted on a specific weekday at > > > > 4am. (windows-servers, they reboot them before they crash!) > > > > > > > > If I change the check_period of the host to a timeperiod that > > > > excepts 3:30 - 4:30 I still get the notifications for all the services > > > > on the host, because nagios does not know, the host is down. > > > > > > > > If I change the notification_period of the host, Nagios stops checking > > > > the services when the host is down, but as some of them take a while to > > > > boot, I get the notifications after the host is up again but not yet > > > > completelly up. > > > > > > > > Can I somehow do a periodic scheduled downtime without using cron? > > > > > > > > Cheers > > > > Klaus > > > > > > > > > > > > > > > > ----------------------------------------------------------------------- > > > >-- This SF.Net email is sponsored by the Moblin Your Move Developer's > > > > challenge Build the coolest Linux based applications with Moblin SDK & > > > > win great prizes Grand prize is a trip for two to an Open Source event > > > > anywhere in the world > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at 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 > > > > > > IMPORTANT . this email and the information in it may be confidential, > > > legally privileged and/or protected by law. It is intended solely for the > > > use of the person to whom it is addressed. If you are not the intended > > > recipient, please notify the sender immediately and do not disclose the > > > contents to any other person, use it for any purpose, or store or copy > > > the information in any medium. Please also delete all copies of this > > > email and any attachments from your system. > > > > > > We cannot guarantee the security or confidentiality of email > > > communications. We do not accept any liability for losses or damages that > > > you may suffer as a result of your receipt of this email including but > > > not limited to computer service or system failure, access delays or > > > interruption, data non-delivery or mis-delivery, computer viruses or > > > other harmful components. > > > > > > Copyright in this email and any attachments belong to Select Service > > > Partner UK Limited. Should you communicate with anyone at Select Service > > > Partner UK Limited by email, you consent to us monitoring and reading any > > > such correspondence. > > > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > > relating to any agreement concerted practice or other practice that could > > > infringe UK or EC competition legislation. > > > > > > Select Service Partner UK Limited is a company registered in England and > > > Wales (company number 05687183) whose registered office is at 1 The > > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge Build the coolest Linux based applications with Moblin SDK & > > > win great prizes Grand prize is a trip for two to an Open Source event > > > anywhere in the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Sep 22 14:22:32 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 22 Sep 2008 13:22:32 +0100 Subject: Periodic downtime of a server In-Reply-To: <20080922110626.GC4912@umbach-racing.de> References: <20080922102453.GB4912@umbach-racing.de> Message-ID: <200809221322.33027.assaf.flatto@ssp.uk.com> >From what i read on the nagios documentation , host groups have no declaration for time periods . The time period should be defined in the host itself not the host group, http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup On Monday 22 September 2008 12:06:26 Klaus Umbach wrote: > On 22/09/08 12:24, Assaf Flatto wrote: > > If you defined the time periods and associated the servers to them , you > > should not get any alerts for them at all . > > I associated them with the hostgroup. > > > What version of nagios are you running ? > > 3.0.3 > > > On Monday 22 September 2008 11:24:53 Klaus Umbach wrote: > > > On 22/09/08 11:26, Assaf Flatto wrote: > > > > It seems that you need to make dependencies for the services on the > > > > host status to limit the amount of notifications . > > > > Also it is possible - if you have a set interval for each group ( set > > > > schedule ) you can define a time period for each group to be checked. > > > > > > I already have defined specific timeperiods. I don't want to limit the > > > notifications, I don't want to be notified at all between 3:30 and > > > 4:30, no matter if the host or a service has a problem. > > > > > > > # 'exchange-servers' timeperiod definition > > > > define timeperiod{ > > > > timeperiod_name exchange > > > > alias exchange reboot time > > > > sunday 00:00-24:00 > > > > monday 00:00-03:00,04:30-24:00 > > > > tuesday 00:00-24:00 > > > > wednesday 00:00-24:00 > > > > thursday 00:00-24:00 > > > > friday 00:00-24:00 > > > > saturday 00:00-24:00 > > > > } > > > > > > > > And that will help you have a sorted and set schedule for each reboot > > > > time. > > > > > > > > Assaf > > > > > > > > On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: > > > > > Hi, > > > > > > > > > > How to I configure a periodic downtime of a server? > > > > > > > > > > My scenario: > > > > > > > > > > 7 groups of servers, each group gets rebooted on a specific weekday > > > > > at 4am. (windows-servers, they reboot them before they crash!) > > > > > > > > > > If I change the check_period of the host to a timeperiod that > > > > > excepts 3:30 - 4:30 I still get the notifications for all the > > > > > services on the host, because nagios does not know, the host is > > > > > down. > > > > > > > > > > If I change the notification_period of the host, Nagios stops > > > > > checking the services when the host is down, but as some of them > > > > > take a while to boot, I get the notifications after the host is up > > > > > again but not yet completelly up. > > > > > > > > > > Can I somehow do a periodic scheduled downtime without using cron? > > > > > > > > > > Cheers > > > > > Klaus > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > >---- -- This SF.Net email is sponsored by the Moblin Your Move > > > > > Developer's challenge Build the coolest Linux based applications > > > > > with Moblin SDK & win great prizes Grand prize is a trip for two to > > > > > an Open Source event anywhere in the world > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at 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 > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > > > legally privileged and/or protected by law. It is intended solely for > > > > the use of the person to whom it is addressed. If you are not the > > > > intended recipient, please notify the sender immediately and do not > > > > disclose the contents to any other person, use it for any purpose, or > > > > store or copy the information in any medium. Please also delete all > > > > copies of this email and any attachments from your system. > > > > > > > > We cannot guarantee the security or confidentiality of email > > > > communications. We do not accept any liability for losses or damages > > > > that you may suffer as a result of your receipt of this email > > > > including but not limited to computer service or system failure, > > > > access delays or interruption, data non-delivery or mis-delivery, > > > > computer viruses or other harmful components. > > > > > > > > Copyright in this email and any attachments belong to Select Service > > > > Partner UK Limited. Should you communicate with anyone at Select > > > > Service Partner UK Limited by email, you consent to us monitoring and > > > > reading any such correspondence. > > > > > > > > Nothing in this email shall be taken or read as suggesting, proposing > > > > or relating to any agreement concerted practice or other practice > > > > that could infringe UK or EC competition legislation. > > > > > > > > Select Service Partner UK Limited is a company registered in England > > > > and Wales (company number 05687183) whose registered office is at 1 > > > > The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > >---- This SF.Net email is sponsored by the Moblin Your Move > > > > Developer's challenge Build the coolest Linux based applications with > > > > Moblin SDK & win great prizes Grand prize is a trip for two to an > > > > Open Source event anywhere in the world > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at 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 > > > > IMPORTANT . this email and the information in it may be confidential, > > legally privileged and/or protected by law. It is intended solely for the > > use of the person to whom it is addressed. If you are not the intended > > recipient, please notify the sender immediately and do not disclose the > > contents to any other person, use it for any purpose, or store or copy > > the information in any medium. Please also delete all copies of this > > email and any attachments from your system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We do not accept any liability for losses or damages that > > you may suffer as a result of your receipt of this email including but > > not limited to computer service or system failure, access delays or > > interruption, data non-delivery or mis-delivery, computer viruses or > > other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK Limited. Should you communicate with anyone at Select Service > > Partner UK Limited by email, you consent to us monitoring and reading any > > such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales (company number 05687183) whose registered office is at 1 The > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > > win great prizes Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 -- Assaf Flatto SSP Ops Team Linux System Administrator From assaf.flatto at ssp.uk.com Mon Sep 22 14:42:41 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 22 Sep 2008 13:42:41 +0100 Subject: Periodic downtime of a server In-Reply-To: <20080922114009.GD4912@umbach-racing.de> References: <20080922110626.GC4912@umbach-racing.de> Message-ID: <200809221342.41816.assaf.flatto@ssp.uk.com> If the host is defined to be checked in a specific time period , the during the lapse time his status remains in the last status it had before checking stopped. And since in 3.x services are inheriting time and contacts from their perspective host , you should have no issue at all. Can you post a host , service and their templates definition example ? On Monday 22 September 2008 12:40:09 Klaus Umbach wrote: > On 22/09/08 13:22, Assaf Flatto wrote: > > >From what i read on the nagios documentation , host groups have no > > > declaration for time periods . > > > > The time period should be defined in the host itself not the host group, > > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup > > Sorry, I was wrong, I actually did define them in the host definition. > > - > Klaus > > > On Monday 22 September 2008 12:06:26 Klaus Umbach wrote: > > > On 22/09/08 12:24, Assaf Flatto wrote: -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at sozial-inkompetent.de Mon Sep 22 13:40:09 2008 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Mon, 22 Sep 2008 13:40:09 +0200 Subject: Periodic downtime of a server In-Reply-To: <200809221322.33027.assaf.flatto@ssp.uk.com> References: <20080922110626.GC4912@umbach-racing.de> <200809221322.33027.assaf.flatto@ssp.uk.com> Message-ID: <20080922114009.GD4912@umbach-racing.de> On 22/09/08 13:22, Assaf Flatto wrote: > > > >From what i read on the nagios documentation , host groups have no declaration for time periods . > > The time period should be defined in the host itself not the host group, > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup Sorry, I was wrong, I actually did define them in the host definition. - Klaus > > > > > On Monday 22 September 2008 12:06:26 Klaus Umbach wrote: > > On 22/09/08 12:24, Assaf Flatto wrote: > > > If you defined the time periods and associated the servers to them , you > > > should not get any alerts for them at all . > > > > I associated them with the hostgroup. > > > > > What version of nagios are you running ? > > > > 3.0.3 > > > > > On Monday 22 September 2008 11:24:53 Klaus Umbach wrote: > > > > On 22/09/08 11:26, Assaf Flatto wrote: > > > > > It seems that you need to make dependencies for the services on the > > > > > host status to limit the amount of notifications . > > > > > Also it is possible - if you have a set interval for each group ( set > > > > > schedule ) you can define a time period for each group to be checked. > > > > > > > > I already have defined specific timeperiods. I don't want to limit the > > > > notifications, I don't want to be notified at all between 3:30 and > > > > 4:30, no matter if the host or a service has a problem. > > > > > > > > > # 'exchange-servers' timeperiod definition > > > > > define timeperiod{ > > > > > timeperiod_name exchange > > > > > alias exchange reboot time > > > > > sunday 00:00-24:00 > > > > > monday 00:00-03:00,04:30-24:00 > > > > > tuesday 00:00-24:00 > > > > > wednesday 00:00-24:00 > > > > > thursday 00:00-24:00 > > > > > friday 00:00-24:00 > > > > > saturday 00:00-24:00 > > > > > } > > > > > > > > > > And that will help you have a sorted and set schedule for each reboot > > > > > time. > > > > > > > > > > Assaf > > > > > > > > > > On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: > > > > > > Hi, > > > > > > > > > > > > How to I configure a periodic downtime of a server? > > > > > > > > > > > > My scenario: > > > > > > > > > > > > 7 groups of servers, each group gets rebooted on a specific weekday > > > > > > at 4am. (windows-servers, they reboot them before they crash!) > > > > > > > > > > > > If I change the check_period of the host to a timeperiod that > > > > > > excepts 3:30 - 4:30 I still get the notifications for all the > > > > > > services on the host, because nagios does not know, the host is > > > > > > down. > > > > > > > > > > > > If I change the notification_period of the host, Nagios stops > > > > > > checking the services when the host is down, but as some of them > > > > > > take a while to boot, I get the notifications after the host is up > > > > > > again but not yet completelly up. > > > > > > > > > > > > Can I somehow do a periodic scheduled downtime without using cron? > > > > > > > > > > > > Cheers > > > > > > Klaus > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > > >---- -- This SF.Net email is sponsored by the Moblin Your Move > > > > > > Developer's challenge Build the coolest Linux based applications > > > > > > with Moblin SDK & win great prizes Grand prize is a trip for two to > > > > > > an Open Source event anywhere in the world > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at 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 > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > > > > legally privileged and/or protected by law. It is intended solely for > > > > > the use of the person to whom it is addressed. If you are not the > > > > > intended recipient, please notify the sender immediately and do not > > > > > disclose the contents to any other person, use it for any purpose, or > > > > > store or copy the information in any medium. Please also delete all > > > > > copies of this email and any attachments from your system. > > > > > > > > > > We cannot guarantee the security or confidentiality of email > > > > > communications. We do not accept any liability for losses or damages > > > > > that you may suffer as a result of your receipt of this email > > > > > including but not limited to computer service or system failure, > > > > > access delays or interruption, data non-delivery or mis-delivery, > > > > > computer viruses or other harmful components. > > > > > > > > > > Copyright in this email and any attachments belong to Select Service > > > > > Partner UK Limited. Should you communicate with anyone at Select > > > > > Service Partner UK Limited by email, you consent to us monitoring and > > > > > reading any such correspondence. > > > > > > > > > > Nothing in this email shall be taken or read as suggesting, proposing > > > > > or relating to any agreement concerted practice or other practice > > > > > that could infringe UK or EC competition legislation. > > > > > > > > > > Select Service Partner UK Limited is a company registered in England > > > > > and Wales (company number 05687183) whose registered office is at 1 > > > > > The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > >---- This SF.Net email is sponsored by the Moblin Your Move > > > > > Developer's challenge Build the coolest Linux based applications with > > > > > Moblin SDK & win great prizes Grand prize is a trip for two to an > > > > > Open Source event anywhere in the world > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at 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 > > > > > > IMPORTANT . this email and the information in it may be confidential, > > > legally privileged and/or protected by law. It is intended solely for the > > > use of the person to whom it is addressed. If you are not the intended > > > recipient, please notify the sender immediately and do not disclose the > > > contents to any other person, use it for any purpose, or store or copy > > > the information in any medium. Please also delete all copies of this > > > email and any attachments from your system. > > > > > > We cannot guarantee the security or confidentiality of email > > > communications. We do not accept any liability for losses or damages that > > > you may suffer as a result of your receipt of this email including but > > > not limited to computer service or system failure, access delays or > > > interruption, data non-delivery or mis-delivery, computer viruses or > > > other harmful components. > > > > > > Copyright in this email and any attachments belong to Select Service > > > Partner UK Limited. Should you communicate with anyone at Select Service > > > Partner UK Limited by email, you consent to us monitoring and reading any > > > such correspondence. > > > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > > relating to any agreement concerted practice or other practice that could > > > infringe UK or EC competition legislation. > > > > > > Select Service Partner UK Limited is a company registered in England and > > > Wales (company number 05687183) whose registered office is at 1 The > > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge Build the coolest Linux based applications with Moblin SDK & > > > win great prizes Grand prize is a trip for two to an Open Source event > > > anywhere in the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > ???? > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Mon Sep 22 16:19:53 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 22 Sep 2008 14:19:53 +0000 Subject: usa of multiple templates in contact-definition In-Reply-To: <20080922074710.43740@gmx.net> References: <20080922074710.43740@gmx.net> Message-ID: > two contact-templates are defined: > > ------------------------- > # > # Normal workhours, 8-17 > define contact{ > name contact-at-workhours > use generic-contact > service_notification_commands notify-service-by-email > host_notification_commands notify-host-by-email > register 0 > } > > # and one hour before work and 3 hours after, 7-8 + 17-21 > define contact{ > name contact-at-prepostworkhours > use generic-contact > service_notification_period prepostworkhours > host_notification_period prepostworkhours > service_notification_commands notify-service-by-email,notify- > service-by-sms > host_notification_commands notify-host-by-email,notify- > host-by-sms > register 0 > } > # > > # > define timeperiod{ > timeperiod_name workhours > alias Normal Work Hours > monday 08:00-17:00 > tuesday 08:00-17:00 > wednesday 08:00-17:00 > thursday 08:00-17:00 > friday 08:00-17:00 > } > > define timeperiod{ > timeperiod_name prepostworkhours > alias Eine Stunde VOR der Schicht und die Sp?tschicht > inklusive > monday 07:00-8:00,17:00-21:00 > tuesday 07:00-8:00,17:00-21:00 > wednesday 07:00-8:00,17:00-21:00 > thursday 07:00-8:00,17:00-21:00 > friday 07:00-8:00,17:00-21:00 > } > # > --------------------- > > Then a contact person is defined: > > ----------------- > define contact{ > contact_name iruprecht > use contact-at-workhours,contact- > at-prepostworkhours > alias Vladimirs Vecgailis > email ilya_ruprecht at gmx.de > pager 0179123123123 > } > ----------------- > > So far so good. > > The problem is - the contact "iruprecht" is getting notifications only > in the "workhours". > > I also see in the "View config"-menu, that "iruprecht" will get > notified only in the "workhours". > > The thing is, as far as i know YOU CAN use multiple template-references > in the contact-definition. > (At least it was told so by the speaker in a > presentation(http://www.linuxtag.org/2008/de/conf/events/vp- > mittwoch/vortragsdetails.html?talkid=64) at the LinuxTag 2008. While it's true Nagios 3 supports multiple inheritance, it doesn't combine the values from both templates; it will only use the value from the second if they do not exist in the first: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html#multiple_templates You'll need to define a timeperiod that covers the entire range you want notifications to be sent out. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Mon Sep 22 18:30:44 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 22 Sep 2008 12:30:44 -0400 Subject: strange problem with check_dhcp Message-ID: <13F36D2926AD444697093282F20041B707966BA2@buf-ex01.cymfony.com> Last week I moved Nagios to a new box and after a little tweaking got the old config files working. The only thing that isn't working is check_dhcp. Since I moved it check_dhcp has been returning unknown with the details as "this plug-in must be run as root or setuid root....could not bind socket to Ethernet interface eth0. Check your privileges..." If I do the check manually as root it works; manually as Nagios returns that error. I read a couple posts that say to do chmod u+s or chmod +s on check_dhcp. When I do that I now get that same error both as Nagios and as root. I did chmod 775 on it and it again works for root but same error for Nagios. Also tried changing ownership from Nagios to root. All other plugins working fine. Any ideas? Probably something stupid I'm missing. [root at nagios libexec]# ./check_dhcp OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [root at nagios libexec]# su nagios [nagios at nagios libexec]$ ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... [nagios at nagios libexec]$ exit exit [root at nagios libexec]# chmod u+s check_dhcp [root at nagios libexec]# ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... [root at nagios libexec]# ls -lah check_dhcp -rwsrwxr-x 1 nagios nagios 76K 2008-09-19 18:01 check_dhcp [root at nagios libexec]# chown root:root check_dhcp [root at nagios libexec]# ./check_dhcp OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [root at nagios libexec]# su nagios [nagios at nagios libexec]$ ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... Nagios 3.0.3/plugins 1.4.12/fedora 9 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Mon Sep 22 19:38:47 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 22 Sep 2008 10:38:47 -0700 Subject: strange problem with check_dhcp In-Reply-To: <13F36D2926AD444697093282F20041B707966BA2@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B707966BA2@buf-ex01.cymfony.com> Message-ID: <20080922173847.GI14923@bakgwai.americas.hpqcorp.net> On Mon, 22 Sep 2008, Seth Simmons wrote: > > Last week I moved Nagios to a new box and after a little tweaking got > the old config files working. The only thing that isn't working is > check_dhcp. > > Since I moved it check_dhcp has been returning unknown with the details > as "this plug-in must be run as root or setuid root....could not bind > socket to Ethernet interface eth0. Check your privileges..." > > If I do the check manually as root it works; manually as Nagios returns > that error. I read a couple posts that say to do chmod u+s or chmod +s > on check_dhcp. When I do that I now get that same error both as Nagios > and as root. I did chmod 775 on it and it again works for root but same > error for Nagios. Also tried changing ownership from Nagios to root. > All other plugins working fine. Any ideas? Probably something stupid > I'm missing. When you did the chmod u+s, did you also change the owner to root? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Mon Sep 22 20:34:15 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 22 Sep 2008 14:34:15 -0400 Subject: strange problem with check_dhcp In-Reply-To: <4E7C2F493C1A1A44BE705AFDCEE8A133026463D5@OAEXCH2SERVER.oa.oclc.org> References: <13F36D2926AD444697093282F20041B707966BA2@buf-ex01.cymfony.com> <4E7C2F493C1A1A44BE705AFDCEE8A133026463D5@OAEXCH2SERVER.oa.oclc.org> Message-ID: <13F36D2926AD444697093282F20041B707966C7A@buf-ex01.cymfony.com> selinux is disabled was a permission issue on the file -----Original Message----- From: Maxwell,Brady [mailto:maxwellb at oclc.org] Sent: Monday, September 22, 2008 2:29 PM To: Seth Simmons Subject: RE: [Nagios-users] strange problem with check_dhcp Is your new system running selinux? -----Original Message----- From: Seth Simmons [mailto:ssimmons at cymfony.com] Sent: Monday, September 22, 2008 12:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] strange problem with check_dhcp Last week I moved Nagios to a new box and after a little tweaking got the old config files working. The only thing that isn't working is check_dhcp. Since I moved it check_dhcp has been returning unknown with the details as "this plug-in must be run as root or setuid root....could not bind socket to Ethernet interface eth0. Check your privileges..." If I do the check manually as root it works; manually as Nagios returns that error. I read a couple posts that say to do chmod u+s or chmod +s on check_dhcp. When I do that I now get that same error both as Nagios and as root. I did chmod 775 on it and it again works for root but same error for Nagios. Also tried changing ownership from Nagios to root. All other plugins working fine. Any ideas? Probably something stupid I'm missing. [root at nagios libexec]# ./check_dhcp OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [root at nagios libexec]# su nagios [nagios at nagios libexec]$ ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... [nagios at nagios libexec]$ exit exit [root at nagios libexec]# chmod u+s check_dhcp [root at nagios libexec]# ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... [root at nagios libexec]# ls -lah check_dhcp -rwsrwxr-x 1 nagios nagios 76K 2008-09-19 18:01 check_dhcp [root at nagios libexec]# chown root:root check_dhcp [root at nagios libexec]# ./check_dhcp OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [root at nagios libexec]# su nagios [nagios at nagios libexec]$ ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... Nagios 3.0.3/plugins 1.4.12/fedora 9 ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Mon Sep 22 20:34:43 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Mon, 22 Sep 2008 18:34:43 +0000 Subject: ndo2db: Error: mysql_query() failed In-Reply-To: References: <001401c918e1$23bf7d30$2df41c0a@tse.gov.br> Message-ID: Hello there. I installed again the database structure, it didn't work, I don't know from where comes the / just before the .cfg From: patrick.morris at hp.com To: cotarelo2 at hotmail.com; nagios-users at lists.sourceforge.net Date: Thu, 18 Sep 2008 16:25:51 +0000 Subject: RE: [Nagios-users] ndo2db: Error: mysql_query() failed Hi list, After solving my last problem with NDOutils now everytime I restart Nagios I have this nice messages in /var/log/syslog Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='83', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/contacts\.cfg'' [snip] I don't like it. How can I restart again the database to don't have it or remove this query? Several things can cause this. The most likely would be that either you did not set up your databases using the correct schema for the version of ndoutils you are using, or that your nagios_configfilevariables table has been corrupted. _________________________________________________________________ ?Entra en el Club oficial de Messenger y te enterar?s de todas las novedades! http://www.vivelive.com/ilovemessenger -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Mon Sep 22 20:36:43 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Mon, 22 Sep 2008 18:36:43 +0000 Subject: Nagios takes too much time to send notifications Message-ID: Now it doesn't work anymore, I don't know why. the notifications takes too long to send... I tried to change the name of the config files in the nagios.cfg but it didn't work. How do I patch ndoutils? Thank you, Jorge > Date: Fri, 19 Sep 2008 17:28:34 +0200 > From: ae at op5.se > To: cotarelo2 at hotmail.com > CC: patrick.morris at hp.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios takes too much time to send notifications > > Jorge Pe?a wrote: > > Thanks for your help Andreas, Ir worked!... anyway I am not 100% happy because I watching a thing in the /var/log/syslog and I have lines like this: > > > > Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO > > nagios_configfilevariables SET instance_id='1', configfile_id='83', > > varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/mylocalhost\.cfg'' > > > > I am not quite sure how to fix it, I have removed the database and installed again ndoutils but it didn't worked. I think the problem is the last '/' which is at the end of the sql query just before the .cfg > > > > any Idea of how to fix it? > > > > Remove any backslashes from your nagios.cfg. If that fails; > patch ndoutils. Sorry, but that looks like a bug to me. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 _________________________________________________________________ ?Sigue el calor? Consulta MSN El tiempo http://eltiempo.es.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From CSerafin at RKON.com Tue Sep 23 02:50:58 2008 From: CSerafin at RKON.com (Serafin, Chris) Date: Mon, 22 Sep 2008 19:50:58 -0500 Subject: Alerts delayed for critical services Message-ID: <63C821463F23D1418E680D8A6C2767329558BB@server2.RKON.COM> I'm using Nagios 3.0.1 and Ubuntu 8.0.4, and it is working great. The issue that I'm having is that, a service will be down and I will not get a notification for 15-20 min afterwards. How and where would I configure this? All other services outside this service group work 'fine'. define service{ name xxx-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 3 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined contact_groups xxxadmins ; Notifications get sent out to everyone in the 'admins' group notification_options w,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 30 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time } Any help appreciated, Chris Serafin Security Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ronaldobf at linkway.com.br Tue Sep 23 05:32:16 2008 From: ronaldobf at linkway.com.br (Ronaldo A. Bueno Filho) Date: Tue, 23 Sep 2008 00:32:16 -0300 Subject: ndo2db: Error: mysql_query() failed Message-ID: <9b3546280537a50c6934c8e08f5c0244@189.20.88.24> I think I sent an e-mail before showing my solution regarding my own issue with NDOUtils. I noticed that when compiling and generating the installation from the source files, it was missing some libs. Try to generate the files and compile it again. Check if you see any lib statements with "no". In my case, I did not have at least 4 libs, including socket and TCP. I installed it and it worked. If you are using socket connection, try to use TCP. Maybe it works. Regards, -- Ronaldo A. Bueno Filho --------- Mensagem Original -------- De: Jorge Pe?a Para: Morris, Patrick , nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] ndo2db: Error: mysql_query() failed Data: 22/09/08 12:37 > > > > > ..hmmessage P > { > margin:0px; > padding:0px > } > body.hmmessage > { > FONT-SIZE: 10pt; > FONT-FAMILY:Tahoma > } > > > > Hello there.I installed again the database structure, it didn't work, I don't know from where comes the / just before the .cfgFrom: patrick.morris at hp.comTo: cotarelo2 at hotmail.com; nagios-users at lists.sourceforge.netDate: Thu, 18 Sep 2008 16:25:51 +0000Subject: RE: [Nagios-users] ndo2db: Error: mysql_query() failed > > > > > > > > > ..ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal > {margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';} > ..ExternalClass p.EC_MsoSubtitle, .ExternalClass li.EC_MsoSubtitle, .ExternalClass div.EC_MsoSubtitle > {margin-bottom:.0001pt;font-size:12.0pt;font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;} > ..ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink > {color:blue;text-decoration:underline;} > ..ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed > {color:purple;text-decoration:underline;} > ..ExternalClass p > {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';} > ..ExternalClass p.EC_MsoListParagraph, .ExternalClass li.EC_MsoListParagraph, .ExternalClass div.EC_MsoListParagraph > {margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';} > ..ExternalClass span.EC_EmailStyle18 > {font-family:'Calibri','sans-serif';color:#1F497D;} > ..ExternalClass span.EC_SubtitleChar > {font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;} > ..ExternalClass .EC_MsoChpDefault > {font-size:10.0pt;} > @page Section1 > {size:8.5in 11.0in;} > ..ExternalClass div.EC_Section1 > {page:Section1;} > ..ExternalClass ol > {margin-bottom:0in;} > ..ExternalClass ul > {margin-bottom:0in;} > > > > > > > > > > > > Hi list, > > After solving my last problem with NDOutils now everytime I restart Nagios I > have this nice messages in /var/log/syslog > > > Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO > nagios_configfilevariables SET instance_id='1', configfile_id='83', > varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/contacts..cfg'' > [snip] > > > I don't like it. How can I restart again the database to don't have it or > remove this query? > > Several things can cause this. The most likely would be that > either you did not set up your databases using the correct schema for the > version of ndoutils you are using, or that your nagios_configfilevariables > table has been corrupted. > > > > > > > > > ?Tr?nchate de risa con los mejores cap?tulos de South Park en MSN V?deo! > > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Tue Sep 23 07:12:39 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Tue, 23 Sep 2008 05:12:39 +0000 Subject: ndo2db: Error: mysql_query() failed In-Reply-To: <9b3546280537a50c6934c8e08f5c0244@189.20.88.24> References: <9b3546280537a50c6934c8e08f5c0244@189.20.88.24> Message-ID: How I change from socket to TCP? Thanks> Date: Tue, 23 Sep 2008 00:32:16 -0300> To: cotarelo2 at hotmail.com; patrick.morris at hp.com; nagios-users at lists.sourceforge.net> From: ronaldobf at linkway.com.br> Subject: Re: [Nagios-users] ndo2db: Error: mysql_query() failed> > > I think I sent an e-mail before showing my solution regarding my own issue> with NDOUtils.> > I noticed that when compiling and generating the installation from the> source files, it was missing some libs. > Try to generate the files and compile it again. Check if you see any lib> statements with "no". > > In my case, I did not have at least 4 libs, including socket and TCP. I> installed it and it worked.> > If you are using socket connection, try to use TCP. Maybe it works.> > Regards,> > --> Ronaldo A. Bueno Filho> > > --------- Mensagem Original --------> De: Jorge Pe?a > Para: Morris, Patrick ,> nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] ndo2db: Error: mysql_query() failed> Data: 22/09/08 12:37> > > > > > > > > > > ..hmmessage P> > {> > margin:0px;> > padding:0px> > }> > body.hmmessage> > {> > FONT-SIZE: 10pt;> > FONT-FAMILY:Tahoma> > }> > > > > > > > Hello there.I installed again the database structure, it didn't work, I> don't know from where comes the / just before the .cfgFrom:> patrick.morris at hp.comTo: cotarelo2 at hotmail.com;> nagios-users at lists.sourceforge.netDate: Thu, 18 Sep 2008 16:25:51> +0000Subject: RE: [Nagios-users] ndo2db: Error: mysql_query() failed> > > > > > > > > > > > > > > > > > ..ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal,> .ExternalClass div.EC_MsoNormal> > {margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New> Roman','serif';}> > ..ExternalClass p.EC_MsoSubtitle, .ExternalClass li.EC_MsoSubtitle,> .ExternalClass div.EC_MsoSubtitle> >> {margin-bottom:.0001pt;font-size:12.0pt;font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;}> > ..ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink> > {color:blue;text-decoration:underline;}> > ..ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed> > {color:purple;text-decoration:underline;}> > ..ExternalClass p> > {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New> Roman','serif';}> > ..ExternalClass p.EC_MsoListParagraph, .ExternalClass> li.EC_MsoListParagraph, .ExternalClass div.EC_MsoListParagraph> >> {margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times> New Roman','serif';}> > ..ExternalClass span.EC_EmailStyle18> > {font-family:'Calibri','sans-serif';color:#1F497D;}> > ..ExternalClass span.EC_SubtitleChar> >> {font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;}> > ..ExternalClass .EC_MsoChpDefault> > {font-size:10.0pt;}> > @page Section1> > {size:8.5in 11.0in;}> > ..ExternalClass div.EC_Section1> > {page:Section1;}> > ..ExternalClass ol> > {margin-bottom:0in;}> > ..ExternalClass ul> > {margin-bottom:0in;}> > > > > > > > > > > > > > > > > > > > > > > > Hi list,> > > > After solving my last problem with NDOutils now everytime I restart Nagios> I> > have this nice messages in /var/log/syslog> > > > > > Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO> > nagios_configfilevariables SET instance_id='1', configfile_id='83',> > varname='cfg_file',> varvalue='/usr/local/nagios/etc/objects/contacts..cfg''> > [snip]> > > > > > I don't like it. How can I restart again the database to don't have it or> > remove this query?> > > > Several things can cause this. The most likely would be that> > either you did not set up your databases using the correct schema for the> > version of ndoutils you are using, or that your nagios_configfilevariables> > table has been corrupted.> > > > > > > > > > > > > > > > > > ?Tr?nchate de risa con los mejores cap?tulos de South Park en MSN V?deo!> > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------> > This SF.Net email is sponsored by the Moblin Your Move Developer's> challenge> > Build the coolest Linux based applications with Moblin SDK & win great> prizes> > Grand prize is a trip for two to an Open Source event anywhere in the> world> > http://moblin-contest.org/redirect.php?banner_id=100&url=/> > > > > > > > > > > > > > > > > > _______________________________________________> > Nagios-users mailing list> > Nagios-users at 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> > > > > > > > --> Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus.> _________________________________________________________________ ?Eres un cotilla? Disfruta de todas las novedades en MSN Coraz?n http://entretenimiento.es.msn.com/corazon/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cotarelo2 at hotmail.com Tue Sep 23 07:21:40 2008 From: cotarelo2 at hotmail.com (=?iso-8859-1?Q?Jorge_Pe=F1a?=) Date: Tue, 23 Sep 2008 05:21:40 +0000 Subject: ndo2db: Error: mysql_query() failed In-Reply-To: <9b3546280537a50c6934c8e08f5c0244@189.20.88.24> References: <9b3546280537a50c6934c8e08f5c0244@189.20.88.24> Message-ID: I stoped nagios I stoped NDO I edited /usr/local/nagios/etc/ndo2db.cfg and changed the socket to tp I started nagios I started NDO But now I have the message: nagios: ndomod: Still unable to connect to data sink. 0 items lost, 586 queued items to flush.> Date: Tue, 23 Sep 2008 00:32:16 -0300> To: cotarelo2 at hotmail.com; patrick.morris at hp.com; nagios-users at lists.sourceforge.net> From: ronaldobf at linkway.com.br> Subject: Re: [Nagios-users] ndo2db: Error: mysql_query() failed> > > I think I sent an e-mail before showing my solution regarding my own issue> with NDOUtils.> > I noticed that when compiling and generating the installation from the> source files, it was missing some libs. > Try to generate the files and compile it again. Check if you see any lib> statements with "no". > > In my case, I did not have at least 4 libs, including socket and TCP. I> installed it and it worked.> > If you are using socket connection, try to use TCP. Maybe it works.> > Regards,> > --> Ronaldo A. Bueno Filho> > > --------- Mensagem Original --------> De: Jorge Pe?a > Para: Morris, Patrick ,> nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] ndo2db: Error: mysql_query() failed> Data: 22/09/08 12:37> > > > > > > > > > > ..hmmessage P> > {> > margin:0px;> > padding:0px> > }> > body.hmmessage> > {> > FONT-SIZE: 10pt;> > FONT-FAMILY:Tahoma> > }> > > > > > > > Hello there.I installed again the database structure, it didn't work, I> don't know from where comes the / just before the .cfgFrom:> patrick.morris at hp.comTo: cotarelo2 at hotmail.com;> nagios-users at lists.sourceforge.netDate: Thu, 18 Sep 2008 16:25:51> +0000Subject: RE: [Nagios-users] ndo2db: Error: mysql_query() failed> > > > > > > > > > > > > > > > > > ..ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal,> .ExternalClass div.EC_MsoNormal> > {margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New> Roman','serif';}> > ..ExternalClass p.EC_MsoSubtitle, .ExternalClass li.EC_MsoSubtitle,> .ExternalClass div.EC_MsoSubtitle> >> {margin-bottom:.0001pt;font-size:12.0pt;font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;}> > ..ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink> > {color:blue;text-decoration:underline;}> > ..ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed> > {color:purple;text-decoration:underline;}> > ..ExternalClass p> > {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New> Roman','serif';}> > ..ExternalClass p.EC_MsoListParagraph, .ExternalClass> li.EC_MsoListParagraph, .ExternalClass div.EC_MsoListParagraph> >> {margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times> New Roman','serif';}> > ..ExternalClass span.EC_EmailStyle18> > {font-family:'Calibri','sans-serif';color:#1F497D;}> > ..ExternalClass span.EC_SubtitleChar> >> {font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;}> > ..ExternalClass .EC_MsoChpDefault> > {font-size:10.0pt;}> > @page Section1> > {size:8.5in 11.0in;}> > ..ExternalClass div.EC_Section1> > {page:Section1;}> > ..ExternalClass ol> > {margin-bottom:0in;}> > ..ExternalClass ul> > {margin-bottom:0in;}> > > > > > > > > > > > > > > > > > > > > > > > Hi list,> > > > After solving my last problem with NDOutils now everytime I restart Nagios> I> > have this nice messages in /var/log/syslog> > > > > > Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO> > nagios_configfilevariables SET instance_id='1', configfile_id='83',> > varname='cfg_file',> varvalue='/usr/local/nagios/etc/objects/contacts..cfg''> > [snip]> > > > > > I don't like it. How can I restart again the database to don't have it or> > remove this query?> > > > Several things can cause this. The most likely would be that> > either you did not set up your databases using the correct schema for the> > version of ndoutils you are using, or that your nagios_configfilevariables> > table has been corrupted.> > > > > > > > > > > > > > > > > > ?Tr?nchate de risa con los mejores cap?tulos de South Park en MSN V?deo!> > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------> > This SF.Net email is sponsored by the Moblin Your Move Developer's> challenge> > Build the coolest Linux based applications with Moblin SDK & win great> prizes> > Grand prize is a trip for two to an Open Source event anywhere in the> world> > http://moblin-contest.org/redirect.php?banner_id=100&url=/> > > > > > > > > > > > > > > > > > _______________________________________________> > Nagios-users mailing list> > Nagios-users at 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> > > > > > > > --> Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus.> _________________________________________________________________ ?Sigue el calor? Consulta MSN El tiempo http://eltiempo.es.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Tue Sep 23 07:46:29 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 23 Sep 2008 07:46:29 +0200 Subject: Alerts delayed for critical services In-Reply-To: <63C821463F23D1418E680D8A6C2767329558BB@server2.RKON.COM> References: <63C821463F23D1418E680D8A6C2767329558BB@server2.RKON.COM> Message-ID: <48D882B5.6010301@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Serafin, Chris wrote: > I?m using Nagios 3.0.1 and Ubuntu 8.0.4, and it is working great. The > issue that I?m having is that, a service will be down and I will not get > a notification for 15-20 min afterwards. How and where would I configure > this? All other services outside this service group work ?fine?. > max_check_attempts 3 ; > Re-check the service up to 3 times in order to determine its final > (hard) state > normal_check_interval 3 ; Check > the service every 10 minutes under normal conditions > retry_check_interval 1 ; > Re-check the service every two minutes until a hard state can be determined Well you need to redo the math here. These numbers do not add up. 3 * N = 10 1 * N = 2 What is your base timer set to? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI2IKzBvzDRVjxmYERAvnSAKCLgKRAKg1QRwbRkMTK58HoGMNL1wCfSlom U9h0w6JLTiKHnDU8DPS9AJY= =gYWZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Tue Sep 23 08:18:25 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Tue, 23 Sep 2008 08:18:25 +0200 Subject: Monitoring 64-bit and 32-bit servers - plugin path problem Message-ID: Hello all. I've set up Nagios to monitor a few 64-bit machines, and this seems to be working correctly. For example, my command for checking a remote disk is defined like this: define command{ command_name check_remote_disk command_line /somepath/check_by_ssh -C "/usr/lib64/nagios/plugins/check_disk " } This command executes /usr/*lib64*/nagios/plugins/check_disk on the remote system. On 32-bit systems, on the other hand, the path to the plugin is /usr/*lib*/nagios/plugins/check_disk. It thus looks like I have to differentiate between 32-bit and 64-bit commands, and in effect devide the configuration itself in a 32-bit section and 64-bit section. I'm sure there is a neat way of solving this, and could use some advice. I guess I could symlink all over the place to get things going, but there are probably a better way of doing this. Regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 23 09:05:45 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Sep 2008 09:05:45 +0200 Subject: usa of multiple templates in contact-definition In-Reply-To: <20080922074710.43740@gmx.net> References: <20080922074710.43740@gmx.net> Message-ID: <48D89549.5090502@op5.se> Ilya Ruprecht wrote: > Dear list, > > following situation: > > two contact-templates are defined: > > ------------------------- > # > # Normal workhours, 8-17 > define contact{ > name contact-at-workhours > use generic-contact > service_notification_commands notify-service-by-email > host_notification_commands notify-host-by-email > register 0 > } > > # and one hour before work and 3 hours after, 7-8 + 17-21 > define contact{ > name contact-at-prepostworkhours > use generic-contact > service_notification_period prepostworkhours > host_notification_period prepostworkhours > service_notification_commands notify-service-by-email,notify-service-by-sms > host_notification_commands notify-host-by-email,notify-host-by-sms > register 0 > } > # > > # > define timeperiod{ > timeperiod_name workhours > alias Normal Work Hours > monday 08:00-17:00 > tuesday 08:00-17:00 > wednesday 08:00-17:00 > thursday 08:00-17:00 > friday 08:00-17:00 > } > > define timeperiod{ > timeperiod_name prepostworkhours > alias Eine Stunde VOR der Schicht und die Sp?tschicht inklusive > monday 07:00-8:00,17:00-21:00 > tuesday 07:00-8:00,17:00-21:00 > wednesday 07:00-8:00,17:00-21:00 > thursday 07:00-8:00,17:00-21:00 > friday 07:00-8:00,17:00-21:00 > } > # > --------------------- > > Then a contact person is defined: > > ----------------- > define contact{ > contact_name iruprecht > use contact-at-workhours,contact-at-prepostworkhours > alias Vladimirs Vecgailis > email ilya_ruprecht at gmx.de > pager 0179123123123 > } > ----------------- > > So far so good. > > The problem is - the contact "iruprecht" is getting notifications only in the "workhours". > > I also see in the "View config"-menu, that "iruprecht" will get notified only in the "workhours". > > The thing is, as far as i know YOU CAN use multiple template-references in the contact-definition. > (At least it was told so by the speaker in a presentation(http://www.linuxtag.org/2008/de/conf/events/vp-mittwoch/vortragsdetails.html?talkid=64) at the LinuxTag 2008. > > But somehow it seems not to work.. > > > The Nagios-version used is 3.0.3. > You've specified your templates in the wrong order. Switch the ordering in the contact object's "use" statement and the timeperiods will start working. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at sozial-inkompetent.de Tue Sep 23 10:13:50 2008 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Tue, 23 Sep 2008 10:13:50 +0200 Subject: Periodic downtime of a server In-Reply-To: <200809221342.41816.assaf.flatto@ssp.uk.com> References: <20080922114009.GD4912@umbach-racing.de> <200809221342.41816.assaf.flatto@ssp.uk.com> Message-ID: <20080923081350.GF4912@umbach-racing.de> Thanks for your Help, I solved it with cron now. - Klaus On 22/09/08 13:42, Assaf Flatto wrote: > If the host is defined to be checked in a specific time period , the during the lapse time his > status remains in the last status it had before checking stopped. > > And since in 3.x services are inheriting time and contacts from their perspective host , you should > have no issue at all. > > Can you post a host , service and their templates definition example ? > > > On Monday 22 September 2008 12:40:09 Klaus Umbach wrote: > > On 22/09/08 13:22, Assaf Flatto wrote: > > > >From what i read on the nagios documentation , host groups have no > > > > declaration for time periods . > > > > > > The time period should be defined in the host itself not the host group, > > > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup > > > > Sorry, I was wrong, I actually did define them in the host definition. > > > > - > > Klaus > > > > > On Monday 22 September 2008 12:06:26 Klaus Umbach wrote: > > > > On 22/09/08 12:24, Assaf Flatto wrote: > > > > -- > > Assaf Flatto > SSP Ops Team > Linux System Administrator > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rupertt at gmail.com Tue Sep 23 10:17:58 2008 From: rupertt at gmail.com (Heiko) Date: Tue, 23 Sep 2008 10:17:58 +0200 Subject: nagios with ndo crashed after a week Message-ID: <537dcd6b0809230117s24b58da0q1cdfff834be861e8@mail.gmail.com> Hello, i enabled ndomod last week to have some data do play with. Today nagios sudenly stopped checking and also a nagios restart and kill didnt bring it up again. I had this incident some months ago when first played with ndo. What is causing this behaevior and how can I prevent this? It is really critical when nagios doesnt check, we have a fallback nagios, but causes some confusion with my colleages. greetings Rupertt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 23 10:36:50 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Sep 2008 10:36:50 +0200 Subject: Nagios takes too much time to send notifications In-Reply-To: References: Message-ID: <48D8AAA2.80004@op5.se> Jorge Pe?a wrote: > Now it doesn't work anymore, I don't know why. the notifications takes too long to send... I tried to change the name of the config files in the nagios.cfg but it didn't work. > > How do I patch ndoutils? > Using an editor. If you're really hardcore, you'll limit yourself to sed. If you're ultra hardcore, you'll use a hexeditor on the binary. Seriously speaking though, you probably want to talk to a software consultant somewhere near you. When that consultant has done his work, send the completed stuff to Ethan Galstad (egalstad at nagios.org), Mark Young (myoung at nagios.org) or me (ae at op5.se) and one of us will make sure the fix is incorporated in future releases as well. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 23 10:40:03 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Sep 2008 10:40:03 +0200 Subject: Monitoring 64-bit and 32-bit servers - plugin path problem In-Reply-To: References: Message-ID: <48D8AB63.9050501@op5.se> Kenneth Holter wrote: > Hello all. > > > I've set up Nagios to monitor a few 64-bit machines, and this seems to be > working correctly. For example, my command for checking a remote disk is > defined like this: > > > define command{ > command_name check_remote_disk > command_line /somepath/check_by_ssh -C > "/usr/lib64/nagios/plugins/check_disk " > } > > This command executes /usr/*lib64*/nagios/plugins/check_disk on the remote > system. On 32-bit systems, on the other hand, the path to the plugin is > /usr/*lib*/nagios/plugins/check_disk. It thus looks like I have to > differentiate between 32-bit and 64-bit commands, and in effect devide the > configuration itself in a 32-bit section and 64-bit section. > > I'm sure there is a neat way of solving this, and could use some advice. I > guess I could symlink all over the place to get things going, but there are > probably a better way of doing this. > Modify resource.cfg and use a macro to define the path to the plugins. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Tue Sep 23 10:48:13 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Tue, 23 Sep 2008 10:48:13 +0200 Subject: Monitoring 64-bit and 32-bit servers - plugin path problem In-Reply-To: <48D8AB63.9050501@op5.se> References: <48D8AB63.9050501@op5.se> Message-ID: Actually, I've done this already. The macro, say, X defines the path to be "/usr/lib64/nagios/plugins". But as far as I can see this does not solve my problem, as the path on a 32-bit systems is different than the path on a 64-bit system. On 9/23/08, Andreas Ericsson wrote: > > Kenneth Holter wrote: > >> Hello all. >> >> >> I've set up Nagios to monitor a few 64-bit machines, and this seems to be >> working correctly. For example, my command for checking a remote disk is >> defined like this: >> >> >> define command{ >> command_name check_remote_disk >> command_line /somepath/check_by_ssh -C >> "/usr/lib64/nagios/plugins/check_disk " >> } >> >> This command executes /usr/*lib64*/nagios/plugins/check_disk on the remote >> system. On 32-bit systems, on the other hand, the path to the plugin is >> /usr/*lib*/nagios/plugins/check_disk. It thus looks like I have to >> differentiate between 32-bit and 64-bit commands, and in effect devide the >> configuration itself in a 32-bit section and 64-bit section. >> >> I'm sure there is a neat way of solving this, and could use some advice. I >> guess I could symlink all over the place to get things going, but there >> are >> probably a better way of doing this. >> >> > Modify resource.cfg and use a macro to define the path to the plugins. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Tue Sep 23 15:36:34 2008 From: bjlockie at lockie.ca (James) Date: Tue, 23 Sep 2008 09:36:34 -0400 (EDT) Subject: notifications Message-ID: I got a host down notification but no host up notification. I had flapping detection on the host but no notification on the contact. I wonder if the host was detected as flapping which is why there was no host up notification. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From CSerafin at RKON.com Tue Sep 23 16:29:09 2008 From: CSerafin at RKON.com (Serafin, Chris) Date: Tue, 23 Sep 2008 09:29:09 -0500 Subject: Alerts delayed for critical services In-Reply-To: <48D882B5.6010301@vanderkooij.org> References: <63C821463F23D1418E680D8A6C2767329558BB@server2.RKON.COM> <48D882B5.6010301@vanderkooij.org> Message-ID: <63C821463F23D1418E680D8A6C276732955907@server2.RKON.COM> The comments are actually from the default Nagios config file and not what I am intending to do. Sorry I should have clarified. I basically want to get alerts ASAP. Thanks. Chris Serafin Security Engineer -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Tuesday, September 23, 2008 12:46 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Alerts delayed for critical services -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Serafin, Chris wrote: > I?m using Nagios 3.0.1 and Ubuntu 8.0.4, and it is working great. The > issue that I?m having is that, a service will be down and I will not get > a notification for 15-20 min afterwards. How and where would I configure > this? All other services outside this service group work ?fine?. > max_check_attempts 3 ; > Re-check the service up to 3 times in order to determine its final > (hard) state > normal_check_interval 3 ; Check > the service every 10 minutes under normal conditions > retry_check_interval 1 ; > Re-check the service every two minutes until a hard state can be determined Well you need to redo the math here. These numbers do not add up. 3 * N = 10 1 * N = 2 What is your base timer set to? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI2IKzBvzDRVjxmYERAvnSAKCLgKRAKg1QRwbRkMTK58HoGMNL1wCfSlom U9h0w6JLTiKHnDU8DPS9AJY= =gYWZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From twelcome at tenet.ac.za Tue Sep 23 16:18:49 2008 From: twelcome at tenet.ac.za (Traiano Welcome) Date: Tue, 23 Sep 2008 16:18:49 +0200 Subject: notifications References: Message-ID: Hi James If you grep your main nagios log for the hostname you'll be able to see the results of nagios checks on the host, and whether the host was detected as up or not. It's likely that flap detection suppressed the notifications. Thanks, Traiano -----Original Message----- From: James [mailto:bjlockie at lockie.ca] Sent: Tue 9/23/2008 3:36 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] notifications I got a host down notification but no host up notification. I had flapping detection on the host but no notification on the contact. I wonder if the host was detected as flapping which is why there was no host up notification. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From james.mohr at elaxy.com Tue Sep 23 16:53:39 2008 From: james.mohr at elaxy.com (Mohr James) Date: Tue, 23 Sep 2008 16:53:39 +0200 Subject: Disabling notifications or defining outages by service groups Message-ID: Hi All! We are running Nagios 3.0.1 and have several different service groups spread across several machines. When we do software updates, we need to disable notifications for all of the services. So far, I couldn't find a way of disabling notifications or defining outages by service groups. Is there a way? Am I missing something? Since we are using NDO, I thought about reading the services for each group out of the database and then writing to the commands file to disable the notification. However, if something already exists, why reinvent the wheel? Regards, Jim Mohr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Tue Sep 23 18:06:34 2008 From: bjlockie at lockie.ca (James) Date: Tue, 23 Sep 2008 12:06:34 -0400 (EDT) Subject: notifications In-Reply-To: References: Message-ID: On Tue, September 23, 2008 10:18 am, Traiano Welcome wrote: > Hi James > > 20080923 - 0.02 hour - stale cpServer lock > If you grep your main nagios log for the hostname you'll be able to see > the results of nagios checks on the host, and whether the host was > detected as up or not. It's likely that flap detection suppressed the > notifications. There host is up but there was never a host up notification (there was a host down notification). > > Thanks, > Traiano > > > > -----Original Message----- > From: James [mailto:bjlockie at lockie.ca] > Sent: Tue 9/23/2008 3:36 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notifications > > > I got a host down notification but no host up notification. > I had flapping detection on the host but no notification on the contact. > I wonder if the host was detected as flapping which is why there was no > host up notification. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kyleodonnell at gmail.com Tue Sep 23 19:05:06 2008 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Tue, 23 Sep 2008 13:05:06 -0400 Subject: check_disk with many ARGS over nrpe Message-ID: <2274b9c30809231005j280d307r972186ea18ed11ed@mail.gmail.com> Here is the command running locally: /opt/nagios/libexec/check_disk -e -w 10% -c 5% -p / -w 10% -c 5% -p /var -w 10% -c 5% -p /opt/gw -w 10% -c 5% -p /opt -w 10% -c 5% -p /usr/local/groundwork -w 10% -c 5% -p /tmp -w 10% -c 5% -p /var/opt/universal DISK OK| /=1781MB;8924;9420;0;9916 /var=885MB;7141;7538;0;7935 /opt/gw=10489MB;333060;351563;0;370067 /opt=609MB;16068;16961;0;17854 /usr/local/groundwork=3515MB;14745;15564;0;16384 /tmp=83MB;1784;1883;0;1983 /var/opt/universal=10MB;222;234;0;247 Here is the line in my nrpe.cfg: command[check_diskthresh7]=/opt/nagios/libexec/check_disk -e -w $ARG1$ -c $ARG2$ -p $ARG3$ -w $ARG4$ -c $ARG5$ -p $ARG6$ -w $ARG7$ -c $ARG8$ -p $ARG9$ -w $ARG10$ -c $ARG11$ -p $ARG12$ -w $ARG13$ -c $ARG14$ -p $ARG15$ -w $ARG16$ -c $ARG17$ -p $ARG18$ -w $ARG19$ -c $ARG20$ -p $ARG21$ Here is the command run via check_nrpe: /opt/nagios/libexec/check_nrpe -H localhost -p 5666 -n -u -t 25 -c check_diskthresh7 -a 10% 5% / 10% 5% /opt 10% 5% /var 10% 5% /tmp 10% 5% /opt/gw 10% 5% /opt/universal 10% 5% /var/opt/universal Unknown argument Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p path | -x device} [-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ] [-t timeout] [-u unit] [-v] [-X type] Shouldn't the command work over NRPE, or have I just been starring at it too long and missed something simple. Thanks, Kyle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stanb at panix.com Tue Sep 23 19:13:02 2008 From: stanb at panix.com (stan) Date: Tue, 23 Sep 2008 13:13:02 -0400 Subject: Authntication/NIS Message-ID: <20080923171302.GA23836@teddy.fas.com> I am trying to get a Nagios installation in production. I have most of the first phase of it working as desired, but the final hurdle to getting it actually used is setting up authentication for the users. Now, in a perfect world, I would as soon not have authentication turned on, but the contractor i have doing the work tells me that Nagios will not work without this. I have a mail machine that all of my users do have accounts on, and I would like to use it as an NIS master to allow the users to re-use their existing credentials to access Nagios, and nagvis. Has anyone gotten this working? Any tips? We seem to be struggling to get this working. At present the machine running Nagios will allow users to log in to it using their NIS credentials, but we are struggling to get Apache to understand how to check NIS for this. Any help would be greatly appreciated. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From allanc at chickenandporn.com Tue Sep 23 19:58:27 2008 From: allanc at chickenandporn.com (Allan Clark) Date: Tue, 23 Sep 2008 13:58:27 -0400 Subject: Authntication/NIS In-Reply-To: <20080923171302.GA23836@teddy.fas.com> References: <20080923171302.GA23836@teddy.fas.com> Message-ID: <37c712e0809231058l2f7c1fc4t9eabf7e3dd326d25@mail.gmail.com> On Tue, Sep 23, 2008 at 13:13, stan wrote: > I am trying to get a Nagios installation in production. I have most of the > first phase of it working as desired, but the final hurdle to getting it > actually used is setting up authentication for the users. > > Now, in a perfect world, I would as soon not have authentication turned on, > but the contractor i have doing the work tells me that Nagios will not work > without this. I have a mail machine that all of my users do have accounts > on, and I would like to use it as an NIS master to allow the users to > re-use their existing credentials to access Nagios, and nagvis. > > Has anyone gotten this working? Any tips? We seem to be struggling to get > this working. At present the machine running Nagios will allow users to log > in to it using their NIS credentials, but we are struggling to get Apache > to > understand how to check NIS for this. We have Nagios authenticating through our LDAP, except that the CGI needs to have wildcards in its various redundant authorizations so that anyone in the right LDAP groups who can get through the LDAP isn't then stopped by the guy who forgot to configure Nagios to let it through (human error, restarting nagios as well). Your NIS would be a similar condition: wildcard ACLs in the CGI. Is there compatibility between http://httpd.apache.org/docs/2.2/mod/mod_authn_dbm.html and an NIS Secondary/Slave? An NIS Secondary would have full maps transferred, and I thought those were hashed files as transferred as well. Alternatively, extract the original text maps as .htpasswd/.htgroup files and winch them over to Apache. Yeah, low-tech, not so classy, and you've probably already considered it. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From webknowledge at gmail.com Tue Sep 23 21:42:45 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 23 Sep 2008 16:42:45 -0300 Subject: Monitoring 64-bit and 32-bit servers - plugin path problem In-Reply-To: References: <48D8AB63.9050501@op5.se> Message-ID: <2dfcbd1b0809231242l3a006fcby40e94fddd584e962@mail.gmail.com> I think you missed the point Andreas tried to make. On Tue, Sep 23, 2008 at 5:48 AM, Kenneth Holter wrote: > Actually, I've done this already. The macro, say, X defines the path to be > "/usr/lib64/nagios/plugins". But as far as I can see this does not solve my > problem, as the path on a 32-bit systems is different than the path on a > 64-bit system. > Let's say you have $USER1$ = /path/to/lib32/nagios/plugins, and $USER2$=/path/to/lib64/nagios/plugins, thus, you should define x86_32 commands and x86_64 commands as usual, but using $USER1$ and $USER2$ where pertinent, and then, on every x64 system, you should use the _64 commands. HTH, Marcel > > > On 9/23/08, Andreas Ericsson wrote: >> >> Kenneth Holter wrote: >> >>> Hello all. >>> >>> >>> I've set up Nagios to monitor a few 64-bit machines, and this seems to be >>> working correctly. For example, my command for checking a remote disk is >>> defined like this: >>> >>> >>> define command{ >>> command_name check_remote_disk >>> command_line /somepath/check_by_ssh -C >>> "/usr/lib64/nagios/plugins/check_disk " >>> } >>> >>> This command executes /usr/*lib64*/nagios/plugins/check_disk on the >>> remote >>> system. On 32-bit systems, on the other hand, the path to the plugin is >>> /usr/*lib*/nagios/plugins/check_disk. It thus looks like I have to >>> differentiate between 32-bit and 64-bit commands, and in effect devide >>> the >>> configuration itself in a 32-bit section and 64-bit section. >>> >>> I'm sure there is a neat way of solving this, and could use some advice. >>> I >>> guess I could symlink all over the place to get things going, but there >>> are >>> probably a better way of doing this. >>> >>> >> Modify resource.cfg and use a macro to define the path to the plugins. >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From narendran.neelamegam at wipro.com Wed Sep 24 01:51:43 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Wed, 24 Sep 2008 05:21:43 +0530 Subject: Authntication/NIS In-Reply-To: <20080923171302.GA23836@teddy.fas.com> References: <20080923171302.GA23836@teddy.fas.com> Message-ID: This may help. http://www.math.tu-clausthal.de/~matsa/linux/apache-nis/ Regards, Naren -----Original Message--- -- From: stan [mailto:stanb at panix.com] Sent: Tuesday, September 23, 2008 10:43 PM To: nagios List Subject: [Nagios-users] Authntication/NIS I am trying to get a Nagios installation in production. I have most of the first phase of it working as desired, but the final hurdle to getting it actually used is setting up authentication for the users. Now, in a perfect world, I would as soon not have authentication turned on, but the contractor i have doing the work tells me that Nagios will not work without this. I have a mail machine that all of my users do have accounts on, and I would like to use it as an NIS master to allow the users to re-use their existing credentials to access Nagios, and nagvis. Has anyone gotten this working? Any tips? We seem to be struggling to get this working. At present the machine running Nagios will allow users to log in to it using their NIS credentials, but we are struggling to get Apache to understand how to check NIS for this. Any help would be greatly appreciated. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gavin at openfusion.com.au Wed Sep 24 03:50:09 2008 From: gavin at openfusion.com.au (Gavin Carr) Date: Wed, 24 Sep 2008 11:50:09 +1000 Subject: Monitoring 64-bit and 32-bit servers - plugin path problem In-Reply-To: <2dfcbd1b0809231242l3a006fcby40e94fddd584e962@mail.gmail.com> References: <48D8AB63.9050501@op5.se> <2dfcbd1b0809231242l3a006fcby40e94fddd584e962@mail.gmail.com> Message-ID: <20080924015009.GB26548@openfusion.com.au> On Tue, Sep 23, 2008 at 04:42:45PM -0300, Marcel wrote: > I think you missed the point Andreas tried to make. > > On Tue, Sep 23, 2008 at 5:48 AM, Kenneth Holter wrote: > > > Actually, I've done this already. The macro, say, X defines the path to be > > "/usr/lib64/nagios/plugins". But as far as I can see this does not solve my > > problem, as the path on a 32-bit systems is different than the path on a > > 64-bit system. > > > > Let's say you have $USER1$ = /path/to/lib32/nagios/plugins, and > $USER2$=/path/to/lib64/nagios/plugins, thus, you should define x86_32 > commands and x86_64 commands as usual, but using $USER1$ and $USER2$ where > pertinent, and then, on every x64 system, you should use the _64 commands. Although that's a bit of an ugly solution, as you're having to define every command twice. DRY etc. We've found it easier to just leave the plugin invocations unqualified and add the relevant nagios plugins directory to the $PATH for the remote nagios user. Works nicely here. Cheers, Gavin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From enopac at gmail.com Wed Sep 24 04:15:30 2008 From: enopac at gmail.com (Brouzouf brouz) Date: Tue, 23 Sep 2008 22:15:30 -0400 Subject: Hostgroup / Servicegroup and views (local/global) Message-ID: <1b48ecdd0809231915p6b89afdi6c10a6c7bbc3efdc@mail.gmail.com> Hi All, Let's assume the below situation. I have users in different location...let's say North America (na) and Europe (eu) and I want them to be able to see only the devices belonging to there respective region. This is easily achievable by setting contact information as "na-users" and "eu-users" on a per host basis (contact in hostgroup no longer works...maybe someone know why the feature as been removed?). I also have hostgroups such as "na-webservers" and "eu-webservers" that are subgroups of "global-webservers". If na-users or eu-users authenticate they will only see the groups belonging to there region (with some magic tricks that I believe is "if a contact is in all the host of the hostgroup then displays the group information"; but now I also want some "global-users" to see *only* "global-webservers" since showing the subgroups just make the GUI unreadable (yeah I have lots of groups and subgroups) and show duplicated host status (global-webserver+na-webservers+eu-webservers) since I have to add "global-users" as a contact for all the hosts. Is there anyway to achieve that? I poked around and I think I could create a servicegroup called "global-webservers" and tell the localuser (na-users,eu-users) to check the "hostgroup summary/overview" and globalusers to check "servicegroup summary/overview". But that seems like a hacky/ugly way of achieving my goal. Does anyone knows a way to achieve what I'm trying to do? (basically...what having contacts per hostgroup would have allowed me to do easily....I guess) thank you very much for your help! brouzouf -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Wed Sep 24 06:16:02 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 24 Sep 2008 16:16:02 +1200 Subject: Monitoring VMware Message-ID: <6B587E8C999646469B54486AF219584603F5DCA303@UXCHANGE7-1.UoA.auckland.ac.nz> I have a new plug-in I've developed, check_vmware, which uses the Perl VI API to communicate with the VirtuaLCentre server to obtain the information (rather than with the individual ESX hosts via SNMP, as the check_esx plugins did). This still is in early stages, but we've implemented it here and it has passed all the tests so far. It also has an MRTG mode so that it can be used as an MRTG plug-in. This will currently acquire data for a ESX server, for an server farm, or for an entire datacentre, plus for individual guests. It will query the VirtualCentre alarm status, the CPU and Memory usage, and the Ready time (on guests only). It also tries to pull out the 'fairness' stats on a DRS system but this doesn't work correctly on our system, for some reason. It does not yet retrieve Swap statistics or Ready time averages over ESX hosts or farms. I'm also planning to calculate standard deviation of CPU and memory usage over ESX hosts within a farm (which is an indication of how good your distribution of guests is over the farm) but I'm having performance issues doing this. It requires Level 2 stats to be collected for the 5-min granularity in the virtualcentre. It also requires the VI API Perl modules to be installed (get these from the VMWare site) and the dependent modules (SOAP::Lite) If anyone would like a copy, please email me directly. Note that it should be considered Beta code at best! I'll post it to NagiosExchange once it can be considered stable. Anyone attending LISA08 may be interested in seeing a brief demo of the sort of stats it retrieves at the MRTG BoF session on Wednesday. Steve --- Steve Shipway UNIX Systems Administration, University of Auckland, New Zealand +64 9 3737 599 x 86487 s.shipway at auckland.ac.nz P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ronaldobf at linkway.com.br Wed Sep 24 06:43:33 2008 From: ronaldobf at linkway.com.br (Ronaldo A. Bueno Filho) Date: Wed, 24 Sep 2008 01:43:33 -0300 Subject: ndo2db: Error: mysql_query() failed Message-ID: <8b99dbb7170abca411263915ccd0dd22@189.20.88.24> Did you change everything? I mean, when using TCP socket, eu have to use IP address, etc... Did you correct the ndo files? Also,check the librarys as I told before. Generate the intallation files from the source files and check if there is any missing lib. If yes, install it and run the installation again. Regards, -- Ronaldo A. Bueno Filho --------- Mensagem Original -------- De: Jorge Pe?a Para: Ronaldo A. Bueno Filho ,Morris, Patrick , nagios-users at lists.sourceforge.net Assunto: RE: [Nagios-users] ndo2db: Error: mysql_query() failed Data: 22/09/08 23:21 > > > > > ..hmmessage P > { > margin:0px; > padding:0px > } > body.hmmessage > { > FONT-SIZE: 10pt; > FONT-FAMILY:Tahoma > } > > > > I stoped nagios > I stoped NDO > I edited /usr/local/nagios/etc/ndo2db.cfg and changed the socket to tp >   > I started nagios > I started NDO >   > But now I have the message: >   >   >   >  nagios: ndomod: Still unable to connect to data sink.  0 items lost, 586 queued items to flush.> Date: Tue, 23 Sep 2008 00:32:16 -0300> To: cotarelo2 at hotmail.com; patrick.morris at hp.com; nagios-users at lists.sourceforge.net> From: ronaldobf at linkway.com.br> Subject: Re: [Nagios-users] ndo2db: Error: mysql_query() failed> > > I think I sent an e-mail before showing my solution regarding my own issue> with NDOUtils.> > I noticed that when compiling and generating the installation from the> source files, it was missing some libs. > Try to generate the files and compile it again. Check if you see any lib> statements with "no". > > In my case, I did not have at least 4 libs, including socket and TCP. I> installed it and it worked.> > If you are using socket connection, try to use TCP. Maybe it works.> > Regards,> > --> Ronaldo A. Bueno Filho> > > --------- Mensagem Original --------> De: Jorge Pe?a <cotarelo2 at hotmail.com>> Para: Morris, Patrick <patrick.morris at hp.com>,> nagios-users at lists.sourceforge.net <nagios-users at lists.sourceforge.net>> Assunto: Re: [Nagios-users] ndo2db: Error: mysql_query() failed> Data: 22/09/08 12:37> > > > > > > > > > > ..hmmessage P> > {> > margin:0px;> > padding:0px> > }> > body.hmmessage> > {> > FONT-SIZE: 10pt;> > FONT-FAMILY:Tahoma> > }> > > > > > > > Hello there.I installed again the database structure, it didn't work, I> don't know from where comes the / just before the .cfgFrom:> patrick.morris at hp.comTo: cotarelo2 at hotmail.com;> nagios-users at lists.sourceforge.netDate: Thu, 18 Sep 2008 16:25:51> +0000Subject: RE: [Nagios-users] ndo2db: Error: mysql_query() failed> > > > > > > > > > > > > > > > > > ..ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal,> .ExternalClass div.EC_MsoNormal> > {margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New> Roman','serif';}> > ..ExternalClass p.EC_MsoSubtitle, .ExternalClass li.EC_MsoSubtitle,> .ExternalClass div.EC_MsoSubtitle> >> {margin-bottom:.0001pt;font-size:12.0pt;font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;}> > ..ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink> > {color:blue;text-decoration:underline;}> > ..ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed> > {color:purple;text-decoration:underline;}> > ..ExternalClass p> > {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New> Roman','serif';}> > ..ExternalClass p.EC_MsoListParagraph, .ExternalClass> li.EC_MsoListParagraph, .ExternalClass div.EC_MsoListParagraph> >> {margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times> New Roman','serif';}> > ..ExternalClass span.EC_EmailStyle18> > {font-family:'Calibri','sans-serif';color:#1F497D;}> > ..ExternalClass span.EC_SubtitleChar> >> {font-family:'Cambria','serif';color:#4F81BD;letter-spacing:.75pt;font-style:italic;}> > ..ExternalClass .EC_MsoChpDefault> > {font-size:10.0pt;}> > @page Section1> > {size:8.5in 11.0in;}> > ..ExternalClass div.EC_Section1> > {page:Section1;}> > ..ExternalClass ol> > {margin-bottom:0in;}> > ..ExternalClass ul> > {margin-bottom:0in;}> > > > > > > > > > > > > > > > > > > > > > > > Hi list,> > > > After solving my last problem with NDOutils now everytime I restart Nagios> I> > have this nice messages in /var/log/syslog> > > > > > Sep 18 15:38:01 test2 ndo2db: Error: mysql_query() failed for 'INSERT INTO> > nagios_configfilevariables SET instance_id='1', configfile_id='83',> > varname='cfg_file',> varvalue='/usr/local/nagios/etc/objects/contacts..cfg''> > [snip]> > > > > > I don't like it. How can I restart again the database to don't have it or> > remove this query?> > > > Several things can cause this. The most likely would be that> > either you did not set up your databases using the correct schema for the> > version of ndoutils you are using, or that your nagios_configfilevariables> > table has been corrupted.> > > > > > > > > > > > > > > > > > ?Tr?nchate de risa con los mejores cap?tulos de South Park en MSN V?deo!> > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------> > This SF.Net email is sponsored by the Moblin Your Move Developer's> challenge> > Build the coolest Linux based applications with Moblin SDK &amp; win great> prizes> > Grand prize is a trip for two to an Open Source event anywhere in the> world> > http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/> > > > > > > > > > > > > > > > > > _______________________________________________> > Nagios-users mailing list> > Nagios-users at 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> > > > > > > > --> Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus.> Ahora ll?vate lo mejor de MSN y Windows Live, en tu m?vil > > > -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Sep 24 10:12:04 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Sep 2008 10:12:04 +0200 Subject: [ANNOUNCE] nagios git repository/patch queue Message-ID: <48D9F654.1010904@op5.se> Hi all. Sorry for cross-posting, but I figured this might be of interest to a wider audience of the community. Having spoken to Hendrik Baecker at the Netways conference this year, I've come to realize that there is possibly a need for more distributed efforts regarding the Nagios core, and especially how patches to it are managed. I approached Ethan with some suggestions, and the result is that I will maintain a patch queue for him to review/apply when he has time. This patch queue will be stored as a git repository located at http://www.op5.org. To clone this repository using git (http://www.git-scm.org) use git://www.op5.org/git/nagios.git as the URL. The gitweb url is http://www.op5.org/git/nagios.git The patch queue also contains a full import of the Nagios CVS repository, so those who prefer using git over CVS, go right ahead and check out the un-modified "master" branch. Note that snapshots are not yet provided, although you can get them from the gitweb page by clicking the "snapshot" link. I want to make it absolutely clear that Ethan still has the final call on bugfixes and feature suggestions. I'm merely helping out so that important patches aren't accidentally dropped when he locks himself up to work on new user interfaces, features, etc, etc. That also means that if your patch makes it into the patch queue (ie, it passes the first round of review), that is by no means a guarantee for inclusion into Nagios itself. Trivial and obviously correct bugfixes will almost certainly be included, while features are a little less certain. Like I said, Ethan and the community owns the Nagios code, so the decision is ultimately up to him. If you are curious about who I am; keep reading. Otherwise you can save a few minutes by stopping right here. Who the hell are you, Mr "handles a patch queue"? I'm a member of the Nagios Community Advisory Board, and I've been reviewing patches on nagios-devel for quite some years. Getting a public repository to put them in will simply make it easier for me to stash the post-review patches off to Ethan. I work as a software designer/engineer at op5, a sweden-based company doing business packaging Nagios as an appliance and selling support contracts to corporations of all sizes. I've been working with op5 5 years and hacking Nagios pretty much all of that time. I'm also an avid git fan(atic) (Hi Ton!) and contributor. As a part of my job, I also spend a lot of time on the various Nagios mailing lists, where I'm sometimes considered "forthright, verging on blunt" by those who want to be kind to me. I also have a blog which I primarily use as a scratchpad for random musings on software development in general and Nagios in particular. The blog can be found at http://blogs.op5.org -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ From adambrooke at hotmail.com Wed Sep 24 15:48:00 2008 From: adambrooke at hotmail.com (adam brooke) Date: Wed, 24 Sep 2008 13:48:00 +0000 Subject: OS & Application version information Message-ID: Is is possible to use Nagios to audit server OS and Apllication release versions? If so are there plugins already written for this purpose? Kind Regards, John _________________________________________________________________ Win New York holidays with Kellogg?s & Live Search http://clk.atdmt.com/UKM/go/111354033/direct/01/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lavalamp at spiritual-machines.org Wed Sep 24 16:07:16 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 24 Sep 2008 10:07:16 -0400 (EDT) Subject: OS & Application version information In-Reply-To: References: Message-ID: <20080924100505.A37020@arbitor.digitalfreaks.org> Yea check_snmp against SNMPv2-MIB::sysDescr.0 (equiv to $ uname -a) command_name check_snmpagent command_line $USER1$/check_snmp -H $HOSTNAME$ -o SNMPv2-MIB::sysDescr.0 -C $ARG1$ } On Wed, 24 Sep 2008, adam brooke wrote: > > Is is possible to use Nagios to audit server OS and Apllication release versions? > > If so are there plugins already written for this purpose? > > Kind Regards, > > John > _________________________________________________________________ > Win New York holidays with Kellogg?s & Live Search > http://clk.atdmt.com/UKM/go/111354033/direct/01/ > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sd at kaavo.com Wed Sep 24 16:03:57 2008 From: sd at kaavo.com (Subhasis Dasgupta) Date: Wed, 24 Sep 2008 19:33:57 +0530 Subject: NRPE Static Compilation Proble Message-ID: <004301c91e4e$66220e00$32662a00$@com> Hi, I am trying to figure out how to create a static build for nrpe classes , my requirement is I have to build a static build of NRPE from it source so that I will just untar at remote machine and I don't need to compile it. Now , I am doing the following steps. . I am configuring the using ./configure . Then I am editing at the Makefile which is in the src folder => I am editing the LDFLAGS like "LDFLAGS= -L/root/nrpe-2.8/libSSL/lib/libssl.a /root/nrpe-2.8/libSSL/lib/libcrypto.a -ldl -lssl -lcrypto " . Then compiling normally . Now the nrpe file I have some dependencies , if I run ldd nrpe The result is : linux-gate.so.1 => (0xbfffe000) libdl.so.2 => /lib/libdl.so.2 (0x4b972000) libssl.so.5 => /lib/libssl.so.5 (0x4bc4a000) libcrypto.so.5 => /lib/libcrypto.so.5 (0x4bb15000) libnsl.so.1 => /lib/libnsl.so.1 (0x4b9f7000) libwrap.so.0 => /usr/lib/libwrap.so.0 (0xb7f2a000) libc.so.6 => /lib/libc.so.6 (0x4b847000) /lib/ld-linux.so.2 (0x4b829000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x4bc89000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x4bca3000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x4ba23000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x4bc24000) libresolv.so.2 => /lib/libresolv.so.2 (0x4ba0e000) libz.so.1 => /usr/lib/libz.so.1 (0x4b9e2000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x4bc84000) . It seems like some dependencies are there I want to pack all this dependencies with my nrpe build , how could I solve that Kindly give me some idea . Thank you for your time Subhasis Dasgupta Kaavo ****************************** Privileged and Confidential Cmmunication**************************************************************** ************************************** The information contained in this e-mail message may involve confidential and/or privileged material that is solely transmitted for the purposes of the intended recipient(s). If the reader of this message is not an intended recipient, or if this message has been inadvertently directed to your attention, you are hereby notified that you have received this message and any attached document(s) in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by return e-mail and delete and destroy all copies of the original message. **************************************************************************** **************************************************************************** ******************* No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.7.1/1687 - Release Date: 9/23/2008 6:32 PM -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Todd.Seidenberg at maxim-ic.com Wed Sep 24 16:33:21 2008 From: Todd.Seidenberg at maxim-ic.com (Todd Seidenberg) Date: Wed, 24 Sep 2008 09:33:21 -0500 Subject: Help with Critical notification Message-ID: <4EEC06819F5FB1428D05B2E3E1CC2B3D2EA5F80982@ITDALEX06.it.maxim-ic.internal> Folks, I'm getting the message below, but I don't think I should be getting it: -------------------------------- ***** Nagios ***** Notification Type: PROBLEM Service: sshd Host: myhost - Netapp Address: 11.x.x.x State: CRITICAL Date/Time: Wed Sept 24 06:57:29 MDT 2008 Additional Info: Connection refused The reason I don't believe I should be getting it is because I've removed the hostgroup that myhost belongs to from the service definition. I've restarted nagios, yet I still get this message. (I determined that this machine could never run ssh in its current state, so I removed it from that service.) Any reasons why this would be happening? I have a few other issues that have been resolved, from my perspective, yet nagios still wants to warn me about it. Thoughts? - Thanks, Todd -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Wed Sep 24 18:24:00 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 24 Sep 2008 17:24:00 +0100 Subject: Help with Critical notification In-Reply-To: <4EEC06819F5FB1428D05B2E3E1CC2B3D2EA5F80982@ITDALEX06.it.maxim-ic.internal> References: <4EEC06819F5FB1428D05B2E3E1CC2B3D2EA5F80982@ITDALEX06.it.maxim-ic.internal> Message-ID: <200809241724.00594.assaf.flatto@ssp.uk.com> Have you defined servicegroups ? this service might still be in the service group definition and trying to test the server . do you have a service check or group definitions with * in the hostname ? Assaf On Wednesday 24 September 2008 15:33:21 Todd Seidenberg wrote: > Folks, > > > I'm getting the message below, but I don't think I should be getting it: > > -------------------------------- > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: sshd > Host: myhost - Netapp > Address: 11.x.x.x > State: CRITICAL > > Date/Time: Wed Sept 24 06:57:29 MDT 2008 > > Additional Info: > > Connection refused > > The reason I don't believe I should be getting it is because I've removed > the hostgroup that myhost belongs to from the service definition. I've > restarted nagios, yet I still get this message. (I determined that this > machine could never run ssh in its current state, so I removed it from that > service.) > > Any reasons why this would be happening? I have a few other issues that > have been resolved, from my perspective, yet nagios still wants to warn me > about it. > > > Thoughts? > > - Thanks, > > > Todd -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Wed Sep 24 17:48:53 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 24 Sep 2008 15:48:53 +0000 Subject: Help with Critical notification In-Reply-To: <4EEC06819F5FB1428D05B2E3E1CC2B3D2EA5F80982@ITDALEX06.it.maxim-ic.internal> References: <4EEC06819F5FB1428D05B2E3E1CC2B3D2EA5F80982@ITDALEX06.it.maxim-ic.internal> Message-ID: I'm getting the message below, but I don't think I should be getting it: -------------------------------- ***** Nagios ***** Notification Type: PROBLEM Service: sshd Host: myhost - Netapp Address: 11.x.x.x State: CRITICAL Date/Time: Wed Sept 24 06:57:29 MDT 2008 Additional Info: Connection refused The reason I don't believe I should be getting it is because I've removed the hostgroup that myhost belongs to from the service definition. I've restarted nagios, yet I still get this message. (I determined that this machine could never run ssh in its current state, so I removed it from that service.) Any reasons why this would be happening? I have a few other issues that have been resolved, from my perspective, yet nagios still wants to warn me about it. Either you haven't really removed the check, or you have a copy of Nagios running on the old config. Shut down Nagios, check the process list to make sure it's really stopped, and restart it. If it still alerts after that, you need to double-check your configs. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 24 18:19:39 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 24 Sep 2008 17:19:39 +0100 Subject: Nagvis alternatives In-Reply-To: References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <4b008f7d0809040058k1b20ef9doc0fa1e139803cd2d@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> <20080905104835.75526314@tclmmw.in.tiger-computing.com> <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> <20080905111310.0c2ad3c6@tclmmw.in.tiger-computing.com> <4b008f7d0809050318m4cce49d6pc1b7226247bca10c@mail.gmail.com> <20080905112209.5e83b5c4@tclmmw.in.tiger-computing.com> <4b008f7d0809050323q29bcbe44w250c5c6c55a8424a@mail.gmail.com> Message-ID: <4b008f7d0809240919u70f0842cvfba1cbf8d6c17416@mail.gmail.com> Hi Israel, Where is the direct download link for nexsm? Lex On Fri, Sep 5, 2008 at 5:14 PM, Israel Brewster wrote: > On Sep 5, 2008, at 2:23 AM, Alex Dehaini wrote: > > Thanks matthew, > > Does nexsm display the change on the map when a device goes down? Are there > any screen shots I can view? > > > Yes, nexsm shows a live view of the status of your devices, sing > different colored backgrounds to indicate device/service status. There are a > couple of screen shots available at > http://www.nagiosexchange.org/cgi-bin/jump.cgi?ID=2137&view=File1;d=1 and > http://www.nagiosexchange.org/cgi-bin/jump.cgi?ID=2137&view=File2;d=1 In > the first one, the ssh host in the lan group has a problem - note the red > text and background. When I was using it, I had all the host icons be > 1-pixel dots, with a significantly larger dot as a background image, so > basically all you saw for each host was a red (critical) yellow > (warning/unreachable/etc) or green (OK) dot. For our purposes, I found this > approach made more sense than trying to fit a bunch of large icons onto the > screen. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > Lex > > On Fri, Sep 5, 2008 at 10:22 AM, Matthew Macdonald-Wallace < > lists at truthisfreedom.org.uk> wrote: > >> On Fri, 5 Sep 2008 10:18:19 +0000 >> "Alex Dehaini" wrote: >> >> > Basically the mapping feature - nagios does the rest, I am happy with >> > nagios but nagios maps arecrap. Nagvis allows you to display hosts >> > and services graphically. >> >> OK, cool. >> >> In that case, I believe that your best bet at the moment is Nexsm as >> previously discussed, however if I find anything else, I'll post it >> here! >> >> Cheers, >> >> M. >> -- >> Matthew Macdonald-Wallace >> matthew at truthisfreedom.org.uk >> http://www.truthisfreedom.org.uk >> > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexdehaini at gmail.com Wed Sep 24 18:40:36 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 24 Sep 2008 17:40:36 +0100 Subject: Nagvis alternatives In-Reply-To: <4b008f7d0809240919u70f0842cvfba1cbf8d6c17416@mail.gmail.com> References: <4b008f7d0809020934g171dd6fci2cadefc80da167ef@mail.gmail.com> <4b008f7d0809050223o25dd38aic293fd3ffdfe1f48@mail.gmail.com> <20080905104835.75526314@tclmmw.in.tiger-computing.com> <4b008f7d0809050254i79a6f65ev333f4c1f9c71a1c5@mail.gmail.com> <20080905111310.0c2ad3c6@tclmmw.in.tiger-computing.com> <4b008f7d0809050318m4cce49d6pc1b7226247bca10c@mail.gmail.com> <20080905112209.5e83b5c4@tclmmw.in.tiger-computing.com> <4b008f7d0809050323q29bcbe44w250c5c6c55a8424a@mail.gmail.com> <4b008f7d0809240919u70f0842cvfba1cbf8d6c17416@mail.gmail.com> Message-ID: <4b008f7d0809240940y1133ec3ew5f12c83ecdb364c6@mail.gmail.com> got it, nevermind On Wed, Sep 24, 2008 at 5:19 PM, Alex Dehaini wrote: > Hi Israel, > > Where is the direct download link for nexsm? > > Lex > > > On Fri, Sep 5, 2008 at 5:14 PM, Israel Brewster > wrote: > >> On Sep 5, 2008, at 2:23 AM, Alex Dehaini wrote: >> >> Thanks matthew, >> >> Does nexsm display the change on the map when a device goes down? Are >> there any screen shots I can view? >> >> >> Yes, nexsm shows a live view of the status of your devices, sing >> different colored backgrounds to indicate device/service status. There are a >> couple of screen shots available at >> http://www.nagiosexchange.org/cgi-bin/jump.cgi?ID=2137&view=File1;d=1and >> http://www.nagiosexchange.org/cgi-bin/jump.cgi?ID=2137&view=File2;d=1 In >> the first one, the ssh host in the lan group has a problem - note the red >> text and background. When I was using it, I had all the host icons be >> 1-pixel dots, with a significantly larger dot as a background image, so >> basically all you saw for each host was a red (critical) yellow >> (warning/unreachable/etc) or green (OK) dot. For our purposes, I found this >> approach made more sense than trying to fit a bunch of large icons onto the >> screen. >> >> ----------------------------------------------- >> Israel Brewster >> Computer Support Technician >> Frontier Flying Service Inc. >> 5245 Airport Industrial Rd >> Fairbanks, AK 99709 >> (907) 450-7250 x293 >> ----------------------------------------------- >> >> >> >> Lex >> >> On Fri, Sep 5, 2008 at 10:22 AM, Matthew Macdonald-Wallace < >> lists at truthisfreedom.org.uk> wrote: >> >>> On Fri, 5 Sep 2008 10:18:19 +0000 >>> "Alex Dehaini" wrote: >>> >>> > Basically the mapping feature - nagios does the rest, I am happy with >>> > nagios but nagios maps arecrap. Nagvis allows you to display hosts >>> > and services graphically. >>> >>> OK, cool. >>> >>> In that case, I believe that your best bet at the moment is Nexsm as >>> previously discussed, however if I find anything else, I'll post it >>> here! >>> >>> Cheers, >>> >>> M. >>> -- >>> Matthew Macdonald-Wallace >>> matthew at truthisfreedom.org.uk >>> http://www.truthisfreedom.org.uk >>> >> >> >> >> -- >> Alex Dehaini >> Developer >> Site - www.alexdehaini.com >> Email - alexdehaini at gmail.com >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> >> >> > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cranfill at imageworks.com Wed Sep 24 19:33:37 2008 From: cranfill at imageworks.com (Jennifer Cranfill) Date: Wed, 24 Sep 2008 10:33:37 -0700 Subject: Is there a way to set an individual service check timeout? Message-ID: <48DA79F1.1030002@imageworks.com> The only setting for service check timeout that I see is the global service_check_timeout setting. Is there a setting that can be applied per command or per service check? I have some long running service checks, but they are anomalies and I would rather get timeouts for other services earlier than change the setting for all services. Thank you very much. -- Jennifer Cranfill ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fvanhee at gmail.com Wed Sep 24 20:11:45 2008 From: fvanhee at gmail.com (Frederik Vanhee) Date: Wed, 24 Sep 2008 20:11:45 +0200 Subject: nagios with ndo crashed after a week In-Reply-To: <537dcd6b0809230117s24b58da0q1cdfff834be861e8@mail.gmail.com> References: <537dcd6b0809230117s24b58da0q1cdfff834be861e8@mail.gmail.com> Message-ID: <48DA82E1.3030702@gmail.com> Heiko wrote: > Hello, > > i enabled ndomod last week to have some data do play with. > Today nagios sudenly stopped checking and also a nagios restart and kill didnt > bring it up again. > > I had this incident some months ago when first played with ndo. > > What is causing this behaevior and how can I prevent this? > It is really critical when nagios doesnt check, we have a fallback > nagios, but causes some confusion with my colleages. > > greetings > > > Rupertt > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > Rupertt, I don't know how big your installation is, but if you have thousands of services or a distributed setup with passive checks and just enable ndo with the defaults, your ndo-database becomes very, very big. This can cause a slowdown of your db-server. And Nagios slows down too, because of the latency in sending the results to the DB. -Check the database size of the ndo-db -Check your Nagios service check latency, high service check latency COULD be caused by slowly responding DB -Check nagios.log and mysql.log to see if there are any errors -Don't always think Nagios doesn't come up again. If your ndo is not performing as it should, it takes a long time for Nagios to startup and recreate a status.dat-file which is used by the cgi's. I've had a case were it took up to 5 minutes before the status.dat was created after a Nagios startup, because of the ndo -Make sure you have the latest ndo-version Good luck, Frederik ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fvanhee at gmail.com Wed Sep 24 20:19:48 2008 From: fvanhee at gmail.com (Frederik Vanhee) Date: Wed, 24 Sep 2008 20:19:48 +0200 Subject: Nagios 3 distributed monitoring and NSCA In-Reply-To: <75B0FBFD-06A6-4332-920B-8A0DB8A53160@ena.com> References: <04F3233F47E2714CB7431AE913E57E7702EB1949@IAD-WPRD-XCHB02.corp.verio.net> <75B0FBFD-06A6-4332-920B-8A0DB8A53160@ena.com> Message-ID: <48DA84C4.7020508@gmail.com> Marc Powell wrote: > On Sep 10, 2008, at 2:45 PM, Jonathan Call wrote: > > >> In Nagios 2.x Nagios the Obessive Compulsive Service Processor >> (OCSP) is >> not very robust. Even with a few hundred service checks the OCSP stuff >> on the distributed servers bogs down and does not send anything out. >> This forced people like me to use tools like OCP_daemon. >> > > I have to disagree with this as a general statement. I've used Nagios > 2.x (currenlty .9), sending/receiving thousands of passive results > every 5 minutes successfully for years. My 'largest' data collector > (not dedicated to nagios) has all checks completed, or in progress, in > the 5 minute interval -- > > Total Services: 2198 > Services Checked: 2198 > Services Scheduled: 2198 > Active Service Checks: 2198 > Passive Service Checks: 0 > Total Service State Change: 0.000 / 6.250 / 0.011 % > Active Service Latency: 38.626 / 68.765 / 59.834 sec > Active Service Execution Time: 0.064 / 60.015 / 0.679 sec > Active Service State Change: 0.000 / 6.250 / 0.011 % > Active Services Last 1/5/15/60 min: 377 / 1804 / 2198 / 2198 > Passive Service State Change: 0.000 / 0.000 / 0.000 % > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Services Ok/Warn/Unk/Crit: 2189 / 0 / 0 / 9 > Services Flapping: 0 > Services In Downtime: 0 > > One of my central receivers (2.9) -- > > Total Services: 6137 > Services Checked: 6136 > Services Scheduled: 26 > Active Service Checks: 28 > Passive Service Checks: 6109 > Total Service State Change: 0.000 / 17.960 / 0.034 % > Active Service Latency: 0.000 / 4.686 / 0.346 sec > Active Service Execution Time: 0.000 / 2.529 / 0.444 sec > Active Service State Change: 0.000 / 11.970 / 0.428 % > Active Services Last 1/5/15/60 min: 3 / 3 / 26 / 26 > Passive Service State Change: 0.000 / 17.960 / 0.033 % > Passive Services Last 1/5/15/60 min: 1104 / 5680 / 6107 / 6107 > Services Ok/Warn/Unk/Crit: 6107 / 1 / 0 / 29 > Services Flapping: 0 > Services In Downtime: 0 > > One of my central receivers is still running nagios-1.3, with a > database backend, and even it can keep up -- > > Passive Checks: > > Time Frame Checks Completed > <= 1 minute: 628 (10.3%) > <= 5 minutes: 5191 (85.0%) > <= 15 minutes: 6105 (100.0%) > <= 1 hour: 6105 (100.0%) > Since program start: 6108 (100.0%) > > >> Has the OCSP infrastructure improved in Nagios 3? I need it to be >> robust >> enough to handle ~2500 service checks. >> > > I'm doing nearly that now with nagios-2.9. > > -- > Marc > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > I can agree with Mark, I use OCSP in a distributed setup with 8000 passive services. This worked fine on Nagios 1.x, 2.x and 3.0.3 Frederik ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mizuki0621 at gmail.com Wed Sep 24 21:25:40 2008 From: mizuki0621 at gmail.com (mizuki) Date: Wed, 24 Sep 2008 15:25:40 -0400 Subject: service dependency in nagios 3.x Message-ID: Hi, Have anybody successfully used the new feature "Predictive Dependency Checks". >From my understanding, when nagios detects a Host/Service down/critical status, it does an actual check of parents Host/Service instead of using a "cached" status in previous version and decided whether or not a notification should be sent out. This is the most feature and reason I am testing right now to upgrade from 2.x -> 3.0, however I found it is not working for me. I've read the documentation carefully and got things configured as below: --- In nagios.cfg ------ cfg_file=/etc/nagios/objects/host_dependency.cfg cached_host_check_horizon=0 cached_service_check_horizon=0 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 -------------------------- --- In host_dependency.cfg ------------- define hostdependency{ host_name parent_host_A dependent_host_name child_host_B notification_failure_criteria d,u } ------------------------------------------ I expected when child_host_B is down, it checks parent_host_A's host state for real, if it's DOWN, nagios won't send notification for child_host_B down. But now, It seems to me, it still looks for cached status for parent_host_A (instead of doing an actual check). For instance, even the parent is down, as far as the cached state is UP, it will send notification of child_host_B. Any ideas how to get this work? Thanks. Mizuki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Sep 24 23:05:39 2008 From: marc at ena.com (Marc Powell) Date: Wed, 24 Sep 2008 16:05:39 -0500 Subject: Is there a way to set an individual service check timeout? In-Reply-To: <48DA79F1.1030002@imageworks.com> References: <48DA79F1.1030002@imageworks.com> Message-ID: On Sep 24, 2008, at 12:33 PM, Jennifer Cranfill wrote: > The only setting for service check timeout that I see is the global > service_check_timeout setting. Is there a setting that can be applied > per command or per service check? All standard plugins support a timeout parameter, typically '-t ' that you can pass in the command definition. Run '/path/to/ plugin --help' to see if it's supported and usage. It could also be passed from a service definition as a $ARGx$ macro. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Thu Sep 25 01:51:32 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 24 Sep 2008 18:51:32 -0500 Subject: intermittent CGI failure References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 15 Sep 2008 12:29:55 -0400 (EDT), nagios at donsbox.com wrote: >Installed 3.0.3 from source on OpenBSD 4.3 (sparc64). Everything works, >but every so often the CGI's will fail. > >e.g. If I refresh, say, status.cgi?host=all 10 times in a row, it'll fail >at least once or twice. > >I can reproduce using both Apache and nginx. > >Here's Apache error log snippet: "Premature end of script headers: >/var/www/nagios/cgi-bin/status.cgi" > >Here's nginx error log snippet: "upstream closed prematurely FastCGI >stdout while reading response header from upstream" > >Familiar issue to anyone? Next steps to debug? I keep noticing this every now and again. I usually have the tactical overview page open on a third monitor, and Firefox often throws a "cannot connect" message. I'm assuming this is probably the same thing, just on a different page. I've yet to go through my logs to confirm though. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkja0nEACgkQK4PoFPj9H3OjUwCfcBksbVvOKvxABwZwFja88cx/ HvgAnRitlaACnF64CrK8Ma3X03a1YTHC =b8GX -----END PGP SIGNATURE----- -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Thu Sep 25 01:58:41 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 24 Sep 2008 18:58:41 -0500 Subject: Is there a way to set an individual service check timeout? References: <48DA79F1.1030002@imageworks.com> Message-ID: <8okld45jr04ldpgc5bslc44on3ne88mjhk@4ax.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 24 Sep 2008 16:05:39 -0500, Marc Powell wrote: > >On Sep 24, 2008, at 12:33 PM, Jennifer Cranfill wrote: > >> The only setting for service check timeout that I see is the global >> service_check_timeout setting. Is there a setting that can be applied >> per command or per service check? >All standard plugins support a timeout parameter, typically '-t >' that you can pass in the command definition. Run '/path/to/ >plugin --help' to see if it's supported and usage. It could also be >passed from a service definition as a $ARGx$ macro. I think you missed the request. nagios.cfg has a config option, 2 actually, service_check_timeout and host_check_timeout. They're independent of the -t option that most plugins support. It's the "end of life" for the plugin, nagios uses it to kill a plugin. The -t option allows the plugin to report a failed state if the response doesn't come back within a certain time. The service_check_timeout allows nagios to report when a plugin hasn't responded within a certain time. >From what I can tell, it cannot be customized per plugin. However, if you set it high enough to cover all the plugins, and then set sane values for the -t option for the plugins you should be okay. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkja0+cACgkQK4PoFPj9H3NzjACgnMR9fTwb28dYEFUYL+LeIJKJ X4QAoMAFEPu5PGJp5YlDEG1YZwT5GtuD =zgR8 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Thu Sep 25 02:09:09 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 24 Sep 2008 19:09:09 -0500 Subject: Alerts delayed for critical services References: <63C821463F23D1418E680D8A6C2767329558BB@server2.RKON.COM> <48D882B5.6010301@vanderkooij.org> <63C821463F23D1418E680D8A6C276732955907@server2.RKON.COM> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 23 Sep 2008 09:29:09 -0500, "Serafin, Chris" wrote: >The comments are actually from the default Nagios config file and not what I am intending to do. Sorry I should have clarified. I basically want to get alerts ASAP. Thanks. Hugo has you on the right directions. Assuming you left the times set the default in the nagios.cfg, your check times every 3 minutes (normal_check_interval), and you expect 3 failures (max_check_attempts). After the first failure, it'll check every minute (retry_check_interval). If you want to get alerts as soon as a service fails, reduce max_check_attempts, and normal_check_interval. However, you'll need to expect false alerts. So reduce normal_check_interval to 1 so it tests every minute, and leave max_check_attempts at three, then after 3 minutes of failures, you'll get alerted. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkja1oAACgkQK4PoFPj9H3NtfwCeICOTQQYfMoJ6xqAOvCZ7Q6vt +PQAn1qG2vXVAYDj4iTs3uIlxYM6WKfF =Isav -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From webknowledge at gmail.com Thu Sep 25 02:16:26 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 24 Sep 2008 21:16:26 -0300 Subject: Monitoring 64-bit and 32-bit servers - plugin path problem In-Reply-To: <20080924015009.GB26548@openfusion.com.au> References: <48D8AB63.9050501@op5.se> <2dfcbd1b0809231242l3a006fcby40e94fddd584e962@mail.gmail.com> <20080924015009.GB26548@openfusion.com.au> Message-ID: <2dfcbd1b0809241716g6cc9cd93wf62dea25ac799516@mail.gmail.com> On Tue, Sep 23, 2008 at 10:50 PM, Gavin Carr wrote: > On Tue, Sep 23, 2008 at 04:42:45PM -0300, Marcel wrote: > > I think you missed the point Andreas tried to make. > > > > On Tue, Sep 23, 2008 at 5:48 AM, Kenneth Holter >wrote: > > > > > Actually, I've done this already. The macro, say, X defines the path to > be > > > "/usr/lib64/nagios/plugins". But as far as I can see this does not > solve my > > > problem, as the path on a 32-bit systems is different than the path on > a > > > 64-bit system. > > > > > > > Let's say you have $USER1$ = /path/to/lib32/nagios/plugins, and > > $USER2$=/path/to/lib64/nagios/plugins, thus, you should define x86_32 > > commands and x86_64 commands as usual, but using $USER1$ and $USER2$ > where > > pertinent, and then, on every x64 system, you should use the _64 > commands. > > Although that's a bit of an ugly solution, as you're having to define every > command twice. DRY etc. > > We've found it easier to just leave the plugin invocations unqualified and > add > the relevant nagios plugins directory to the $PATH for the remote nagios > user. > Works nicely here. > Well, I was just pointing out the previous thoughts line of reason. At my environment, I do not care if the system is 64 or 32 bits anyway. I've pre-compiled plugins that is deployed at the very same location within /path/to/nagios/libexec, so if it's a 64bit arch, then we deploy that kind of plugins and the same goes to 32bits archs. So, no resource.cfg macro definitions needed to address this kind of situation. Cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From throck at gmail.com Thu Sep 25 04:29:44 2008 From: throck at gmail.com (Tom Throckmorton) Date: Wed, 24 Sep 2008 22:29:44 -0400 Subject: Monitoring 64-bit and 32-bit servers - plugin path problem In-Reply-To: References: Message-ID: <20080925022942.GA10032@gmail.com> On Sep 23 08:18, Kenneth Holter wrote: > Hello all. > > > I've set up Nagios to monitor a few 64-bit machines, and this seems to be > working correctly. For example, my command for checking a remote disk is > defined like this: > > > define command{ > command_name check_remote_disk > command_line /somepath/check_by_ssh -C > "/usr/lib64/nagios/plugins/check_disk " > } > > This command executes /usr/*lib64*/nagios/plugins/check_disk on the remote > system. On 32-bit systems, on the other hand, the path to the plugin is > /usr/*lib*/nagios/plugins/check_disk. It thus looks like I have to > differentiate between 32-bit and 64-bit commands, and in effect devide the > configuration itself in a 32-bit section and 64-bit section. > > I'm sure there is a neat way of solving this, and could use some advice. I > guess I could symlink all over the place to get things going, but there are > probably a better way of doing this. Kenneth, Here are two more ideas for you: 1) You could add some test logic into your command def, like so: $USER1$/check_by_ssh -C "if [ -e /usr/lib64/nagios/plugins/ ] ; then /usr/lib64/nagios/plugins/check_disk ; else /usr/lib/nagios/plugins/check_disk ; fi" Rather ugly, but I think that would do what you want. 2) configure the remote ssh client to know it's local path to the plugins; you could do this either in the public key, by using something like 'environment="NAGIOSPATH=/usr/lib64/plugins' after your command and host restrictions (you _are_ using command and host restrictions in your public keys, right? ;-), or in ~/.ssh/environment on the remote host. Note that to use either of those, you'd need to set PermitUserEnvironment=yes in your sshd_config - see sshd(8) and sshd_config(5). Once that's set, you should be able to run: $USER1$/check_by_ssh -C "\$NAGIOSPATH\/check_disk " ...which would also get you there, I think. Couple of disclaimers... - allowing user environments to be set via sshd can be a security risk - I've only tried this from the command line; you'll likely need to do some interesting escaping to get it to work correctly. Also, Gavin Carr wrote: > We've found it easier to just leave the plugin invocations unqualified and > add the relevant nagios plugins directory to the $PATH for the remote nagios > user. Works nicely here. +1 on that one, too - simple is good. Cheers, -tt -- Tom Throckmorton ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Sep 25 06:55:10 2008 From: marc at ena.com (Marc Powell) Date: Wed, 24 Sep 2008 23:55:10 -0500 Subject: Is there a way to set an individual service check timeout? In-Reply-To: <8okld45jr04ldpgc5bslc44on3ne88mjhk@4ax.com> References: <48DA79F1.1030002@imageworks.com> <8okld45jr04ldpgc5bslc44on3ne88mjhk@4ax.com> Message-ID: On Sep 24, 2008, at 6:58 PM, Jon Angliss wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, 24 Sep 2008 16:05:39 -0500, Marc Powell wrote: > >> >> On Sep 24, 2008, at 12:33 PM, Jennifer Cranfill wrote: >> >>> The only setting for service check timeout that I see is the global >>> service_check_timeout setting. Is there a setting that can be >>> applied >>> per command or per service check? > >> All standard plugins support a timeout parameter, typically '-t >> ' that you can pass in the command definition. Run '/path/ >> to/ >> plugin --help' to see if it's supported and usage. It could also be >> passed from a service definition as a $ARGx$ macro. > > I think you missed the request. I don't think I did but in any event, the answer is still the same. Use the timeout option for each plugin. Both facilities will return a CRITICAL state indicating that there was a timeout error. Which program reported the error, the plugin or nagios, doesn't really seem pertinent. > From what I can tell, it cannot be customized per plugin. However, if > you set it high enough to cover all the plugins, and then set sane > values for the -t option for the plugins you should be okay. Correct, there is only one if-all-else-fails timeout for all services but when using timeout values per plugin, it should never get there unless something really bad went wrong with the plugin. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Thu Sep 25 08:48:55 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 25 Sep 2008 12:18:55 +0530 Subject: how to monitor databases on windows through nagios` In-Reply-To: <88ad29240809201249t24335a11jc79aa40c7c490db3@mail.gmail.com> References: <25251aec0809180625t3407e4fat400197d06b990c66@mail.gmail.com> <88ad29240809201249t24335a11jc79aa40c7c490db3@mail.gmail.com> Message-ID: <25251aec0809242348x19de7c1ey5af00342f7adc5c5@mail.gmail.com> Hi All, Thank you for your time. I'm still confused as to how we can monitor oracle database on windows box from Nagios Server? .check_nt does not seem to be much help with regards to the oracle database as there are no oracle parameters defined in check_nt plugin (./check_nt -h) using check_nt i did the following and they are working fine, ./check_nt -H 172.16.17.142 -p 12489 -v USEDDISKSPACE -l E -w 80 -c 90 E:\ - total: 117.20 Gb - used: 107.59 Gb (92%) - free 9.61 Gb (8%) | 'E:\ Used Space'=107.59Gb;93.76;105.48;0.00;117.20 ./check_nt -H 172.16.17.142 -p 12489 -v MEMUSE -w 80 -c 90 Memory usage: total:5340.21 Mb - used: 1915.78 Mb (36%) - free: 3424.44 Mb (64%) | 'Memory usage'=1915.78Mb;4272.17;4806.19;0.00;5340.21 ./check_nt -H 172.16.17.142 -p 12489 -v UPTIME System Uptime - 7 day(s) 1 hour(s) 36 minute(s) The only plug-in check_oracle will work for oracle database monitoring and this is working cool on unix boxes not on win box. on the win box, nsc.ini file, I did commented for this, ;NRPEClient.dll should I uncomment this for check_oracle to work properly? (this is a production win box) Do you want me to install oracle client on nagios server to fix this problem? can someone please help on this? Thanks -Shankar On Sun, Sep 21, 2008 at 1:19 AM, moshe sharon wrote: > Hello > . > The oracle services you should monitor using the NSCilent for example using > the NSclient interface > ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l Oracle > Server > > or what ever method you are using > > as for the check_oracle. I suggest to install Oracle instant client and > configure tnsnames.ora to connect to the windows database then from the > command line test the oracle connection sqlplus user/pass at db if all is > working you should be able to use check_oracle not > ** > Oracle instant client can be found here: > * > http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html > * > there are few other nice plugins for oracle checks in nagiosexchange > > -- > Moshe Sharon > http://www.centerity.com > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael at medin.name Thu Sep 25 09:31:38 2008 From: michael at medin.name (Michael Medin) Date: Thu, 25 Sep 2008 06:31:38 -0100 (GMT+1) Subject: how to monitor databases on windows through nagios` In-Reply-To: <25251aec0809242348x19de7c1ey5af00342f7adc5c5@mail.gmail.com> References: <25251aec0809180625t3407e4fat400197d06b990c66@mail.gmail.com> <88ad29240809201249t24335a11jc79aa40c7c490db3@mail.gmail.com> <25251aec0809242348x19de7c1ey5af00342f7adc5c5@mail.gmail.com> Message-ID: <14737.193.180.216.132.1222327898.squirrel@ssl.nakednuns.org> check_nt has very limited functionality (mainly see if the service is "sort of running"), I would suggest using something more flexible. Such as for instance NRPE or similar which allows you to run "scripts" on the remote (windows) host. With most "modern" windows agents (NSClient++, NC_NET, NRPE_NT, OpMonAgent(?)) you can use scripts and thus either use one of the various check_oracle scripts or get your DBA to write up a quick database check script in his or hers favorite language. // Michael Medin > Hi All, > > Thank you for your time. > > I'm still confused as to how we can monitor oracle database on windows box > from Nagios Server? > > .check_nt does not seem to be much help with regards to the oracle > database > as there are no oracle parameters defined in check_nt plugin (./check_nt > -h) > > using check_nt i did the following and they are working fine, > > ./check_nt -H 172.16.17.142 -p 12489 -v USEDDISKSPACE -l E -w 80 -c 90 > E:\ - total: 117.20 Gb - used: 107.59 Gb (92%) - free 9.61 Gb (8%) | 'E:\ > Used Space'=107.59Gb;93.76;105.48;0.00;117.20 > > > ./check_nt -H 172.16.17.142 -p 12489 -v MEMUSE -w 80 -c 90 > Memory usage: total:5340.21 Mb - used: 1915.78 Mb (36%) - free: 3424.44 Mb > (64%) | 'Memory usage'=1915.78Mb;4272.17;4806.19;0.00;5340.21 > > > ./check_nt -H 172.16.17.142 -p 12489 -v UPTIME > System Uptime - 7 day(s) 1 hour(s) 36 minute(s) > > The only plug-in check_oracle will work for oracle database monitoring and > this is working cool on unix boxes not on win box. > > on the win box, nsc.ini file, I did commented for this, > ;NRPEClient.dll > > should I uncomment this for check_oracle to work properly? (this is a > production win box) > > Do you want me to install oracle client on nagios server to fix this > problem? > > can someone please help on this? > > Thanks > -Shankar > > > > On Sun, Sep 21, 2008 at 1:19 AM, moshe sharon > wrote: > >> Hello >> . >> The oracle services you should monitor using the NSCilent for example >> using >> the NSclient interface >> ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l Oracle >> Server >> >> or what ever method you are using >> >> as for the check_oracle. I suggest to install Oracle instant client and >> configure tnsnames.ora to connect to the windows database then from the >> command line test the oracle connection sqlplus user/pass at db if all is >> working you should be able to use check_oracle not >> ** >> Oracle instant client can be found here: >> * >> http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html >> * >> there are few other nice plugins for oracle checks in nagiosexchange >> >> -- >> Moshe Sharon >> http://www.centerity.com >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > -- > Shankar Asam > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From etorres at dap.es Thu Sep 25 09:36:35 2008 From: etorres at dap.es (Esteban Torres Rodriguez) Date: Thu, 25 Sep 2008 09:36:35 +0200 Subject: Problem with check_procs Message-ID: <48DB5BA3.655F.0018.0@dap.es> hello everybody. how to check process of remote machine? define command{ command_name check_procs command_line $USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } -H $HOSTADDRESS$ this does not work. I get error. Bye. Esteban Torres Rodr?guez ?REA DE SOPORTE T?CNICO - Administraci?n de Servidores Subdirecci?n de Sistemas Inform?ticos Empresa P?blica Desarrollo Agrario y Pesquero, email: etorres at dap.es ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ojan at gfi.fr Thu Sep 25 10:06:24 2008 From: ojan at gfi.fr (Olivier JAN) Date: Thu, 25 Sep 2008 10:06:24 +0200 Subject: latency problem Message-ID: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> Hi list, I get some latency problems i can't explain. Here's the story. Nagios 3.0.3 on Ubuntu 8.0.4. Hardware is an intel quad core with 10 Go Ram and fast disks. I get 24524 services on 1654 hosts to check. Services are mostly active-passive with a check intervall of 6 hours. check_intervall for hosts is 0 so Nagios make them only on demand. No broker module activated. ocsp and ochp are activated because this server is part of a distributed system. Nagios debug is activated. Some configuration options i have. service_inter_check_delay_method=s service_interleave_factor=s host_inter_check_delay_method=s max_concurrent_checks=0 max_service_check_spread=240 check_result_reaper_frequency=2 max_check_result_reaper_time=30 I tried to "play" with those options without success. Latency keeps growing whatever i tried. What is strange is the fact that in the performance screen i see that Metric Min. Max. Average Check Execution Time: 0.00 sec 15.01 sec 0.888 sec Check Latency: 0.00 sec 10191.24 sec 4924.060 sec Percent State Change: 0.00% 18.36% 0.24% and that in the scheduling queue, i see that at 9:45. SERVER PRINT_ERROR 25-09-2008 03:45:32 25-09-2008 09:45:32 Normal ENABLED Disable Active Checks Of This Service Re-schedule This Service Check It seems that services are corrrectly scheduled despite the latency i see in the performance screen. /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg tells me that everything is fine and have no suggestion for me. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 1654 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 360 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 24524 Total scheduled services: 23739 Service inter-check delay method: SMART Average service check interval: 17331.08 sec Inter-check delay: 0.61 sec Interleave factor method: SMART Average services per host: 14.83 Service interleave factor: 15 Max service check spread: 240 min First scheduled check: Thu Sep 25 10:07:13 2008 Last scheduled check: Thu Sep 25 14:07:15 2008 CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 2 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. So i'm a bit lost. Which screen is right ? The performance one that indicates the 4924 sec latency or the scheduling one that tells me the checks are made in time. What do you think of that ? How can the latency be so high when nagios needs to make only 1 or 2 checks/seconds ? Is there anything wrong in my setup ? Thanks in advance for any advice or info you could give. Olivier Jan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Thu Sep 25 12:01:39 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 25 Sep 2008 11:01:39 +0100 Subject: Problem with check_procs In-Reply-To: <48DB5BA3.655F.0018.0@dap.es> References: <48DB5BA3.655F.0018.0@dap.es> Message-ID: <200809251101.39144.assaf.flatto@ssp.uk.com> Use the nrpe plugin on the remote machine http://nagios.sourceforge.net/docs/3_0/addons.html On Thursday 25 September 2008 08:36:35 Esteban Torres Rodriguez wrote: > hello everybody. > > how to check process of remote machine? > > define command{ > command_name check_procs > command_line $USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ > -c $ARG2$ > } > > -H $HOSTADDRESS$ this does not work. I get error. > > Bye. > > Esteban Torres Rodr?guez > ?REA DE SOPORTE T?CNICO - Administraci?n de Servidores > Subdirecci?n de Sistemas Inform?ticos > Empresa P?blica Desarrollo Agrario y Pesquero, > email: etorres at dap.es > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From izz_abdullah at inbox.com Thu Sep 25 11:27:03 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Thu, 25 Sep 2008 01:27:03 -0800 Subject: sendmail setup and exchange Message-ID: I know this is more of a linux question than a Nagios question, but I need to setup our Nagios server to bounce emails off our Exchange server. 1. I know I need to point sendmail to the IP / hostname of the Exchange server 2. I know I need to authorize the Nagios server on the Exchange server (with what though, just MX records) 3. What more needs to be done so that I can receive notifications? Please excuse my ignorance. Nagios 3.0.1 and Exchange 2007 both behind the same proxy server requiring authentication, so I don't think bouncing from gmail, yahoo, or inbox.com will work (someone please correct me if I am wrong here). Thanks in advance for the help! -Izz ____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andurin at process-zero.de Thu Sep 25 13:06:18 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Thu, 25 Sep 2008 13:06:18 +0200 Subject: latency problem In-Reply-To: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> Message-ID: <48DB70AA.5000105@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Olivier JAN schrieb: > Hi list, > > I get some latency problems i can't explain. Here's the story. > > Nagios 3.0.3 on Ubuntu 8.0.4. Hardware is an intel quad core with > 10 Go Ram and fast disks. I get 24524 services on 1654 hosts to > check. Services are mostly active-passive with a check intervall of > 6 hours. check_intervall for hosts is 0 so Nagios make them only on > demand. No broker module activated. ocsp and ochp are activated > because this server is part of a distributed system. Nagios debug > is activated. Some configuration options i have. OS[C/H]P in such a big environment might be a bottle neck. The givven commands are executed after every single atomic check. It might be an alternative to build an eventbroker that can do the same job a little bit faster. There was a first step for that on www.op5.org - but actual I can't find it. Please have a look at the nagios-devel archive for a post from Andreas Ericsson past the last 3 or 4 weeks. > > service_inter_check_delay_method=s service_interleave_factor=s > host_inter_check_delay_method=s max_concurrent_checks=0 > max_service_check_spread=240 check_result_reaper_frequency=2 > max_check_result_reaper_time=30 > What about "use_large_installation_tweaks" ? Do you have disabled env_macro processing? > I tried to "play" with those options without success. Latency keeps > growing whatever i tried. What is strange is the fact that in the > performance screen i see that Metric Min. Max. Average Check > Execution Time: 0.00 sec 15.01 sec 0.888 sec Check Latency: 0.00 > sec 10191.24 sec 4924.060 sec Percent State Change: 0.00% 18.36% > 0.24% > Ouch! 82 Minutes average Latency? This means an object becomes checked 82 minutes later than it should be checked - your monitoring is disaffected. > and that in the scheduling queue, i see that at 9:45. SERVER > PRINT_ERROR 25-09-2008 03:45:32 25-09-2008 09:45:32 Normal ENABLED > Disable Active Checks Of This Service Re-schedule This Service > Check > > It seems that services are corrrectly scheduled despite the latency > i see in the performance screen. /usr/local/nagios/bin/nagios -s > /usr/local/nagios/etc/nagios.cfg tells me that everything is fine > and have no suggestion for me. > > > So i'm a bit lost. Which screen is right ? The performance one that > indicates the 4924 sec latency or the scheduling one that tells me > the checks are made in time. What do you think of that ? How can > the latency be so high when nagios needs to make only 1 or 2 > checks/seconds ? Is there anything wrong in my setup ? > Have a look at "/path/to/nagios/bin/nagiostats | grep Latency" and you now the ugly truth about the runtime latency. But indeed with an average service checkinterval (17333 seconds) there are not so many checks in parallel but the first thing nagios wants to: check anything configured and after having a actual status re-schedule checks as the should be. What about nagios.cfg directives like: retain_state_information use_retained_scheduling_info auto_reschedule_checks auto_rescheduling_interval auto_rescheduling_window (The auto rescheduling windows should performe a better balance of the scheduling queue) Why do you have such a big average check interval (~ 4 hours) ? Regards, Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI23CqlI0PwfxLQjkRAsLhAJ47AIovBh3BJegfu5wV/M5lYUrxzACdGJ7T l9ZlJE1Cd7Q2jPFlGknp5R4= =8vfO -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From victor.severgnini at opservices.com.br Thu Sep 25 14:00:51 2008 From: victor.severgnini at opservices.com.br (Victor Severgnini) Date: Thu, 25 Sep 2008 09:00:51 -0300 (BRT) Subject: Problem with check_procs In-Reply-To: <48DB5BA3.655F.0018.0@dap.es> References: <48DB5BA3.655F.0018.0@dap.es> Message-ID: <14566836.69741222344051364.JavaMail.root@mail.opservices.com.br> Hello Esteban, You have to use chek_nrpe for remote checks. Nagios Server: define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -to 60 } Remote Host (nrpe.cfg): command[check_crond]=/usr/local/opmon/libexec/check_procs -w 1: -c 1: -C crond Best regards. --- Victor Severgnini victor.severgnini at opservices.com.br OpServices www.opservices.com.br Tel: 51-3275-3588 Cel: 51-8405-0728 ----- Mensagem original ----- De: "Esteban Torres Rodriguez" Para: nagios-users at lists.sourceforge.net Enviadas: Quinta-feira, 25 de Setembro de 2008 4:36:35 (GMT-0300) Auto-Detected Assunto: [Nagios-users] Problem with check_procs hello everybody. how to check process of remote machine? define command{ command_name check_procs command_line $USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } -H $HOSTADDRESS$ this does not work. I get error. Bye. Esteban Torres Rodr?guez ?REA DE SOPORTE T?CNICO - Administraci?n de Servidores Subdirecci?n de Sistemas Inform?ticos Empresa P?blica Desarrollo Agrario y Pesquero, email: etorres at dap.es ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From victor.severgnini at opservices.com.br Thu Sep 25 14:11:16 2008 From: victor.severgnini at opservices.com.br (Victor Severgnini) Date: Thu, 25 Sep 2008 09:11:16 -0300 (BRT) Subject: Problem with check_procs In-Reply-To: <48DB5BA3.655F.0018.0@dap.es> References: <48DB5BA3.655F.0018.0@dap.es> Message-ID: <16313409.69861222344676274.JavaMail.root@mail.opservices.com.br> Hello Esteban, You have to use chek_nrpe for remote checks. Nagios Server: define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -to 60 } Remote Host (nrpe.cfg): command[check_crond]=/usr/local/opmon/libexec/check_procs -w 1: -c 1: -C crond Best regards. --- Victor Severgnini victor.severgnini at opservices.com.br OpServices www.opservices.com.br Phone: (55) 51 3275 3588 Mobile: (55) 51 -81944997 ----- Mensagem original ----- De: "Esteban Torres Rodriguez" Para: nagios-users at lists.sourceforge.net Enviadas: Quinta-feira, 25 de Setembro de 2008 4:36:35 (GMT-0300) Auto-Detected Assunto: [Nagios-users] Problem with check_procs hello everybody. how to check process of remote machine? define command{ command_name check_procs command_line $USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } -H $HOSTADDRESS$ this does not work. I get error. Bye. Esteban Torres Rodr?guez ?REA DE SOPORTE T?CNICO - Administraci?n de Servidores Subdirecci?n de Sistemas Inform?ticos Empresa P?blica Desarrollo Agrario y Pesquero, email: etorres at dap.es ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ojan at gfi.fr Thu Sep 25 14:27:39 2008 From: ojan at gfi.fr (Olivier JAN) Date: Thu, 25 Sep 2008 14:27:39 +0200 Subject: latency problem In-Reply-To: <48DB70AA.5000105@process-zero.de> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> Message-ID: <20080925142739.edy2jx5shlwks040@intra.expertise-online.net> Thanks Hendrik for response. The large installation tweaks are on. The macros are disabled. auto_reschedule_checks is off. Retention state and scheduling are on. The average check_interval is about 4 hours because services are both active-passive. They were before only passive but freshness checking was a problem because they are not balanced like active ones. So i use now active checks for freshness checking of services that are mostly passive. (they can receive events at any time). Not to confusing i hope ;-) But what's really strange is the average latency value shown in performance screen. In the debug log, latency given for each service checked indicates only one to ten seconds. And like i told in first message, it looks that they are checked in time according to the scheduling queue screen. I'm going to test things you mentioned in your reply. Olivier Jan Hendrik B?cker a ?crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Olivier JAN schrieb: >> Hi list, >> >> I get some latency problems i can't explain. Here's the story. >> >> Nagios 3.0.3 on Ubuntu 8.0.4. Hardware is an intel quad core with >> 10 Go Ram and fast disks. I get 24524 services on 1654 hosts to >> check. Services are mostly active-passive with a check intervall of >> 6 hours. check_intervall for hosts is 0 so Nagios make them only on >> demand. No broker module activated. ocsp and ochp are activated >> because this server is part of a distributed system. Nagios debug >> is activated. Some configuration options i have. > OS[C/H]P in such a big environment might be a bottle neck. The givven > commands are executed after every single atomic check. It might be an > alternative to build an eventbroker that can do the same job a little > bit faster. > There was a first step for that on www.op5.org - but actual I can't > find it. Please have a look at the nagios-devel archive for a post > from Andreas Ericsson past the last 3 or 4 weeks. >> >> service_inter_check_delay_method=s service_interleave_factor=s >> host_inter_check_delay_method=s max_concurrent_checks=0 >> max_service_check_spread=240 check_result_reaper_frequency=2 >> max_check_result_reaper_time=30 >> > What about "use_large_installation_tweaks" ? > Do you have disabled env_macro processing? >> I tried to "play" with those options without success. Latency keeps >> growing whatever i tried. What is strange is the fact that in the >> performance screen i see that Metric Min. Max. Average Check >> Execution Time: 0.00 sec 15.01 sec 0.888 sec Check > Latency: 0.00 >> sec 10191.24 sec 4924.060 sec Percent State Change: 0.00% > 18.36% >> 0.24% >> > Ouch! 82 Minutes average Latency? This means an object becomes checked > 82 minutes later than it should be checked - your monitoring is > disaffected. >> and that in the scheduling queue, i see that at 9:45. SERVER >> PRINT_ERROR 25-09-2008 03:45:32 25-09-2008 09:45:32 Normal ENABLED >> Disable Active Checks Of This Service Re-schedule This Service >> Check >> >> It seems that services are corrrectly scheduled despite the latency >> i see in the performance screen. /usr/local/nagios/bin/nagios -s >> /usr/local/nagios/etc/nagios.cfg tells me that everything is fine >> and have no suggestion for me. >> >> > >> So i'm a bit lost. Which screen is right ? The performance one that >> indicates the 4924 sec latency or the scheduling one that tells me >> the checks are made in time. What do you think of that ? How can >> the latency be so high when nagios needs to make only 1 or 2 >> checks/seconds ? Is there anything wrong in my setup ? >> > Have a look at "/path/to/nagios/bin/nagiostats | grep Latency" and you > now the ugly truth about the runtime latency. > But indeed with an average service checkinterval (17333 seconds) there > are not so many checks in parallel but the first thing nagios wants > to: check anything configured and after having a actual status > re-schedule checks as the should be. > What about nagios.cfg directives like: > > retain_state_information > use_retained_scheduling_info > auto_reschedule_checks > auto_rescheduling_interval > auto_rescheduling_window > (The auto rescheduling windows should performe a better balance of the > scheduling queue) > > Why do you have such a big average check interval (~ 4 hours) ? > > Regards, > Hendrik > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFI23CqlI0PwfxLQjkRAsLhAJ47AIovBh3BJegfu5wV/M5lYUrxzACdGJ7T > l9ZlJE1Cd7Q2jPFlGknp5R4= > =8vfO > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Sep 25 14:59:03 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Sep 2008 14:59:03 +0200 Subject: latency problem In-Reply-To: <48DB70AA.5000105@process-zero.de> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> Message-ID: <48DB8B17.1030604@op5.se> Hendrik B?cker wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Olivier JAN schrieb: >> Hi list, >> >> I get some latency problems i can't explain. Here's the story. >> >> Nagios 3.0.3 on Ubuntu 8.0.4. Hardware is an intel quad core with >> 10 Go Ram and fast disks. I get 24524 services on 1654 hosts to >> check. Services are mostly active-passive with a check intervall of >> 6 hours. check_intervall for hosts is 0 so Nagios make them only on >> demand. No broker module activated. ocsp and ochp are activated >> because this server is part of a distributed system. Nagios debug >> is activated. Some configuration options i have. > OS[C/H]P in such a big environment might be a bottle neck. The givven > commands are executed after every single atomic check. It might be an > alternative to build an eventbroker that can do the same job a little > bit faster. > There was a first step for that on www.op5.org - but actual I can't > find it. Please have a look at the nagios-devel archive for a post > from Andreas Ericsson past the last 3 or 4 weeks. You're looking for http://www.op5.org/nagios/merlin.git, which is far from ready for production. In the mean-time, try using the pnsca module. Please note that the module is extremely careless with error checking. It was written as an example only, but it will most likely reduce your check latency to near-zero when it works properly. You'll find the git repository for the pnsca module at git://www.op5.org/nagios/pnsca.git. There are no snapshots for now, but at http://www.op5.org/git you'll find instructions for how to download the latest code using git. Once the module is built (just type 'make'), you need to tell Nagios about it. Do so by adding this to your nagios.cfg file: event_broker_module=/path/to/pnsca.so Where is what you'd run to get send_nsca to accept check-results as input on stdin and send them to your master server. You also need to disable your OSCP and OHCP commands, as pnsca will take care of sending the results instead, thereby reducing the workload of the Nagios server and (hopefully) eliminating your latency issues. Let me know if you run into problems and I'll try to help you as best I can. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Thu Sep 25 15:04:30 2008 From: richard at newnet.co.uk (Richard Savage) Date: Thu, 25 Sep 2008 14:04:30 +0100 Subject: Browser popup? Message-ID: <48DB8C5E.4060409@newnet.co.uk> In netsaint there used to be a browser popup displaying any critical information. Is there something like this in Nagios 3? Rich ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Thu Sep 25 15:45:19 2008 From: richard at newnet.co.uk (Richard Savage) Date: Thu, 25 Sep 2008 14:45:19 +0100 Subject: Browser popup? In-Reply-To: <7EF0EE5CB3B263488C8C18823239BEBA04BFBAC5@HC-MBX02.herefordshire.gov.uk> References: <48DB8C5E.4060409@newnet.co.uk> <7EF0EE5CB3B263488C8C18823239BEBA04BFBAC5@HC-MBX02.herefordshire.gov.uk> Message-ID: <48DB95EF.901@newnet.co.uk> Phil I am using this, but there are other people who dont use firefox and want the popup. I think it was an inbuilt feature in netsaint, but cannot find it anywhere in nagios. Rich Randal, Phil wrote: > For Firefox, there's the Nagios Checker addon: > > https://addons.mozilla.org/en-US/firefox/addon/3607 > > Cheers, > > Phil > > -- > Phil Randal > Networks Engineer > Herefordshire Council > Hereford, UK > > -----Original Message----- > From: Richard Savage [mailto:richard at newnet.co.uk] > Sent: 25 September 2008 14:05 > To: Nagios Users Mailinglist > Subject: [Nagios-users] Browser popup? > > In netsaint there used to be a browser popup displaying any critical > information. > > Is there something like this in Nagios 3? > > Rich > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & > win great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ojan at gfi.fr Thu Sep 25 15:49:36 2008 From: ojan at gfi.fr (Olivier JAN) Date: Thu, 25 Sep 2008 15:49:36 +0200 Subject: latency problem In-Reply-To: <48DB8B17.1030604@op5.se> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> <48DB8B17.1030604@op5.se> Message-ID: <20080925154936.e406gd3u4o0sgwws@intra.expertise-online.net> It seems that oc[hs]p is the one to blame for performance issue i related. I've restarted nagios without those two commands activated. Nagios has done so far about 10 000 checks and has now a latency of 0.055 sec. So i'm decided to give pnsca module a try. It's already compiled and installed in /usr/local/nagios/lib but i would like some precisions about how to configure it in nagios.cfg. Below is what i've already done in it. obsess_over_services=0 obsess_over_hosts=0 event_broker_options=-1 broker_module=/usr/local/nagios/lib/pnsca.so Looks correct for you ? Maybe there is a setting more accurate for the broker options rather than everything ? For now, i'm calling send_nsca like that submit_check_result "$HOSTNAME$" "$SERVICEDESC$" "$SERVICESTATEID$" "$SERVICEOUTPUT$ | $SERVICEPERFDATA$" The submit_check_result script is the usual one with the pipe to send_nsca. With those infos, could you give me an example of what is expected in . I'd be ready to go with pnsca after that and will give the conclusion of the test here. Thanks for your help and support. Olivier Jan Andreas Ericsson a ?crit : > Hendrik B?cker wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Olivier JAN schrieb: >>> Hi list, >>> >>> I get some latency problems i can't explain. Here's the story. >>> >>> Nagios 3.0.3 on Ubuntu 8.0.4. Hardware is an intel quad core with >>> 10 Go Ram and fast disks. I get 24524 services on 1654 hosts to >>> check. Services are mostly active-passive with a check intervall of >>> 6 hours. check_intervall for hosts is 0 so Nagios make them only on >>> demand. No broker module activated. ocsp and ochp are activated >>> because this server is part of a distributed system. Nagios debug >>> is activated. Some configuration options i have. >> OS[C/H]P in such a big environment might be a bottle neck. The givven >> commands are executed after every single atomic check. It might be an >> alternative to build an eventbroker that can do the same job a little >> bit faster. >> There was a first step for that on www.op5.org - but actual I can't >> find it. Please have a look at the nagios-devel archive for a post >> from Andreas Ericsson past the last 3 or 4 weeks. > > You're looking for http://www.op5.org/nagios/merlin.git, which is > far from ready for production. > > In the mean-time, try using the pnsca module. Please note that the > module is extremely careless with error checking. It was written as > an example only, but it will most likely reduce your check latency > to near-zero when it works properly. > > You'll find the git repository for the pnsca module at > git://www.op5.org/nagios/pnsca.git. There are no snapshots for now, > but at http://www.op5.org/git you'll find instructions for how to > download the latest code using git. > > Once the module is built (just type 'make'), you need to tell > Nagios about it. Do so by adding this to your nagios.cfg file: > > event_broker_module=/path/to/pnsca.so > > Where is what you'd run to get send_nsca > to accept check-results as input on stdin and send them to > your master server. You also need to disable your OSCP and > OHCP commands, as pnsca will take care of sending the results > instead, thereby reducing the workload of the Nagios server > and (hopefully) eliminating your latency issues. > > Let me know if you run into problems and I'll try to help you as > best I can. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From islandjewel at gmail.com Thu Sep 25 16:03:32 2008 From: islandjewel at gmail.com (Julie) Date: Thu, 25 Sep 2008 09:03:32 -0500 Subject: Nagios monitoring itself / outage Message-ID: <9adfbf0809250703i41c9b79ak8a6cfabba3e04320@mail.gmail.com> Hi, Here is a problem that I am sure someone has had to solve.. If you have a single "main" nagios server and it goes down for any reason, but all the systems remain up, then, let's say 23 hours later, you get yoru main server back up - how does Nagios figure out *IT* was down since it has not been polling itself. Well it has, but not while it was down? I had this happen and the reporting and everything show it as being up for 39 days even though ti was down for 23 hours. ALl the other systems, which are remote, of course show correct up time. How can nagios figure this out? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Thu Sep 25 17:10:10 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 25 Sep 2008 16:10:10 +0100 Subject: Nagios monitoring itself / outage In-Reply-To: <9adfbf0809250703i41c9b79ak8a6cfabba3e04320@mail.gmail.com> References: <9adfbf0809250703i41c9b79ak8a6cfabba3e04320@mail.gmail.com> Message-ID: <200809251610.10980.assaf.flatto@ssp.uk.com> when you say Nagios , are you referring to the service or to the actual server (hardware) it self ? If the hardware was still active , but the service was down - then the time you see is right - since it is inherited from the OS uptime , and not service run time (AFAIK). Assaf On Thursday 25 September 2008 15:03:32 Julie wrote: > Hi, > > Here is a problem that I am sure someone has had to solve.. If you have a > single "main" nagios server and it goes down for any reason, but all the > systems remain up, then, let's say 23 hours later, you get yoru main server > back up - how does Nagios figure out *IT* was down since it has not been > polling itself. Well it has, but not while it was down? > > I had this happen and the reporting and everything show it as being up for > 39 days even though ti was down for 23 hours. ALl the other systems, which > are remote, of course show correct up time. > > How can nagios figure this out? > > thanks -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andurin at process-zero.de Thu Sep 25 16:20:40 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCw6Rja2Vy?=) Date: Thu, 25 Sep 2008 16:20:40 +0200 Subject: latency problem In-Reply-To: <20080925154936.e406gd3u4o0sgwws@intra.expertise-online.net> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> <48DB8B17.1030604@op5.se> <20080925154936.e406gd3u4o0sgwws@intra.expertise-online.net> Message-ID: <48DB9E38.1040501@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Olivier JAN schrieb: > It seems that oc[hs]p is the one to blame for performance issue i > related. I've restarted nagios without those two commands > activated. Nagios has done so far about 10 000 checks and has now a > latency of 0.055 sec. > > So i'm decided to give pnsca module a try. It's already compiled > and installed in /usr/local/nagios/lib but i would like some > precisions about how to configure it in nagios.cfg. > > Below is what i've already done in it. > > obsess_over_services=0 obsess_over_hosts=0 event_broker_options=-1 > broker_module=/usr/local/nagios/lib/pnsca.so > You should leave the global broker_options to "-1" cause sometimes in the future there might come another module that wants to have more. The pnsca.so is smooth enough to register only the needed things to the core. > Looks correct for you ? Maybe there is a setting more accurate for > the broker options rather than everything ? > > For now, i'm calling send_nsca like that submit_check_result > "$HOSTNAME$" "$SERVICEDESC$" "$SERVICESTATEID$" "$SERVICEOUTPUT$ | > $SERVICEPERFDATA$" The submit_check_result script is the usual one > with the pipe to send_nsca. With those infos, could you give me an > example of what is expected in . I'd be ready to > go with pnsca after that and will give the conclusion of the test > here. > = /path/to/send_nsca broker_module=/usr/local/nagios/lib/pnsca.so /usr/local/nagios/bin/send_nsca -H /central_server/ -c /usr/local/nagios/etc/send_nsca.cfg The rest of needed information is gathered by the pnsca module but I am not sure if the whole command should be within " " or not. Just give it a try without quotes. - - Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI2543lI0PwfxLQjkRAs9yAJ9BrcpWX4LHrniON8oUaxs0SS40mQCfVY8R he5LYEPyZBRMPQNtuQ9VOUk= =ltwL -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From howachen at gmail.com Thu Sep 25 17:00:11 2008 From: howachen at gmail.com (howard chen) Date: Thu, 25 Sep 2008 23:00:11 +0800 Subject: Alert with more detail Message-ID: Hello, Sometimes, nagios will alert of high loading of a system via Email, with the body: ...CRITICAL - load average: 5.42, 6.04, 3.04 But this information is useless unless you know which process is using most of the CPU, e.g. MySQL. Then you can take follow up action to prevent it from happen again. So are there any easy way to monitor the process CPU utilization when the alert is generated using nagios? Or other better method? Thanks. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ojan at gfi.fr Thu Sep 25 17:18:31 2008 From: ojan at gfi.fr (Olivier JAN) Date: Thu, 25 Sep 2008 17:18:31 +0200 Subject: latency problem In-Reply-To: <48DB9E38.1040501@process-zero.de> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> <48DB8B17.1030604@op5.se> <20080925154936.e406gd3u4o0sgwws@intra.expertise-online.net> <48DB9E38.1040501@process-zero.de> Message-ID: <20080925171831.knpjxspyg0o00kso@intra.expertise-online.net> I'm surely missing a point because the master server doesn't receive checks results. i put this line in nagios.cfg without quote. broker_module=/usr/local/nagios/lib/pnsca.so /usr/local/nagios/libexec/send_nsca -H 10.10.10.10 -c /usr/local/nagios/etc/send_nsca.cfg I also tried with quotes without success. Any idea ? Thanks Olivier Jan Hendrik B?cker a ?crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Olivier JAN schrieb: >> It seems that oc[hs]p is the one to blame for performance issue i >> related. I've restarted nagios without those two commands >> activated. Nagios has done so far about 10 000 checks and has now a >> latency of 0.055 sec. >> >> So i'm decided to give pnsca module a try. It's already compiled >> and installed in /usr/local/nagios/lib but i would like some >> precisions about how to configure it in nagios.cfg. >> >> Below is what i've already done in it. >> >> obsess_over_services=0 obsess_over_hosts=0 event_broker_options=-1 >> broker_module=/usr/local/nagios/lib/pnsca.so >> > You should leave the global broker_options to "-1" cause sometimes in > the future there might come another module that wants to have more. > The pnsca.so is smooth enough to register only the needed things to > the core. >> Looks correct for you ? Maybe there is a setting more accurate for >> the broker options rather than everything ? >> >> For now, i'm calling send_nsca like that submit_check_result >> "$HOSTNAME$" "$SERVICEDESC$" "$SERVICESTATEID$" "$SERVICEOUTPUT$ | >> $SERVICEPERFDATA$" The submit_check_result script is the usual one >> with the pipe to send_nsca. With those infos, could you give me an >> example of what is expected in . I'd be ready to >> go with pnsca after that and will give the conclusion of the test >> here. >> > = /path/to/send_nsca > > broker_module=/usr/local/nagios/lib/pnsca.so > /usr/local/nagios/bin/send_nsca -H /central_server/ -c > /usr/local/nagios/etc/send_nsca.cfg > > The rest of needed information is gathered by the pnsca module but I > am not sure if the whole command should be within " " or not. Just > give it a try without quotes. > > - - > Hendrik > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFI2543lI0PwfxLQjkRAs9yAJ9BrcpWX4LHrniON8oUaxs0SS40mQCfVY8R > he5LYEPyZBRMPQNtuQ9VOUk= > =ltwL > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jcall at verio.net Thu Sep 25 16:52:10 2008 From: jcall at verio.net (Jonathan Call) Date: Thu, 25 Sep 2008 10:52:10 -0400 Subject: intermittent CGI failure In-Reply-To: References: Message-ID: <04F3233F47E2714CB7431AE913E57E77030392B9@IAD-WPRD-XCHB02.corp.verio.net> -----Original Message----- From: Jon Angliss [mailto:jon at netdork.net] Sent: Wednesday, September 24, 2008 5:52 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] intermittent CGI failure On Mon, 15 Sep 2008 12:29:55 -0400 (EDT), nagios at donsbox.com wrote: >Installed 3.0.3 from source on OpenBSD 4.3 (sparc64). Everything works, >but every so often the CGI's will fail. > >e.g. If I refresh, say, status.cgi?host=all 10 times in a row, it'll fail >at least once or twice. > >I can reproduce using both Apache and nginx. > >Here's Apache error log snippet: "Premature end of script headers: >/var/www/nagios/cgi-bin/status.cgi" > >Here's nginx error log snippet: "upstream closed prematurely FastCGI >stdout while reading response header from upstream" > >Familiar issue to anyone? Next steps to debug? I keep noticing this every now and again. I usually have the tactical overview page open on a third monitor, and Firefox often throws a "cannot connect" message. I'm assuming this is probably the same thing, just on a different page. I've yet to go through my logs to confirm though. -- Jon Angliss I'm running into the same issue: [Tue Sep 23 04:49:28 2008] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: status.cgi My server is FreeBSD 6.3 running Nagios 2.12 and Apache 2.2.8. The error is very intermittent, maybe two or three times a day on a 24/7 monitoring screen. Some times it is a 'cannot connect' sometimes the screen is just blank. Jonathan This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Sep 25 19:44:12 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Sep 2008 19:44:12 +0200 Subject: latency problem In-Reply-To: <20080925171831.knpjxspyg0o00kso@intra.expertise-online.net> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> <48DB8B17.1030604@op5.se> <20080925154936.e406gd3u4o0sgwws@intra.expertise-online.net> <48DB9E38.1040501@process-zero.de> <20080925171831.knpjxspyg0o00kso@intra.expertise-online.net> Message-ID: <48DBCDEC.3010603@op5.se> Olivier JAN wrote: > I'm surely missing a point because the master server doesn't receive > checks results. i put this line in nagios.cfg without quote. > > broker_module=/usr/local/nagios/lib/pnsca.so > /usr/local/nagios/libexec/send_nsca -H 10.10.10.10 -c > /usr/local/nagios/etc/send_nsca.cfg > > I also tried with quotes without success. Any idea ? > "grep pnsca nagios.log" should produce: [1222364357] Event broker module '/usr/local/nagios/lib/pnsca.so' initialized successfully. If you don't have that, decipher the error messages in the log until you get it. If you're already getting that, but it doesn't work anyway, you can try using the shipped send_nsca script instead of the one on your system. If you change the third line of it to say "cat > /tmp/pnsca.out", all the host and service check results the module receives from Nagios will be dumped to /tmp/pnsca.out (worst case scenario, you could actually do tail -f /tmp/pnsca.out | send_nsca -f send_nsca.cfg and get pretty much the same benefit, but Nagios will crash when /tmp/pnsca.out gets larger than 4GB). It's also a rather good idea to make sure that send_nsca is always running (use Nagios and check_procs for this). With pnsca in place, you should always have exactly one send_nsca process running on your system. If that one dies, you need to restart Nagios (until I've got time to add some sort of clever process control in the module, anyways). If you have too many, something else is going wrong, so you'll need to check that up manually. Thanks for testing, and good luck :) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cranfill at imageworks.com Thu Sep 25 19:47:28 2008 From: cranfill at imageworks.com (Jennifer Cranfill) Date: Thu, 25 Sep 2008 10:47:28 -0700 Subject: Is there a way to set an individual service check timeout? In-Reply-To: References: <48DA79F1.1030002@imageworks.com> <8okld45jr04ldpgc5bslc44on3ne88mjhk@4ax.com> Message-ID: <48DBCEB0.4000104@imageworks.com> Marc Powell wrote: > On Sep 24, 2008, at 6:58 PM, Jon Angliss wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On Wed, 24 Sep 2008 16:05:39 -0500, Marc Powell wrote: >> >>> On Sep 24, 2008, at 12:33 PM, Jennifer Cranfill wrote: >>> >>>> The only setting for service check timeout that I see is the global >>>> service_check_timeout setting. Is there a setting that can be >>>> applied >>>> per command or per service check? >>> All standard plugins support a timeout parameter, typically '-t >>> ' that you can pass in the command definition. Run '/path/ >>> to/ >>> plugin --help' to see if it's supported and usage. It could also be >>> passed from a service definition as a $ARGx$ macro. >> I think you missed the request. > > I don't think I did but in any event, the answer is still the same. > Use the timeout option for each plugin. Both facilities will return a > CRITICAL state indicating that there was a timeout error. Which > program reported the error, the plugin or nagios, doesn't really seem > pertinent. > > > From what I can tell, it cannot be customized per plugin. However, > if >> you set it high enough to cover all the plugins, and then set sane >> values for the -t option for the plugins you should be okay. > > Correct, there is only one if-all-else-fails timeout for all services > but when using timeout values per plugin, it should never get there > unless something really bad went wrong with the plugin. Thanks Jon and Marc. I was looking for a way to extend the global timeout for specific service checks, but it does not seem to be possible. I guess I'll go with setting the global timeout to be large and then using -t for all services I want to timeout earlier (99% of them). Thanks again! -- Jennifer Cranfill ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Thu Sep 25 19:47:53 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Thu, 25 Sep 2008 18:47:53 +0100 Subject: Problem with check_procs In-Reply-To: <48DB5BA3.655F.0018.0@dap.es> References: <48DB5BA3.655F.0018.0@dap.es> Message-ID: <48DBCEC9.3030309@networkmail.eu> Hi, You should read up on either NRPE, NCSA or one of the check_ssh plugins to do what you want. All standard plugins execute directly on the Nagios box. The above solutions allow for plugins to be executed on a remote box and send the result back to Nagios. NRPE is when Nagios requests the plugin to be executed (active check) whereas NCSA is when the NCSA daemon on the remote box does the checks (passive check.) See http://www.nagioscommunity.org/wiki/index.php/Howtos:nrpe_nsca for more info. Andy Esteban Torres Rodriguez wrote: > hello everybody. > > how to check process of remote machine? > > define command{ > command_name check_procs > command_line $USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ > -c $ARG2$ > } > > -H $HOSTADDRESS$ this does not work. I get error. > > Bye. > > Esteban Torres Rodr?guez > ?REA DE SOPORTE T?CNICO - Administraci?n de Servidores > Subdirecci?n de Sistemas Inform?ticos > Empresa P?blica Desarrollo Agrario y Pesquero, > email: etorres at dap.es > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Sep 25 21:38:05 2008 From: marc at ena.com (Marc Powell) Date: Thu, 25 Sep 2008 14:38:05 -0500 Subject: sendmail setup and exchange In-Reply-To: References: Message-ID: On Sep 25, 2008, at 4:27 AM, Izz Abdullah wrote: > I know this is more of a linux question than a Nagios question, but > I need to setup our Nagios server to bounce emails off our Exchange > server. > 1. I know I need to point sendmail to the IP / hostname of the > Exchange server You'll need to use sendmail's SMARTHOST feature. You'd specify the hostname of your exchange server there. http://www.elandsys.com/resources/sendmail/smarthost.html for > 2. I know I need to authorize the Nagios server on the Exchange > server (with what though, just MX records) Probably not if you have a somewhat normal installation of Exchange. You may already permit access for clients on the local subnet. If not, you can permit the IP of your nagios server to relay through your exchange server (ESM -> Administrative Groups -> -> Servers -> -> Protocols -> SMTP -> Properties for Default SMTP Virtual Server -> Access -> Relay. Who says Exchange isn't easy...). > 3. What more needs to be done so that I can receive notifications? Configuring nagios to actually send notifications but there are plenty of docs on that already. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Sep 25 21:45:16 2008 From: marc at ena.com (Marc Powell) Date: Thu, 25 Sep 2008 14:45:16 -0500 Subject: Browser popup? In-Reply-To: <48DB8C5E.4060409@newnet.co.uk> References: <48DB8C5E.4060409@newnet.co.uk> Message-ID: <148DE763-A397-46EB-B99D-96608D030E63@ena.com> On Sep 25, 2008, at 8:04 AM, Richard Savage wrote: > In netsaint there used to be a browser popup displaying any critical > information. If I remember correctly it showed down or unreachable hosts... > Is there something like this in Nagios 3? No, it was dropped in the move to nagios-1. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sebastian.Ries at dtnet.de Fri Sep 26 07:53:29 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 26 Sep 2008 07:53:29 +0200 Subject: Nagios monitoring itself / outage In-Reply-To: <9adfbf0809250703i41c9b79ak8a6cfabba3e04320@mail.gmail.com> References: <9adfbf0809250703i41c9b79ak8a6cfabba3e04320@mail.gmail.com> Message-ID: <1222408409.30841.54.camel@bofh.dtnet.de> Hi > > I had this happen and the reporting and everything show it as being up > for 39 days even though ti was down for 23 hours. ALl the other > systems, which are remote, of course show correct up time. > > How can nagios figure this out? I think your problem is not that nagios shows the wrong time. Your problem is that as long as your nagios master is down you won't notice if any of your servers goes down... What you need is a second master with both checking each other... That's the only way I know of how to solve this problem. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Fri Sep 26 08:25:16 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Fri, 26 Sep 2008 08:25:16 +0200 Subject: Monitoring 64-bit and 32-bit servers - plugin path problem In-Reply-To: <20080925022942.GA10032@gmail.com> References: <20080925022942.GA10032@gmail.com> Message-ID: Quite a lot of ways to solve this issue, it seem. :) I have a working configuration in which the $USER macro is defined with "/usr/lib*64*/nagios/plugins/check_disk", and on 32-bit systems I make a symlink from /usr/lib64/nagios to /usr/lib/nagios. This works like a charm, and doesn't seem to be very messy. I may consider the Gavins approach setting the PATH environment though, since it looked like a very neat solution. On 9/25/08, Tom Throckmorton wrote: > > On Sep 23 08:18, Kenneth Holter wrote: > > Hello all. > > > > > > I've set up Nagios to monitor a few 64-bit machines, and this seems to be > > working correctly. For example, my command for checking a remote disk is > > defined like this: > > > > > > define command{ > > command_name check_remote_disk > > command_line /somepath/check_by_ssh -C > > "/usr/lib64/nagios/plugins/check_disk " > > } > > > > This command executes /usr/*lib64*/nagios/plugins/check_disk on the > remote > > system. On 32-bit systems, on the other hand, the path to the plugin is > > /usr/*lib*/nagios/plugins/check_disk. It thus looks like I have to > > differentiate between 32-bit and 64-bit commands, and in effect devide > the > > configuration itself in a 32-bit section and 64-bit section. > > > > I'm sure there is a neat way of solving this, and could use some advice. > I > > guess I could symlink all over the place to get things going, but there > are > > probably a better way of doing this. > > Kenneth, > > Here are two more ideas for you: > > 1) You could add some test logic into your command def, like so: > > $USER1$/check_by_ssh -C "if [ -e /usr/lib64/nagios/plugins/ ] ; then > /usr/lib64/nagios/plugins/check_disk ; else > /usr/lib/nagios/plugins/check_disk ; fi" > > Rather ugly, but I think that would do what you want. > > 2) configure the remote ssh client to know it's local path to the plugins; > you > could do this either in the public key, by using something like > 'environment="NAGIOSPATH=/usr/lib64/plugins' after your command and host > restrictions (you _are_ using command and host restrictions in your public > keys, right? ;-), or in ~/.ssh/environment on the remote host. Note that > to > use either of those, you'd need to set PermitUserEnvironment=yes in your > sshd_config - see sshd(8) and sshd_config(5). Once that's set, you should > be > able to run: > > $USER1$/check_by_ssh -C "\$NAGIOSPATH\/check_disk " > > ...which would also get you there, I think. > > Couple of disclaimers... > - allowing user environments to be set via sshd can be a security risk > - I've only tried this from the command line; you'll likely need to do some > interesting escaping to get it to work correctly. > > Also, > > Gavin Carr wrote: > > We've found it easier to just leave the plugin invocations unqualified > and > > add the relevant nagios plugins directory to the $PATH for the remote > nagios > > user. Works nicely here. > > +1 on that one, too - simple is good. > > Cheers, > > -tt > > -- > Tom Throckmorton > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frontin at irit.fr Fri Sep 26 08:43:51 2008 From: frontin at irit.fr (Jean Frontin) Date: Fri, 26 Sep 2008 08:43:51 +0200 Subject: I don't receive a changing state Message-ID: <48DC84A7.6000800@irit.fr> Hello, I run nagios 2.9 on the server host A. With the command : command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_xxx I look at if processes are running on the host B with the command in "nrpe.cfg" : command[check_xxx]=/etc/nagios/check_xxx where check_xxx is a "ps -ef"... When processes are running I receive on A "processes are running". But when processes are down I receive : CHECK_NRPE: No output received from daemon the command on B "ps -ef ..." writes nothing ! I should receive, on server nagios A, an alert "critical state" ! and, of course, a "recovery" when processes are running again ! Regards -- Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 9 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Fri Sep 26 10:04:53 2008 From: jon at netdork.net (Jon Angliss) Date: Fri, 26 Sep 2008 03:04:53 -0500 Subject: I don't receive a changing state References: <48DC84A7.6000800@irit.fr> Message-ID: <9c5pd4leb0mk3k26s1ijudm2d7l8up8kph@4ax.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 26 Sep 2008 08:43:51 +0200, Jean Frontin wrote: >Hello, > >I run nagios 2.9 on the server host A. With the command : > >command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_xxx > >I look at if processes are running on the host B with the command in >"nrpe.cfg" : > >command[check_xxx]=/etc/nagios/check_xxx > >where check_xxx is a "ps -ef"... Is that all it does? What's the exist status of 'ps -ef' when nothing is returned? >When processes are running I receive on A "processes are running". >But when processes are down I receive : > >CHECK_NRPE: No output received from daemon > >the command on B "ps -ef ..." writes nothing ! > >I should receive, on server nagios A, an alert "critical state" ! and, >of course, a "recovery" when processes are running again ! http://nagiosplug.sourceforge.net/developer-guidelines.html Without more details on what else is in check_xxx, I can only assume 'ps -ef' is returning 0 every time, and hence not throwing a warning/error when nothing is listed. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjcl5gACgkQK4PoFPj9H3NUmACfUEsAU2Lr6U0QJdhIQ/raHiRu ITQAn0kGI8QoJOP7Gv+ffkduwvAolk1c =iznS -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Steven.Battaille at ap2.be Fri Sep 26 10:48:58 2008 From: Steven.Battaille at ap2.be (Steven Battaille) Date: Fri, 26 Sep 2008 10:48:58 +0200 Subject: Problem installing nrpe plugins Message-ID: <16A9FB339EF0024C80FD6D1910268C7F01596268@apps18.ap2.local> Hello When I try to install the nrpe plugins on a redhat linux system trough the command make I get the following error: cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory check_pgsql.c:44:30: pg_config_manual.h: No such file or directory make[2]: *** [check_pgsql.o] Error 1 make[2]: Leaving directory `/root/downloads/nagios-plugins-1.4.13/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/downloads/nagios-plugins-1.4.13' make: *** [all] Error 2 Does anyone have an idea where this is coming from and how this can be resolved? Thanks Steven -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Sep 26 11:02:13 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Sep 2008 11:02:13 +0200 Subject: latency problem In-Reply-To: <48DBCDEC.3010603@op5.se> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> <48DB8B17.1030604@op5.se> <20080925154936.e406gd3u4o0sgwws@intra.expertise-online.net> <48DB9E38.1040501@process-zero.de> <20080925171831.knpjxspyg0o00kso@intra.expertise-online.net> <48DBCDEC.3010603@op5.se> Message-ID: <48DCA515.4020804@op5.se> Olivier, did you get anywhere with this, or haven't you had time to look at it yet? If you want, I could log into the system and see if I can find out what's wrong. If that's not an option, contact me off-list and I'll arrange for some faster-feedback medium through which I can better help you resolve your problems. I'm rather anxious to see how the broker module works in such a large environment :-) Andreas Ericsson wrote: > Olivier JAN wrote: >> I'm surely missing a point because the master server doesn't receive >> checks results. i put this line in nagios.cfg without quote. >> >> broker_module=/usr/local/nagios/lib/pnsca.so >> /usr/local/nagios/libexec/send_nsca -H 10.10.10.10 -c >> /usr/local/nagios/etc/send_nsca.cfg >> >> I also tried with quotes without success. Any idea ? >> > > "grep pnsca nagios.log" should produce: > [1222364357] Event broker module '/usr/local/nagios/lib/pnsca.so' > initialized successfully. > > If you don't have that, decipher the error messages in > the log until you get it. > > If you're already getting that, but it doesn't work > anyway, you can try using the shipped send_nsca script > instead of the one on your system. If you change the > third line of it to say "cat > /tmp/pnsca.out", all the > host and service check results the module receives from > Nagios will be dumped to /tmp/pnsca.out (worst case > scenario, you could actually do > tail -f /tmp/pnsca.out | send_nsca -f send_nsca.cfg > and get pretty much the same benefit, but Nagios will > crash when /tmp/pnsca.out gets larger than 4GB). > > It's also a rather good idea to make sure that send_nsca > is always running (use Nagios and check_procs for this). > With pnsca in place, you should always have exactly one > send_nsca process running on your system. If that one dies, > you need to restart Nagios (until I've got time to add some > sort of clever process control in the module, anyways). If > you have too many, something else is going wrong, so you'll > need to check that up manually. > > Thanks for testing, and good luck :) > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kyleodonnell at gmail.com Fri Sep 26 14:26:32 2008 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Fri, 26 Sep 2008 08:26:32 -0400 Subject: nrpe argument limit Message-ID: <2274b9c30809260526x60126d88v16b068e1496b52c6@mail.gmail.com> Hi, Does anyone know if there is an argument limit to commands run via nrpe? I've defined one command with 18 args and it works, but another command with 21 args and it errors. Thanks, Kyle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael at medin.name Fri Sep 26 15:19:28 2008 From: michael at medin.name (Michael Medin) Date: Fri, 26 Sep 2008 12:19:28 -0100 (GMT+1) Subject: nrpe argument limit In-Reply-To: <2274b9c30809260526x60126d88v16b068e1496b52c6@mail.gmail.com> References: <2274b9c30809260526x60126d88v16b068e1496b52c6@mail.gmail.com> Message-ID: <21878.193.180.216.132.1222435168.squirrel@ssl.nakednuns.org> Sort of... by default the "payload" is 1024 characters (including the command) so thats the limit. You can extend this by recompiling NRPE (server and client9 and toon has a patch to improve this handling a bit)... // Michael Medin > Hi, > > Does anyone know if there is an argument limit to commands run via > nrpe? I've defined one command with 18 args and it works, but another > command with 21 args and it errors. > > Thanks, > Kyle > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Sep 26 15:49:14 2008 From: marc at ena.com (Marc Powell) Date: Fri, 26 Sep 2008 08:49:14 -0500 Subject: I don't receive a changing state In-Reply-To: <48DC84A7.6000800@irit.fr> References: <48DC84A7.6000800@irit.fr> Message-ID: On Sep 26, 2008, at 1:43 AM, Jean Frontin wrote: > command[check_xxx]=/etc/nagios/check_xxx > > where check_xxx is a "ps -ef"... > > When processes are running I receive on A "processes are running". > But when processes are down I receive : > > CHECK_NRPE: No output received from daemon > > the command on B "ps -ef ..." writes nothing ! > > I should receive, on server nagios A, an alert "critical state" ! and, > of course, a "recovery" when processes are running again ! 'ps' is not a nagios plugin so it will not exhibit proper/expected behavior. Nagios has requirements for programs to be used as nagios plugins and most (all?) normal system commands do not comply with those requirements. http://nagiosplug.sourceforge.net/developer-guidelines.html If you want to use 'ps', you can create a wrapper program that calls it and exits with the proper exit status based on your criteria, or you just might want to look at the check_procs plugin. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Sep 26 15:55:00 2008 From: marc at ena.com (Marc Powell) Date: Fri, 26 Sep 2008 08:55:00 -0500 Subject: Problem installing nrpe plugins In-Reply-To: <16A9FB339EF0024C80FD6D1910268C7F01596268@apps18.ap2.local> References: <16A9FB339EF0024C80FD6D1910268C7F01596268@apps18.ap2.local> Message-ID: <8F79773C-94AF-4BE1-BE79-B6C723E1AA0E@ena.com> On Sep 26, 2008, at 3:48 AM, Steven Battaille wrote: > Hello > > When I try to install the nrpe plugins on a redhat linux system > trough the command make I get the following error: > > cc1: warning: changing search order for system directory "/usr/ > include" > cc1: warning: as it has already been specified as a non-system > directory > check_pgsql.c:44:30: pg_config_manual.h: No such file or directory It looks like you may have specified the '--with-pgsql=...' argument to ./configure but don't have the postgres development libraries installed (postgres-devel I believe), or the location you specified with --with-pgsql is incorrect. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Sep 26 16:02:57 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Sep 2008 16:02:57 +0200 Subject: latency problem In-Reply-To: <20080926135724.2xn3rvhrwgscg0gs@intra.expertise-online.net> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> <48DB8B17.1030604@op5.se> <20080925154936.e406gd3u4o0sgwws@intra.expertise-online.net> <48DB9E38.1040501@process-zero.de> <20080925171831.knpjxspyg0o00kso@intra.expertise-online.net> <48DBCDEC.3010603@op5.se> <48DCA515.4020804@op5.se> <20080926135724.2xn3rvhrwgscg0gs@intra.expertise-online.net> Message-ID: <48DCEB91.2030104@op5.se> Olivier JAN wrote: > > I already sent this message to the list this morning but as i can't see > it for now, i send you a private copy of it > It didn't reach the list, it seems. Thanks for sending me privately. I've added the list back into the loop, so this can be archived for future reference. > > Andreas, > > I've just finished the tests :-) > The standard configuration doesn't work for me as i told in previous > message. So i've > tried the send_nsca you provide with the module and it works fine. The > only drawback i > see (correct me if i'm wrong) is that the module doesn't send > performance data for > services (so i can't use it for now). It doesn't send it for hosts either. What format should the data be when fed into nsca for performance-data to register too? I couldn't quite find that in the brief scan of the send_nsca documentation I did. > What is really cool in my case is > that the latency > has gone (0.219 sec for now compare to the 5000 sec before). So the > problem is solved. > Whoa! That's really quite excellent :) > So, for the moment, i'm using the OCP_daemon to handle the oc[hs]p > commands (and it seems > to just work fine) but i would rather use your module in the long term. > The approach is > by far more elegant than using performance configuration for the > commands. So if you want > to go ahead and developp it further, i would gladly help you release a > production ready > version of it. pnsca would be a must have in large environments like mine. > That's sort of what I'm thinking too. I'll look into fiddling with it some more this weekend. > Thanks for you kind help and thanks to Hendrik for pointing me in the > right direction. > No problem. Once again, thanks for helping me testing this. :) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt.rivet at secure-24.com Fri Sep 26 20:02:17 2008 From: matt.rivet at secure-24.com (Matt Rivet) Date: Fri, 26 Sep 2008 14:02:17 -0400 Subject: (No output returned from plugin) Message-ID: <3A08B75200A4DF44B83752A09A93AFFB0131E675@ex1s24dca.S24.local> Hi, I am running nagios 2.5 and monitoring a windows 2003 server using NSclient++ 0.2.7. I have wrote a VBS script and defined it in NSC.ini as [NRPE] checkIMMailDropFileCountNagios= "cscript //NoLogo c:\nsclientpp\scripts\IMMailDrop_FileCount_Nagios.vbs" The script takes a value, compares it and then quits exit status 0 for OK and echo's its value. The nagios command I am running to perform this check is '[root at nagios1 ~]# ./check_nrpe -H $HOSTNAME -c checkIMMailDropFileCountNagios' this command will print "19 OK" on stdout. If the command can print the value on stdout why doesn't nagios recognize it? Do I need to specify some type of argument in NSC.ini? Thank you for any help Matt Rivet -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ftavenner at safenet-inc.com Fri Sep 26 22:19:03 2008 From: ftavenner at safenet-inc.com (Frank Tavenner) Date: Fri, 26 Sep 2008 16:19:03 -0400 Subject: ndoutils freebsd 7.0 wont load Message-ID: Hello, I have been trying to setup ndoutils 1.4b7 from the freebsd ports collection and can't seem to get past loading the ndo2db_enable="YES" in the rc.conf file. This line "/etc/rc: WARNING: run_rc_command: cannot run /usr/local/bin/ndo2db" shows up after I see the starting Nagios line on my console. Then I find this "ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1222470940] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1222470940] Event broker module '/usr/local/bin/ndomod-3x.o' initialized successfully. [1222470940] Finished daemonizing... (New PID=887) " in my Nagios.log file. BTW its Nagios 3.0.3. Any help would be much appreciated. Regards, Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Sat Sep 27 02:08:05 2008 From: jon at netdork.net (Jon Angliss) Date: Fri, 26 Sep 2008 19:08:05 -0500 Subject: (No output returned from plugin) References: <3A08B75200A4DF44B83752A09A93AFFB0131E675@ex1s24dca.S24.local> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 26 Sep 2008 14:02:17 -0400, "Matt Rivet" wrote: >Hi, >I am running nagios 2.5 and monitoring a windows 2003 server using >NSclient++ 0.2.7. I have wrote a VBS script and defined it in NSC.ini >as >[NRPE] >checkIMMailDropFileCountNagios= "cscript //NoLogo >c:\nsclientpp\scripts\IMMailDrop_FileCount_Nagios.vbs" >The script takes a value, compares it and then quits exit status 0 for >OK and echo's its value. The nagios command I am running to perform >this check is >'[root at nagios1 ~]# ./check_nrpe -H $HOSTNAME -c >checkIMMailDropFileCountNagios' this command will print "19 OK" on >stdout. If the command can print the value on stdout why doesn't nagios >recognize it? >Do I need to specify some type of argument in NSC.ini? Are you sure there isn't an extra line break, or something like that appearing at the beginning of the echo? Have you tried sending it to a file, and seeing what the output really looks like? ./check_nrpe -H $HOSTNAME$ -c checkIMMailDropFileCountNagios > \ /tmp/test.txt You should get the "19 OK" on the top line if there isn't anything unusual in the output. I'm also not sure on how nrpe/nagios handles the difference in line endings. I'm not sure if cscript will return an echo with \r\n, and not just \n like linux is used to. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjdeVsACgkQK4PoFPj9H3NEuQCcDxLL3IGGwMYJ79DfUuGmMomx uioAn1kjIz+kaNXoomnfzoEZcvEkFRj8 =bdqW -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Sat Sep 27 02:18:30 2008 From: jon at netdork.net (Jon Angliss) Date: Fri, 26 Sep 2008 19:18:30 -0500 Subject: Alert with more detail References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 25 Sep 2008 23:00:11 +0800, "howard chen" wrote: >Hello, > >Sometimes, nagios will alert of high loading of a system via Email, >with the body: > > >...CRITICAL - load average: 5.42, 6.04, 3.04 >But this information is useless unless you know which process is using >most of the CPU, e.g. MySQL. Then you can take follow up action to >prevent it from happen again. >So are there any easy way to monitor the process CPU utilization when >the alert is generated using nagios? >Or other better method? It looks like you're after a little more than just warning on the load. I guess advanced notice on the cause of the load increase is always good, it gives you a good headstart when beginning triage. I did a quick search on Nagios Exchange (http://www.nagiosexchange.org), and this came up: http://www.nagiosexchange.org/cgi- bin/page.cgi?g=Detailed%2F1932.html;d=1 It looks like it might need a tweak based on the comment, but I'd imagine it does what you're after. Uses "ps" to list the processes, and sorts by CPU load. It'll generate a warning when over a certain (customizable) threshold, and critical over another (also customizable). It'll then report the process that is sitting at the top of the heap. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjde8gACgkQK4PoFPj9H3ODGACfSJ/4L8DvTdaVgD3goo3pLVod lxcAn0vpv9Nwocv0rO5BwjVCLVkpLJTZ =iN49 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ml at bortal.de Sat Sep 27 18:31:37 2008 From: ml at bortal.de (ml at bortal.de) Date: Sat, 27 Sep 2008 18:31:37 +0200 Subject: Database based nagios configuration Message-ID: <48DE5FE9.6040602@bortal.de> Hello List, we are a little ISP and we have currently nagio3 with normal config files. Now we would like to automake some tasks such as adding/cloning/copying a host or something. Is there a way to use a (mysql) database as configuration source? Then we could code some GUI which will cover our main tasks and scripts :) Thanks, Mario ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Sat Sep 27 22:19:18 2008 From: jon at netdork.net (Jon Angliss) Date: Sat, 27 Sep 2008 15:19:18 -0500 Subject: OS & Application version information References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 24 Sep 2008 13:48:00 +0000, adam brooke wrote: > >Is is possible to use Nagios to audit server OS and Apllication release versions? It entirely depends on what platforms/software you plan on monitoring. >If so are there plugins already written for this purpose? As Brian suggested, SNMP can certainly be used. Custom scripts might be required for other stuff. There is a check_yum, and check_deb plugins (see Nagios Exchange [1]), for example. A custom WMI script could be written for windows [2]. There are certainly some solutions already floating about, you might just have to play with them a bit. [1]: http://www.nagiosexchange.org [2]: http://www.microsoft.com/technet/scriptcenter/scripts/apps/user/usapvb 11.mspx - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjelKMACgkQK4PoFPj9H3NyKwCg6P04RWNyHjO9tZaTNfICIgfd LjUAn0Cmt+ZYgDP0H2+u/HKetBk0ghUd =wdH4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Sat Sep 27 22:35:21 2008 From: jon at netdork.net (Jon Angliss) Date: Sat, 27 Sep 2008 15:35:21 -0500 Subject: how to monitor databases on windows through nagios` References: <25251aec0809180625t3407e4fat400197d06b990c66@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 18 Sep 2008 18:55:03 +0530, asam30 at gmail.com wrote: >Hi All, > >I've installed nagios 3.0 server on red hat linux and monitoring windows >boxes by installng nsclient++ add on. I was able to install and configure >fine on win box, now all c drive and memory paramters are showing on nagios >interface for windows. my question is how do we monitor oracle database and >it's services on windows box through nsclient? How good are you at writing scripts? I'd imagine it probably wouldn't be too difficult to cobble together a small batch script that calls the oracle client to do some tests. Or, even writing something in VBS to build a client connection using ODBC. I don't have Oracle, and my VBS is rusty... but something like this would probably be a basis: <% On Error Goto ErrHandler ConStr = "DRIVER={Microsoft ODBC for Oracle};SERVER=oracle_server;User Id=user;Password=password;" set Conn = CreateObject("ADODB.Connection") Conn.Open ConStr ErrHandler: Print "Something Bad Happened" exit 1 %> Then you call that script from nsclient++.. A more complex example can be found here [1]. But googling around you'll probably find some easy to understand examples to get you going. If you read over the check_oracle client, you should be able to see what it's doing, and duplicate the behavior in the script. That is assuming the code cannot be "ported" to windows. [1]: http://www.idevelopment.info/data/Oracle/DBA_scripts/WINDOWS_Shell_Scr ipts/oracle_ADO_example.vbs - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjemP4ACgkQK4PoFPj9H3NQnACggWkyNjuQEG98b9SbUgtp81zz 5hcAoNDj4O9d/R1ORoD5TetsDbnajUNe =iHS4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sat Sep 27 23:30:49 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 27 Sep 2008 23:30:49 +0200 Subject: OS & Application version information In-Reply-To: References: Message-ID: <48DEA609.1070708@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 adam brooke wrote: > Is is possible to use Nagios to audit server OS and Apllication release versions? Please explain what you mean by audit. Because in my book audit has little to do with a monitoring tool like Nagios. But then again you may understand audit differently. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI3qYHBvzDRVjxmYERAlEdAKC3mItr8coml0VpnirEM3rj6YGRowCfUjbZ vx1k3uuCXQPhrYjc4ZEcSq8= =URg4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Mon Sep 29 09:20:25 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 29 Sep 2008 08:20:25 +0100 Subject: Nagios Looking Glass 1.1.0b3 released Message-ID: <48E081B9.1050806@networkmail.eu> The Nagios Looking Glass project is pleased to announce the release of 1.1.0 beta-3. The release has come a couple of weeks later than we originally planned due to unforeseen issues with the current codebase of the v1 series, however these issues have now been overcome and beta-3 is available to download . The biggest change in this release is the way the figures for the "Overall Health" meters are generated - more details are on the official announcement and in the change log (see changelog.txt in the download.) * The official release announcement * Download NLG 1.1.0 beta-3 We expect to have 1.1.0 released as stable within the next 2 weeks unless anything major arises from beta testing, so please feed back any issues you find. Thanks, Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at sequestered.net Mon Sep 29 11:29:38 2008 From: lists at sequestered.net (Jay Chandler) Date: Mon, 29 Sep 2008 02:29:38 -0700 Subject: Monitoring Shared Storage Message-ID: <48E0A002.7000703@sequestered.net> I've got a scenario that I'd imagine many of you have already dealt with, so before I roll my own solution I figured I'd ask y'all what you've done. I have roughly 50 servers or so that mount their home directories (as well as a few other things, but let's talk about /home for simplicity) from an NFS server (isilon at the moment, shortly to become a NetApp). Because space is expensive, periodically central storage fills up. This results in /home sending out notifications from all 50 servers. Is there a good way to set things up so that if central storage fills up I don't get paged by every system we've got? I don't want to give up monitoring /home on these hosts since our configuration monkey has screwed up before and NOT mounted the NFS share, leading to the mountpoint on local disk filling up instead. Thanks-- my apologies if this wasn't clear. -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: bit bucket overflow ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt.rivet at secure-24.com Mon Sep 29 18:03:46 2008 From: matt.rivet at secure-24.com (Matt Rivet) Date: Mon, 29 Sep 2008 12:03:46 -0400 Subject: (No output returned from plugin) In-Reply-To: References: <3A08B75200A4DF44B83752A09A93AFFB0131E675@ex1s24dca.S24.local> Message-ID: <3A08B75200A4DF44B83752A09A93AFFB0131E67C@ex1s24dca.S24.local> There is only one line of output. Also here is a sample of the VBS script: if (numOfFiles < cint(COUNT_THRESHOLD_WARN)) then wscript.echo numOfFiles & " Ok" wscript.quit(0) elseif numOfFiles < cint(COUNT_THRESHOLD_CRIT) and numOfFiles > cint(COUNT_THRESHOLD_WARN) then wscript.echo numOfFiles & " Warning" wscript.quit(1) Thank you -----Original Message----- From: Jon Angliss [mailto:jon at netdork.net] Sent: Friday, September 26, 2008 8:08 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] (No output returned from plugin) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 26 Sep 2008 14:02:17 -0400, "Matt Rivet" wrote: >Hi, >I am running nagios 2.5 and monitoring a windows 2003 server using >NSclient++ 0.2.7. I have wrote a VBS script and defined it in NSC.ini >as >[NRPE] >checkIMMailDropFileCountNagios= "cscript //NoLogo >c:\nsclientpp\scripts\IMMailDrop_FileCount_Nagios.vbs" >The script takes a value, compares it and then quits exit status 0 for >OK and echo's its value. The nagios command I am running to perform >this check is >'[root at nagios1 ~]# ./check_nrpe -H $HOSTNAME -c >checkIMMailDropFileCountNagios' this command will print "19 OK" on >stdout. If the command can print the value on stdout why doesn't nagios >recognize it? >Do I need to specify some type of argument in NSC.ini? Are you sure there isn't an extra line break, or something like that appearing at the beginning of the echo? Have you tried sending it to a file, and seeing what the output really looks like? ./check_nrpe -H $HOSTNAME$ -c checkIMMailDropFileCountNagios > \ /tmp/test.txt You should get the "19 OK" on the top line if there isn't anything unusual in the output. I'm also not sure on how nrpe/nagios handles the difference in line endings. I'm not sure if cscript will return an echo with \r\n, and not just \n like linux is used to. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjdeVsACgkQK4PoFPj9H3NEuQCcDxLL3IGGwMYJ79DfUuGmMomx uioAn1kjIz+kaNXoomnfzoEZcvEkFRj8 =bdqW -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From john.nagios at gmail.com Mon Sep 29 18:57:36 2008 From: john.nagios at gmail.com (Nagios User) Date: Mon, 29 Sep 2008 12:57:36 -0400 Subject: Optimize notifications Message-ID: Hello, I have an efficient nagios infrastructure in place. I want to highlight certain lines with bold and colors in my notification e-mails. Is this possible to do? If anybody have any information on this please help. Thanks, -john ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at conundrum.com Mon Sep 29 19:09:43 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Mon, 29 Sep 2008 13:09:43 -0400 Subject: Optimize notifications In-Reply-To: References: Message-ID: <01D93FA1-DDF8-4422-9404-FB32BC37D274@conundrum.com> On 29-Sep-2008, at 12:57 , Nagios User wrote: > Hello, > I have an efficient nagios infrastructure in place. I want to > highlight certain lines with bold and colors in my notification > e-mails. Is this possible to do? If anybody have any information on > this please help. The only thing that comes to mind is that you could rewrite your notification scripts to generate HTML email. Keep in mind that if you're sending messages to pagers/cell phones that may not work for all devices that will be displaying the notifications. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Tue Sep 30 01:01:46 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 29 Sep 2008 19:01:46 -0400 Subject: (No output returned from plugin) In-Reply-To: <3A08B75200A4DF44B83752A09A93AFFB0131E67C@ex1s24dca.S24.local> References: <3A08B75200A4DF44B83752A09A93AFFB0131E675@ex1s24dca.S24.local> <3A08B75200A4DF44B83752A09A93AFFB0131E67C@ex1s24dca.S24.local> Message-ID: Most plugins (including NSCA,NRPE, NSClient++, NC_Net ) that allow input form scripts require output from Standard Out. to do this with a VB script, the script must be done via CSCript.exe otherwise the script opens an pop up for the output. (I can see from above you did call CScript) Have you tested the script via a command window to validate the output is going to the command window? I thought CScript uses the //B to redirect output to console? (I do not use VB Scripts frequently) Tony (Author of NC_NEt) On Mon, Sep 29, 2008 at 12:03 PM, Matt Rivet wrote: > There is only one line of output. > > Also here is a sample of the VBS script: > > if (numOfFiles < cint(COUNT_THRESHOLD_WARN)) then > wscript.echo numOfFiles & " Ok" > wscript.quit(0) > > elseif numOfFiles < cint(COUNT_THRESHOLD_CRIT) and numOfFiles > > cint(COUNT_THRESHOLD_WARN) then > wscript.echo numOfFiles & " Warning" > wscript.quit(1) > > Thank you > > -----Original Message----- > From: Jon Angliss [mailto:jon at netdork.net] > Sent: Friday, September 26, 2008 8:08 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] (No output returned from plugin) > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 26 Sep 2008 14:02:17 -0400, "Matt Rivet" 24.com> wrote: > > >Hi, > > >I am running nagios 2.5 and monitoring a windows 2003 server using > >NSclient++ 0.2.7. I have wrote a VBS script and defined it in NSC.ini > >as > > >[NRPE] > > >checkIMMailDropFileCountNagios= "cscript //NoLogo > >c:\nsclientpp\scripts\IMMailDrop_FileCount_Nagios.vbs" > > >The script takes a value, compares it and then quits exit status 0 for > >OK and echo's its value. The nagios command I am running to perform > >this check is > > >'[root at nagios1 ~]# ./check_nrpe -H $HOSTNAME -c > >checkIMMailDropFileCountNagios' this command will print "19 OK" on > >stdout. If the command can print the value on stdout why doesn't > nagios > >recognize it? > > >Do I need to specify some type of argument in NSC.ini? > > Are you sure there isn't an extra line break, or something like that > appearing at the beginning of the echo? Have you tried sending it to > a file, and seeing what the output really looks like? > > ./check_nrpe -H $HOSTNAME$ -c checkIMMailDropFileCountNagios > \ > /tmp/test.txt > > You should get the "19 OK" on the top line if there isn't anything > unusual in the output. I'm also not sure on how nrpe/nagios handles > the difference in line endings. I'm not sure if cscript will return > an echo with \r\n, and not just \n like linux is used to. > > - -- > Jon Angliss > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 > > iEYEARECAAYFAkjdeVsACgkQK4PoFPj9H3NEuQCcDxLL3IGGwMYJ79DfUuGmMomx > uioAn1kjIz+kaNXoomnfzoEZcvEkFRj8 > =bdqW > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Tue Sep 30 02:30:04 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 29 Sep 2008 17:30:04 -0700 Subject: Monitoring Shared Storage In-Reply-To: <48E0A002.7000703@sequestered.net> References: <48E0A002.7000703@sequestered.net> Message-ID: <20080930003004.GG14923@bakgwai.americas.hpqcorp.net> That's what service dependencies are for: http://nagios.sourceforge.net/docs/2_0/dependencies.html http://nagios.sourceforge.net/docs/3_0/dependencies.html Those are for version 2.x and 3.x respectively; you haven't mentioned which you use. On Mon, 29 Sep 2008, Jay Chandler wrote: > I've got a scenario that I'd imagine many of you have already dealt > with, so before I roll my own solution I figured I'd ask y'all what > you've done. > > I have roughly 50 servers or so that mount their home directories (as > well as a few other things, but let's talk about /home for simplicity) > from an NFS server (isilon at the moment, shortly to become a NetApp). > > Because space is expensive, periodically central storage fills up. This > results in /home sending out notifications from all 50 servers. > > Is there a good way to set things up so that if central storage fills up > I don't get paged by every system we've got? I don't want to give up > monitoring /home on these hosts since our configuration monkey has > screwed up before and NOT mounted the NFS share, leading to the > mountpoint on local disk filling up instead. > > Thanks-- my apologies if this wasn't clear. > > -- > Jay Chandler / KB1JWQ > Living Legend / Systems Exorcist > Today's Excuse: bit bucket overflow > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Tue Sep 30 03:39:13 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 29 Sep 2008 21:39:13 -0400 Subject: host checks stopped Message-ID: <13F36D2926AD444697093282F20041B7079B7FBC@buf-ex01.cymfony.com> Nagios has stopped doing host checks. When I look at the last check it shows about 8pm Friday and no checks since. I just added 2 hosts, and for nearly an hour the host checks are pending. The scheduled time is the next minute, but a minute later (when you expect the check to happen) it gets delayed another minute. All service checks are working fine. I did just have a system go down, and though the service checks show critical, Nagios shows the server as being up, though I know it isn't. Running Nagios 3.0.3 any ideas? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Tue Sep 30 04:41:35 2008 From: jon at netdork.net (Jon Angliss) Date: Mon, 29 Sep 2008 21:41:35 -0500 Subject: Monitoring Shared Storage References: <48E0A002.7000703@sequestered.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 29 Sep 2008 02:29:38 -0700, Jay Chandler wrote: >I've got a scenario that I'd imagine many of you have already dealt >with, so before I roll my own solution I figured I'd ask y'all what >you've done. > >I have roughly 50 servers or so that mount their home directories (as >well as a few other things, but let's talk about /home for simplicity) >from an NFS server (isilon at the moment, shortly to become a NetApp). > >Because space is expensive, periodically central storage fills up. This >results in /home sending out notifications from all 50 servers. I'm relatively sure that you should be able to query the storage device directly for space reports (SNMP for example). This would mean you setup a host for the isolon/NetApp to monitor the storage usage. Then, your monitoring of the individual servers storage space, would really be for connectivities sake to ensure communications back to the storage. Setup service dependencies, and when the server goes down, the various other hosts won't alert that /home isn't mounted any more because it's nicely handled by the dependency. >Is there a good way to set things up so that if central storage fills up >I don't get paged by every system we've got? I don't want to give up >monitoring /home on these hosts since our configuration monkey has >screwed up before and NOT mounted the NFS share, leading to the >mountpoint on local disk filling up instead. Service Dependencies as Patrick mentioned, along with monitoring the storage solution directly. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkjhkdAACgkQK4PoFPj9H3NOLgCbBhDAdN58RoyhWGp9LnzlFSpY fVIAn35gdPXnVQSihqMqglObm1FuOYcM =9VWa -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Tue Sep 30 04:47:23 2008 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 29 Sep 2008 22:47:23 -0400 Subject: Integration with Request Tracker Message-ID: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> Has anyone done integration work or customization of nagios 3.x to at least pretend to cooperate with request tracker? Some googling has lead me to http://lists.bestpractical.com/pipermail/rt-users/2005-June/031775.html and some modules on the RT wiki for closing tickets, but the methods seem questionable at best. Has anyone gotten anything like this working, Are there any suggestions for implementation? I'd be interested in hearing how others are handling this, or if it's being done elsewhere. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frontin at irit.fr Tue Sep 30 09:13:44 2008 From: frontin at irit.fr (Jean Frontin) Date: Tue, 30 Sep 2008 09:13:44 +0200 Subject: I don't receive a changing state Message-ID: <48E1D1A8.9070905@irit.fr> Hello, I apologize if you receive this message for a second time but Ithink of that my first mail didn't start. I run nagios 2.9 on the server host A. With the command : command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_xxx I look at if processes are running on the host B with the command in "nrpe.cfg" : command[check_xxx]=/etc/nagios/check_xxx where check_xxx is a "ps -ef"... When processes are running I receive on A "processes are running". But when processes are down I receive : CHECK_NRPE: No output received from daemon the command on B "ps -ef ..." writes nothing ! I should receive, on server nagios A, an alert "critical state" ! and, of course, a "recovery" when processes are running again ! Regards -- Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 9 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boph at tdchosting.dk Tue Sep 30 09:26:48 2008 From: boph at tdchosting.dk (Bo Philip Larsen) Date: Tue, 30 Sep 2008 09:26:48 +0200 Subject: Integration with Request Tracker In-Reply-To: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> Message-ID: <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> This found on nagiosexchange http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2542.html;d=1 /Bo -----Original Message----- From: Jim Perrin [mailto:jperrin at gmail.com] Sent: 30. september 2008 04:47 To: Nagios Users mailinglist Subject: [Nagios-users] Integration with Request Tracker Has anyone done integration work or customization of nagios 3.x to at least pretend to cooperate with request tracker? Some googling has lead me to http://lists.bestpractical.com/pipermail/rt-users/2005-June/031775.html and some modules on the RT wiki for closing tickets, but the methods seem questionable at best. Has anyone gotten anything like this working, Are there any suggestions for implementation? I'd be interested in hearing how others are handling this, or if it's being done elsewhere. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.7.5/1696 - Release Date: 29-09-2008 19:25 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From angeolivier2003 at yahoo.fr Tue Sep 30 10:04:52 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Tue, 30 Sep 2008 08:04:52 +0000 (GMT) Subject: monitoring bigip F5 Message-ID: <716095.7471.qm@web26104.mail.ukl.yahoo.com> hello all, I want to know if is possible to monitoring the active and standby F5 or know the OID to have this information thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Sep 30 14:21:03 2008 From: marc at ena.com (Marc Powell) Date: Tue, 30 Sep 2008 07:21:03 -0500 Subject: I don't receive a changing state In-Reply-To: <48E1D1A8.9070905@irit.fr> References: <48E1D1A8.9070905@irit.fr> Message-ID: On Sep 30, 2008, at 2:13 AM, Jean Frontin wrote: > Hello, > > I apologize if you receive this message for a second time but Ithink > of > that my first mail didn't start. http://thread.gmane.org/gmane.network.nagios.user/57163 -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Tue Sep 30 13:39:39 2008 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 30 Sep 2008 07:39:39 -0400 Subject: Integration with Request Tracker In-Reply-To: <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> Message-ID: <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> On Tue, Sep 30, 2008 at 3:26 AM, Bo Philip Larsen wrote: > This found on nagiosexchange http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2542.html;d=1 Thanks for this, but the limitation the author lists at the bottom is just about exactly what I'm running in to. How do you track the ticket number between nagios and RT? Tracking the consistent data for the duration of an issue complicates ticket generation/closure a little bit :-) -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Sep 30 15:24:08 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Sep 2008 15:24:08 +0200 Subject: Integration with Request Tracker In-Reply-To: <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> Message-ID: <48E22878.90402@op5.se> Jim Perrin wrote: > On Tue, Sep 30, 2008 at 3:26 AM, Bo Philip Larsen wrote: >> This found on nagiosexchange http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2542.html;d=1 > > Thanks for this, but the limitation the author lists at the bottom is > just about exactly what I'm running in to. How do you track the ticket > number between nagios and RT? Tracking the consistent data for the > duration of an issue complicates ticket generation/closure a little > bit :-) > > Nagios 3 introduces notification id's. Once you can connect a notification id and an rt number, you're home free. How to make that connection is up to you though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From victor.severgnini at opservices.com.br Tue Sep 30 14:30:29 2008 From: victor.severgnini at opservices.com.br (Victor Severgnini) Date: Tue, 30 Sep 2008 09:30:29 -0300 (BRT) Subject: I don't receive a changing state In-Reply-To: <14813424.85051222777758299.JavaMail.root@mail.opservices.com.br> References: <14813424.85051222777758299.JavaMail.root@mail.opservices.com.br> Message-ID: <5421507.85131222777829620.JavaMail.root@mail.opservices.com.br> Hello Jean, Try to use check_procs ( http://nagiosplugins.org/man/check_procs ). Run on the server host A. With the command : command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs 1 1 crond Define in the nrpe.cfg Host B: command[check_procs]=/usr/local/opmon/libexec/check_procs -w $ARG1$: -c $ARG2$: -C $ARG3$ Regards. --- Victor Severgnini victor.severgnini at opservices.com.br OpServices www.opservices.com.br Phone: (55) 51 3275 3588 Mobile: (55) 51 -81944997 ----- Mensagem original ----- De: "Jean Frontin" Para: "nagios" Enviadas: Ter?a-feira, 30 de Setembro de 2008 4:13:44 (GMT-0300) Auto-Detected Assunto: [Nagios-users] I don't receive a changing state Hello, I apologize if you receive this message for a second time but Ithink of that my first mail didn't start. I run nagios 2.9 on the server host A. With the command : command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_xxx I look at if processes are running on the host B with the command in "nrpe.cfg" : command[check_xxx]=/etc/nagios/check_xxx where check_xxx is a "ps -ef"... When processes are running I receive on A "processes are running". But when processes are down I receive : CHECK_NRPE: No output received from daemon the command on B "ps -ef ..." writes nothing ! I should receive, on server nagios A, an alert "critical state" ! and, of course, a "recovery" when processes are running again ! Regards -- Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 9 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lavalamp at spiritual-machines.org Tue Sep 30 15:42:01 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 30 Sep 2008 09:42:01 -0400 (EDT) Subject: monitoring bigip F5 In-Reply-To: <716095.7471.qm@web26104.mail.ukl.yahoo.com> References: <716095.7471.qm@web26104.mail.ukl.yahoo.com> Message-ID: <20080930094046.F49907@arbitor.digitalfreaks.org> Ask F5 if the unit has a VRRP/HSRP MIB ... and if there's a table in that MIB that has all of the VRIDs, priorities, associated IPs, and States (init, master, slave). You should be able to be able to form your SNMP query that way. In Radware, we have a SOAP-XML interface, so we can do it wicked-quick w/o SNMP ~BAS On Tue, 30 Sep 2008, Kermito le kermit wrote: > hello all, I want to know if is possible to monitoring the active and standby F5 or know the OID to have this information thanks, l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at sozial-inkompetent.de Tue Sep 30 18:12:58 2008 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Tue, 30 Sep 2008 18:12:58 +0200 Subject: English and German Counters with NSClient++ Message-ID: <20080930161258.GA12005@umbach-racing.de> Hi, I was just scared by the discovery that the performance counters in Windows are language specific... (Those morons even use Umlauts!) Is it somehow possible to define all I need in counters.defs and use them with a language-independent call? I already defined some, but I don't know how to call them now. Cheers Klaus ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael at medin.name Tue Sep 30 20:46:55 2008 From: michael at medin.name (Michael Medin) Date: Tue, 30 Sep 2008 20:46:55 +0200 Subject: English and German Counters with NSClient++ In-Reply-To: <20080930161258.GA12005@umbach-racing.de> References: <20080930161258.GA12005@umbach-racing.de> Message-ID: <48E2741F.7000900@medin.name> Hello, NSClient++ (version 3 and above) do not use the "counter names" so they are no longer language specific. The coutners.defs is there as a "fall back" so it is probably never used... // Michael Medin Klaus Umbach skrev: > Hi, > > I was just scared by the discovery that the performance counters in Windows > are language specific... (Those morons even use Umlauts!) > > Is it somehow possible to define all I need in counters.defs and use them > with a language-independent call? > > I already defined some, but I don't know how to call them now. > > > > > Cheers > Klaus > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Tue Sep 30 23:22:16 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Tue, 30 Sep 2008 16:22:16 -0500 Subject: nagios on call schedule w/ escalations? Message-ID: <22DEED01-E27A-40EA-A539-A92E76A9BBCE@gmail.com> Hi guys / gals, I am working on the final stages of my nagios setup, but I'm entering territory which I haven't been before and can use some guidance. Here's what I'm trying to achieve. We have a team of 3 admins, where we rotate weeks who is on call. Of course, they aren't every other 3rd week , because of people having vacation time, etc. So some weeks people are on call for 2 weeks, or every 2 weeks, etc. What we'd like is, to have a schedule setup where the primary guy gets woken up first. But if he doesn't answer his call after an hour, it drops down to the rest of us admins. No matter if your just at home sleeping, or if your on vacation, you get pinged. After that it goes up to our manager. I can figure out the setting of people's initial schedule, as I have it looking something like this.... # contacts define contact{ contact_name user1 use generic-contact alias user1 email user1 host_notification_period user1_oncall service_notfication_period user1_oncall } define contact{ contact_name user2 use generic-contact alias user2 email user2 host_notification_period user2_oncall service_notfication_period user2_oncall } define contact{ contact_name user3 use generic-contact alias user3 email user3 host_notification_period user3_oncall service_notfication_period user3_oncall } define contact{ contact_name manager1 use generic-contact email manager1 } # groiups define contactgroup{ contact_groupname admins members user1,user2,user3 } define contactgroup{ contact_groupname managers members manager1 } # Time periods define timeperiod{ timeperiod_name user1_oncall Sept 29 - Oct 5 00:00-24:00 Oct 20 - Oct 26 00:00-24:00 Nov 17 - Nov 23 00:00-24:00 Dec 1 - Dec 7 00:00-24:00 Dec 15 - Dec 21 00:00-24:00 } define timeperiod{ timeperiod_name user2_oncall Oct 6 - Oct 12 00:00-24:00 Nov 3 - Nov 9 00:00-24:00 Nov 24 - Nov 30 00:00-24:00 Dec 22 - Dec 23 00:00-24:00 } define timeperiod{ timeperiod_name user3_oncall Oct 13 - Oct 19 00:00-24:00 Oct 27 - Nov 2 00:00-24:00 Nov 10 - Nov 16 00:00-24:00 Dec 8 - Dec 14 00:00-24:00 } Would / Does escalations trump the initial contacts? # First escalations define serviceescalation{ hostgroup_name Servers service_description * first_notification 2 last_notification 3 notification_interval 30 contact_groups admins } # Second escalations define serviceescalation{ hostgroup_name Servers service_description * first_notification 3 last_notification 8 notification_interval 60 contact_groups admins,managers } So I know this isn't quite right, as our admins are part of the admin group, but also trying to restrict when they get contacted. So I'm not really sure how to proceed with this. Thanks for any advice. Charlie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Thu Sep 25 22:10:42 2008 From: bjlockie at lockie.ca (James) Date: Thu, 25 Sep 2008 16:10:42 -0400 (EDT) Subject: fatal: Read from socket failed: Connection reset by peer Message-ID: I'm getting a: "fatal: Read from socket failed: Connection reset by peer" sometimes in the auth log when I do check_ssh on the machine that is running nagios. I can check_ssh to other exact same machines on the local network without auth errors. It only happens sometimes. I've changed timeouts on both server and client and I can't figure it out. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ojan at gfi.fr Fri Sep 26 11:26:34 2008 From: ojan at gfi.fr (Olivier JAN) Date: Fri, 26 Sep 2008 11:26:34 +0200 Subject: latency problem In-Reply-To: <48DCA515.4020804@op5.se> References: <20080925100624.qvb1ajw1s00448oo@intra.expertise-online.net> <48DB70AA.5000105@process-zero.de> <48DB8B17.1030604@op5.se> <20080925154936.e406gd3u4o0sgwws@intra.expertise-online.net> <48DB9E38.1040501@process-zero.de> <20080925171831.knpjxspyg0o00kso@intra.expertise-online.net> <48DBCDEC.3010603@op5.se> <48DCA515.4020804@op5.se> Message-ID: <20080926112634.keuvjg3hw88844kc@intra.expertise-online.net> Andreas, I've just finished the tests :-) The standard configuration doesn't work for me as i told in previous message. So i've tried the send_nsca you provide with the module and it works fine. The only drawback i see (correct me if i'm wrong) is that the module doesn't send performance data for services (so i can't use it for now). What is really cool in my case is that the latency has gone (0.219 sec for now compare to the 5000 sec before). So the problem is solved. So, for the moment, i'm using the OCP_daemon to handle the oc[hs]p commands (and it seems to just work fine) but i would rather use your module in the long term. The approach is by far more elegant than using performance configuration for the commands. So if you want to go ahead and developp it further, i would gladly help you release a production ready version of it. pnsca would be a must have in large environments like mine. Thanks for you kind help and thanks to Hendrik for pointing me in the right direction. Olivier Jan Andreas Ericsson a ?crit : > Olivier, did you get anywhere with this, or haven't you had time to > look at it yet? > > If you want, I could log into the system and see if I can find out > what's wrong. If that's not an option, contact me off-list and I'll > arrange for some faster-feedback medium through which I can better > help you resolve your problems. > > I'm rather anxious to see how the broker module works in such a > large environment :-) > > Andreas Ericsson wrote: >> Olivier JAN wrote: >>> I'm surely missing a point because the master server doesn't >>> receive checks results. i put this line in nagios.cfg without >>> quote. >>> >>> broker_module=/usr/local/nagios/lib/pnsca.so >>> /usr/local/nagios/libexec/send_nsca -H 10.10.10.10 -c >>> /usr/local/nagios/etc/send_nsca.cfg >>> >>> I also tried with quotes without success. Any idea ? >>> >> >> "grep pnsca nagios.log" should produce: >> [1222364357] Event broker module '/usr/local/nagios/lib/pnsca.so' >> initialized successfully. >> >> If you don't have that, decipher the error messages in >> the log until you get it. >> >> If you're already getting that, but it doesn't work >> anyway, you can try using the shipped send_nsca script >> instead of the one on your system. If you change the >> third line of it to say "cat > /tmp/pnsca.out", all the >> host and service check results the module receives from >> Nagios will be dumped to /tmp/pnsca.out (worst case >> scenario, you could actually do >> tail -f /tmp/pnsca.out | send_nsca -f send_nsca.cfg >> and get pretty much the same benefit, but Nagios will >> crash when /tmp/pnsca.out gets larger than 4GB). >> >> It's also a rather good idea to make sure that send_nsca >> is always running (use Nagios and check_procs for this). >> With pnsca in place, you should always have exactly one >> send_nsca process running on your system. If that one dies, >> you need to restart Nagios (until I've got time to add some >> sort of clever process control in the module, anyways). If >> you have too many, something else is going wrong, so you'll >> need to check that up manually. >> >> Thanks for testing, and good luck :) >> > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From etorres at dap.es Fri Sep 26 13:53:07 2008 From: etorres at dap.es (Esteban Torres Rodriguez) Date: Fri, 26 Sep 2008 13:53:07 +0200 Subject: Nagios and Active directory Message-ID: <48DCE942.655F.0018.0@dap.es> Hello. I'm using NSClient++ for Windows 2003 server. I want monitoring Active directory. How I do? I'm trying so: command.cfg: # 'check_ldap' command definition define command{ command_name check_ldap command_line $USER1$/check_ldap -H $HOSTADDRESS$ -b $ARG1$ } windows.cfg: define service{ use generic-service host_name server service_description Active Directory check_command check_ldap!dc=adsf,dc=asdf } Usage: check_ldap -H -b [-p ] [-a ] [-D ] That's my error. Esteban Torres Rodr?guez ?REA DE SOPORTE T?CNICO - Administraci?n de Servidores Subdirecci?n de Sistemas Inform?ticos Empresa P?blica Desarrollo Agrario y Pesquero, email: etorres at dap.es ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sat Sep 27 20:02:16 2008 From: ae at op5.se (Andreas Ericsson) Date: Sat, 27 Sep 2008 20:02:16 +0200 Subject: Database based nagios configuration In-Reply-To: <48DE5FE9.6040602@bortal.de> References: <48DE5FE9.6040602@bortal.de> Message-ID: <48DE7528.3080301@op5.se> ml at bortal.de wrote: > Hello List, > > we are a little ISP and we have currently nagio3 with normal config files. > > Now we would like to automake some tasks such as adding/cloning/copying > a host or something. > > Is there a way to use a (mysql) database as configuration source? Then > we could code some GUI which will cover our main tasks and scripts :) > Not natively no. All the tools I know of that use a database backend finish off with exporting the config to a format Nagios can read. I'd recommend you either read the docs and bite the bullet, or contact one of the many companies selling support around Nagios. Netways is germany based, although I think they cater more for larger customers and do more consultancy style thing. op5 sells a product including a webconfiguration frontend which works rather well. it groundworks is a US-based company that have a webbased frontend that's opensource (fruity), although I have no idea how well it works with Nagios 3. Altinity in the UK also do Nagios support. YMMV. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Sep 29 13:02:03 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 29 Sep 2008 12:02:03 +0100 Subject: Monitoring Shared Storage In-Reply-To: <48E0A002.7000703@sequestered.net> References: <48E0A002.7000703@sequestered.net> Message-ID: <200809291202.04096.assaf.flatto@ssp.uk.com> You can disable disk checking for the /home partition or so you still know what is going on you can set up the test from the nagios ( mount point and monitor on itself) and the rest of the /home checks dependent on this service . Assaf On Monday 29 September 2008 10:29:38 Jay Chandler wrote: > I've got a scenario that I'd imagine many of you have already dealt > with, so before I roll my own solution I figured I'd ask y'all what > you've done. > > I have roughly 50 servers or so that mount their home directories (as > well as a few other things, but let's talk about /home for simplicity) > from an NFS server (isilon at the moment, shortly to become a NetApp). > > Because space is expensive, periodically central storage fills up. This > results in /home sending out notifications from all 50 servers. > > Is there a good way to set things up so that if central storage fills up > I don't get paged by every system we've got? I don't want to give up > monitoring /home on these hosts since our configuration monkey has > screwed up before and NOT mounted the NFS share, leading to the > mountpoint on local disk filling up instead. > > Thanks-- my apologies if this wasn't clear. -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cyruspy at gmail.com Mon Sep 29 15:29:31 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 29 Sep 2008 09:29:31 -0400 Subject: Monitoring Shared Storage In-Reply-To: <48E0A002.7000703@sequestered.net> References: <48E0A002.7000703@sequestered.net> Message-ID: 2008/9/29 Jay Chandler : > I've got a scenario that I'd imagine many of you have already dealt > with, so before I roll my own solution I figured I'd ask y'all what > you've done. > > I have roughly 50 servers or so that mount their home directories (as > well as a few other things, but let's talk about /home for simplicity) > from an NFS server (isilon at the moment, shortly to become a NetApp). > > Because space is expensive, periodically central storage fills up. This > results in /home sending out notifications from all 50 servers. > > Is there a good way to set things up so that if central storage fills up > I don't get paged by every system we've got? I don't want to give up > monitoring /home on these hosts since our configuration monkey has > screwed up before and NOT mounted the NFS share, leading to the > mountpoint on local disk filling up instead. > > Thanks-- my apologies if this wasn't clear. > > -- > Jay Chandler / KB1JWQ > Living Legend / Systems Exorcist > Today's Excuse: bit bucket overflow > Can you check the FS directly on the NFS server?, that would be better, and just check that the FS is mounted on your 50 clients... To check mount points: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2588.html;d=1 http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1334.html;d=1 http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1552.html;d=1 http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2172.html;d=1 Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Mon Sep 29 18:48:38 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 29 Sep 2008 17:48:38 +0100 Subject: Monitoring Shared Storage In-Reply-To: <48E0A002.7000703@sequestered.net> References: <48E0A002.7000703@sequestered.net> Message-ID: <48E106E6.90604@networkmail.eu> Hi Jay, I assume your NFS server monitored by Nagios too? If so can you monitor the disk/partition that /home on your servers point to on the NFS machine? i.e. have a /home check_disk service configured in Nagios to your NFS server host. You could then set all 50 other machines' /home services to have a service dependency on the /home service on your NFS host. That way, if the service check on your 50 machines fails, Nagios will also check the /home service on your NFS host, and just send out the one notification. Regards, Andy Jay Chandler wrote: > I've got a scenario that I'd imagine many of you have already dealt > with, so before I roll my own solution I figured I'd ask y'all what > you've done. > > I have roughly 50 servers or so that mount their home directories (as > well as a few other things, but let's talk about /home for simplicity) > from an NFS server (isilon at the moment, shortly to become a NetApp). > > Because space is expensive, periodically central storage fills up. This > results in /home sending out notifications from all 50 servers. > > Is there a good way to set things up so that if central storage fills up > I don't get paged by every system we've got? I don't want to give up > monitoring /home on these hosts since our configuration monkey has > screwed up before and NOT mounted the NFS share, leading to the > mountpoint on local disk filling up instead. > > Thanks-- my apologies if this wasn't clear. > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From john.nagios at gmail.com Mon Sep 29 20:33:37 2008 From: john.nagios at gmail.com (Nagios User) Date: Mon, 29 Sep 2008 14:33:37 -0400 Subject: Optimize notifications In-Reply-To: <01D93FA1-DDF8-4422-9404-FB32BC37D274@conundrum.com> References: <01D93FA1-DDF8-4422-9404-FB32BC37D274@conundrum.com> Message-ID: Thanks! Matt. I will look into that. -john On Mon, Sep 29, 2008 at 1:09 PM, Matthew Pounsett wrote: > > On 29-Sep-2008, at 12:57 , Nagios User wrote: > >> Hello, >> I have an efficient nagios infrastructure in place. I want to >> highlight certain lines with bold and colors in my notification >> e-mails. Is this possible to do? If anybody have any information on >> this please help. > > The only thing that comes to mind is that you could rewrite your > notification scripts to generate HTML email. Keep in mind that if you're > sending messages to pagers/cell phones that may not work for all devices > that will be displaying the notifications. > > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Mon Sep 29 21:20:40 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 29 Sep 2008 15:20:40 -0400 Subject: host checks stopped Message-ID: <13F36D2926AD444697093282F20041B7079B7ECA@buf-ex01.cymfony.com> Nagios has stopped doing host checks. When I look at the last check it shows about 8pm Friday and no checks since. I just added 2 hosts, and for nearly an hour the host checks are pending. The scheduled time is the next minute, but a minute later (when you expect the check to happen) it gets delayed another minute. All service checks are working fine. Running Nagios 3.0.3 any ideas? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Tue Sep 30 15:40:04 2008 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 30 Sep 2008 09:40:04 -0400 Subject: Integration with Request Tracker In-Reply-To: <48E22878.90402@op5.se> References: <302ce8b50809291947j44a3c330u830a365cc8fbf282@mail.gmail.com> <02EAC0960BFECB4F9EAEC26B4972EE4471C9C24B7E@TDCHEXBE01.int.tdch.dk> <302ce8b50809300439k44cbc0c9h24d144e5965c6d20@mail.gmail.com> <48E22878.90402@op5.se> Message-ID: <302ce8b50809300640k1904f82fpeeaaab9039bbe7a3@mail.gmail.com> On Tue, Sep 30, 2008 at 9:24 AM, Andreas Ericsson wrote: > Nagios 3 introduces notification id's. Once you can connect a > notification id and an rt number, you're home free. How to make that > connection is up to you though. That'll teach me to skim the release notes rather than reading everything. That should work out reasonably well then if I can track like this. I'll start working something out on this and report back if folks are interested. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jaddy2606 at gmail.com Tue Sep 30 23:21:37 2008 From: jaddy2606 at gmail.com (Jeff) Date: Tue, 30 Sep 2008 21:21:37 +0000 Subject: Help with Critical notification In-Reply-To: References: <4EEC06819F5FB1428D05B2E3E1CC2B3D2EA5F80982@ITDALEX06.it.maxim-ic.internal> Message-ID: Unable to delete James. P Buckle On 24 Sep 2008, at 15:48, "Morris, Patrick" wrote: > I?m getting the message below, but I don?t think I should be > getting it: > > > > -------------------------------- > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: sshd > > Host: myhost - Netapp > > Address: 11.x.x.x > > State: CRITICAL > > > > Date/Time: Wed Sept 24 06:57:29 MDT 2008 > > > > Additional Info: > > > > Connection refused > > > > The reason I don?t believe I should be getting it is because I?ve > removed the hostgroup that myhost belongs to from the service defini > tion. I?ve restarted nagios, yet I still get this message. (I dete > rmined that this machine could never run ssh in its current state, s > o I removed it from that service.) > > > > Any reasons why this would be happening? I have a few other issues > that have been resolved, from my perspective, yet nagios still wants > to warn me about it. > > > > > > Either you haven?t really removed the check, or you have a copy of N > agios running on the old config. Shut down Nagios, check the proces > s list to make sure it?s really stopped, and restart it. > > > > If it still alerts after that, you need to double-check your configs. > > > > --- > ---------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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