Re: [Nagios-users-br] Check_http
Na Realidade esta é uma pagina interna da empresa, como esta maquina nao esta no dominio ela teria necessidade de autenticação. 2011/6/12 Luciano Maia lucianosup...@gmail.com Se você não tiver a necessidade de autenticar com login e senha, pode tentar dessa forma: check_http -H $HOSTADDRESS$ -e HTTP/1.1 2011/6/11 Everton Pestana evertonpest...@gmail.com Giovann, Utilize da seguinte forma: ./check_http -I armyproxy.com -H 127.0.0.1 GET / HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) Connection: close Host: 127.0.0.1 http://armyproxy.com:80/ is 433 characters STATUS: HTTP/1.1 200 OK HEADER Date: Sat, 11 Jun 2011 05:40:10 GMT Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.3.4 Last-Modified: Fri, 04 Mar 2011 01:49:16 GMT ETag: 437001c-6f-49d9e5a867f00 Accept-Ranges: bytes Content-Length: 111 Connection: close Content-Type: text/html CONTENT htmlheadMETA HTTP-EQUIV=refresh CONTENT=0;URL=/cgi-sys/defaultwebpage.cgi/headbody/body/html HTTP OK: HTTP/1.1 200 OK - 433 bytes em 0,452 segundos no tempo de reposta |time=0,452118s;;;0,00 size=433B;;;0 Caso você precise passar usuario e senha utilise a opção -b depois do endereço do proxy. -b, --proxy-authorization=AUTH_PAIR Usuário:senha em servidores proxy com autenticação básica Espero que tenha ajudado. Abs. [image: Nagios] http://www.nagios.org/ http://www.globo.com/ Everton Pestana Monitorações | DataCenter (21) 2125-2088 everton.ta...@corp.globo.com* * 2011/6/7 Giovann Restani giovann.rest...@gmail.com Pessoal estou precisando monitorar uma url, so que esta requer autenticação de proxy. o comando me retorna este erro HTTP WARNING: HTTP/1.1 400 Bad Request - 168 bytes in 0.008 second response time |time=0.008293s;;;0.00 size=168B;;;0 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- Att. Luciano Maia Cirilo http://www.nagiosnapratica.com.br LPIC-3 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users] Issue with check_http from intranet
do you use proxy servers to get to the outside world? check IE settings. Kris -Original Message- From: krishna.poth...@nokia.com [mailto:krishna.poth...@nokia.com] Sent: Mon 13/06/2011 20:30 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Issue with check_http from intranet Hi, I am not able to use check_http from intranet. If I do ./check_http H google.com It is giving socket timeout ./check_http -H nokia.com It is working fine. Please help 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. winmail.dat-- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to monitor specific windows services using nsclient++
Hello, Just a quick clarification it is not just you who prefer check_nrpe it it is infact the prefered way to interact with NSClient++. check_nt is mainly for legacy support only. Most of the newer features will not be available via check_nt. // Michael Medin 2011-06-08 20:43 C. Bensend skrev: Thanks Benny,..but still i couldn't understand is check_nrpe is used for monitoring windows servers because what i know it's for monitoring remote linux servers only.. If yes do i need to install check_nrpe on my Nagios Server.. Also i am already monitoring these basic things but i want to monitor specific services for e.g say mssql running or down..Similarly other important windows services... NSClient++ listens for NRPE requests as well, on TCP port 5666. Hence, if you have NSClient++ installed on your Windows systems, you can use check_nrpe to talk to them. And yes, then you'd need to install the check_nrpe tool on your Nagios server. I prefer using check_nrpe, I only use check_nt for a very small number of services. The command definition I gave you will check a service on a remote Windows server to see if it's running or not. So, open up your Windows services snap-in, and you can check any of the services listed the same way. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Issue with check_http from intranet
Is nokia.com an external IP from your net or is it resolved to a local adress? Regards, Axel Am Montag, 13. Jun. 11, 21:30:26 schrieb krishna.poth...@nokia.com: Hi, I am not able to use check_http from intranet. If I do ./check_http H google.com It is giving socket timeout ./check_http -H nokia.com It is working fine. Please help -- Axel Rosenski - Administration - __ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Geschäftsführer: Carsten Kellmann Registergericht Gießen HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosen...@wave-computer.de http://www.wave-computer.de -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] force event_handler
Hi all I need to execute a command every time an host state or a service state change (to use send_nsca). I supposed was a normal behaviour, but something is going wrong. Right now, the command configured in event_handler run only when the state changes from OK to CRITICAL . never from CRITICAL to OK Any idea ? Thanks Marco -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] force event_handler
Marco, I think what you want is the OCSP or OSHP command (Obsessive Compulsive Service/Host Processor) I think event handlers are more for taking corrective action. The example I saw was to log into a web server and restart the apache service when the check_web service went critical. I'm using the OHCP command that uses send_nsca for every little thing, regardless of state. That's the nature of the beast. Now, I'm sure you can tailor the command to only send what you want. I might be out in left field though. Hope it helps. Cheers! Craig Craig Stewart Systems Integration Analyst craig.stew...@corp.xplornet.com Xplornet - Broadband, Everywhere On 06/14/2011 11:16 AM, Marco Borsani wrote: Hi all I need to execute a command every time an host state or a service state change (to use send_nsca). I supposed was a normal behaviour, but something is going wrong… Right now, the command configured in “event_handler” run only when the state changes from OK to CRITICAL … never from CRITICAL to OK Any idea ? Thanks Marco -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] R: force event_handler
Thanks. I already set OCHP and OCSP , using same command configured in event_handler. Regards Marco -Messaggio originale- Da: Craig Stewart [mailto:craig.stew...@corp.xplornet.com] Inviato: martedì 14 giugno 2011 16:59 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] force event_handler Marco, I think what you want is the OCSP or OSHP command (Obsessive Compulsive Service/Host Processor) I think event handlers are more for taking corrective action. The example I saw was to log into a web server and restart the apache service when the check_web service went critical. I'm using the OHCP command that uses send_nsca for every little thing, regardless of state. That's the nature of the beast. Now, I'm sure you can tailor the command to only send what you want. I might be out in left field though. Hope it helps. Cheers! Craig Craig Stewart Systems Integration Analyst craig.stew...@corp.xplornet.com Xplornet - Broadband, Everywhere On 06/14/2011 11:16 AM, Marco Borsani wrote: Hi all I need to execute a command every time an host state or a service state change (to use send_nsca). I supposed was a normal behaviour, but something is going wrong Right now, the command configured in event_handler run only when the state changes from OK to CRITICAL never from CRITICAL to OK Any idea ? Thanks Marco -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] question about recovery messages
Hi Everyone, I just joined the forum today, so I will appologize up front for the somewhat basic nature of my question. I've not been able to find anything about it yet, it's possible I haven't spent enough time searching for my answer, but if someone can point me in the right direction it would be appreciated. So I have been running Nagios for well over a year in a very limited capacity in my environment. I basically installed it originally as 3.0.3 and set up about a dozen windows servers to monitor CPU, memory and disk utilization. For this it has been great. I knew there was so much more Nagios could help with so I've been looking for opportunities that it can add value to support of our infrastructure. A few weeks ago someone in our web group complained about constantly having to monitor our website to see if it is up or not, as there have been some stability issues with it, and it runs on six load balanced web servers. I suggested a nagios service check. So I am using check_website_response by Chris Freeman from the exchange, and every now and then I get critical messages, but then I never get a recovery on the critical message, or I would expect based on my current settings that I would get a reminder an hour later and I don't. I am just curious to know if anyone else has inconsistencies with email alerts on state changes? Thanks in advance. -Paul -- IP addresses and names have been changed to protect the innocent. RESPONSE: CRITICAL - http://10.1.0.131 does not contain any data My template looks like this: #=== === # Service Templates #--- --- define service{ nameNWKService register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! active_checks_enabled1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check1 ; Active service checks should be parallelized obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled1 ; Service notifications are enabled event_handler_enabled1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data1 ; Process performance data retain_status_information1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval1 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined contact_groups websiteresponse; Notifications get sent out to everyone in the 'admins' group notification_options u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 120 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time } ## Episode3 define host{ use NwkHost host_name Episode3 alias Episode3 address Episode3 parents 3524,3524B } define service{ use NWKService host_name Episode3 service_description Response Time - Homepage servicegroups www-response-time check_command check_website_response!http://10.1.0.131/!5000!3 } -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] pnp4nagios and huge spool directory
hi all, quick question, with i'm sure a quick switch answer...lol I setup pn4nagios quite some time ago, and it works fine. BUT, now I see tonnes of performance data in the /usr/local/pnp4nagios/var/spool directory how come they don't get deleted? is there a switch somewhere that needs to be added? is it a chown/chmod issue? thanks! William Ottley Systems Administrator CMI Canada 115 Idema Road Markham ON, L3R 1A9 Phone: 905.752.2100 x342 Direct: 905.754.4825 Fax: 905.475.7061 This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If the reader of this is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by return email and delete this message from your system. Thank you.-- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] pnp4nagios problem
I have successfully configured pnp4nagios and it was running fine with my nagios-3.2.3 also showing pop up graphs and all, but sometime ago it automatically stopped and there is no further graphing of performance parameters. On looking in the log it says exiting... couldn't find the Nagios environment. Have anyone faced this problem and can help me. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 http://cens.cdac.in/ -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Help required on Nagios Setup
Hi Allnbsp;nbsp;nbsp;nbsp;Let me introduce myself. My name is Sunil Angane and I am working with Softenger (I) Pvt. Ltd., an IT Infrastructure Management Services company.nbsp;nbsp;nbsp;nbsp;We are doing Nagios setup at one of our prestigious client in Mumbainbsp;to covernbsp;OS and DB monitoring. As we are doing this for the first time, we need guidance from you all on this.nbsp;nbsp;nbsp;nbsp;Under OS part we are covering AIX, LINUX, SOLARIS and WINDOWS, under DB part ORACLE, SQL, SYBASE and DB2. Kindly share the installation / configuration documents related to above listed OS and DB flavors.nbsp;nbsp;nbsp;nbsp;Kindly let me know if anyone from negios user is residing in Mumbai or India so that it will be easier for me to contact. nbsp; Thanks amp; Regds ...Sunil S. AnganeCell : +91 99229 69447-- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help required on Nagios Setup
On Tue, Jun 14, 2011 at 10:28 PM, sunilang...@rediffmail.com wrote: Hi All Let me introduce myself. My name is Sunil Angane and I am working with Softenger (I) Pvt. Ltd., an IT Infrastructure Management Services company. We are doing Nagios setup at one of our prestigious client in Mumbai to cover OS and DB monitoring. As we are doing this for the first time, we need guidance from you all on this. Under OS part we are covering AIX, LINUX, SOLARIS and WINDOWS, under DB part ORACLE, SQL, SYBASE and DB2. Kindly share the installation / configuration documents related to above listed OS and DB flavors. Kindly let me know if anyone from negios user is residing in Mumbai or India so that it will be easier for me to contact. Do you really expect the community to execute your contract for you? Interesting! Start here! http://wiki.nagios.org/index.php/Main_Page If you have directed questions that show you have done some reading and educated yourself you will get useful answers from the group. - Max -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null