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