Re: [Nagios-users] (no subject)
> Have you looked at the output of ./configure --help? There > should be a line in there to specify the LDAP location. > > -Jason Martin There isn't a possinility to specify the LDAP location, but only mysql, postgresql and openssl --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ 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] check_http
hello What can I do for using check_http plugin? What the correct configuration is in the checkcommand.cfg and services.cfg files? I just tried many times ... Thanks to all Carlo --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ 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] PHP parse error in NLG
Hello, just installed NLG 1.0.2, but stuck with a blank page on hitting URL. In apache error log I have: [client 192.168.1.5] PHP Parse error: parse error, unexpected T_STRING in /usr/share/nagios/client/s3_client.php on line 327 Any advice for me? Nagios 2.0 Thank you, Carlo Piccini - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ 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: PHP parse error in NLG
Hello, sorry for not coming back soon on the issue. I had a forced time off nagios... :-( I solved the problem installing PHP 5.2 as suggested. So thanks for the reply. I have a question about the configuration: I use authentication in nagios web interface, and I use authenticated contacts to give access to only certain hosts/services to users. Example: User johndoe is a contact for server1 and server3 User foobar is a contact for server2 In nagios web interface user johndoe can only access services residing on server1 and server3, while user foobar only sees server2. I expected this to be true for NLG too, but I found that using $ServerFeed_AuthEnabled = 1 and indicating the user/password in the config files, gives user johndoe access to server1, server2, server3. The same apply for user foobar. Am I missing something? Thanks, Carlo Piccini _ Da: Andy Shellam (Mailing Lists) [mailto:[EMAIL PROTECTED] Inviato: domenica 25 febbraio 2007 12.51 A: Carlo Piccini Cc: nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] PHP parse error in NLG Hi Carlo, What version of PHP are you running? Line 327 in the code is a comparison of two classes, using the "instanceof" operator, which was introduced in PHP 5 (http://uk2.php.net/manual/en/language.operators.type.php). It sounds like you have PHP 4, which is not supported by NLG. Andy. Carlo Piccini wrote: Hello, just installed NLG 1.0.2, but stuck with a blank page on hitting URL. In apache error log I have: [client 192.168.1.5] PHP Parse error: parse error, unexpected T_STRING in /usr/share/nagios/client/s3_client.php on line 327 Any advice for me? Nagios 2.0 Thank you, Carlo Piccini !DSPAM:37,45e0cf26925177317654902! _ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> &p=sourceforge&CID=DEVDEV !DSPAM:37,45e0cf26925177317654902! _ ___ 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 !DSPAM:37,45e0cf26925177317654902! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios Looking Glass - Authentication
I have a question about configuration: I use authentication in nagios web interface, and I use authenticated contacts to give access to only certain hosts/services to users. Example: User johndoe is a contact for server1 and server3 User foobar is a contact for server2 In nagios web interface user johndoe can only access services residing on server1 and server3, while user foobar only sees server2. I expected this to be true for NLG too, but I found that using $ServerFeed_AuthEnabled = 1 and indicating the user/password in the config files, gives user johndoe access to server1, server2, server3. The same apply for user foobar. Am I missing something? Thanks, Carlo Piccini - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] unknown status
I have problem with agents (Nsclient++ 0.3.7) on some windows 2003 servers. After a ungraceful shutdown of a windows system I receive from nagios (version 3.2.0 with nagios-plugins-1.4.14) "status unknown" messages (No host down). I still receive these alerts even when the server is back online. I need to restart the agent manually. Sometimes I receive Warning messages with the follwing additional information "could not fetch information from server " . After restarting the agent on the windows server everything is fine. Is there a solution for these unknown status ? Additional info: Nagios is running on SLES11 I use the check_nt for checking the windows services. Thanks in advance, Carlo -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ 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] unknown status
On 07/09/10 10:44, Maesen Carlo (ICTS) wrote: I have problem with agents (Nsclient++ 0.3.7) on some windows 2003 servers. After a ungraceful shutdown of a windows system I receive from nagios (version 3.2.0 with nagios-plugins-1.4.14) "status unknown" messages (No host down). I still receive these alerts even when the server is back online. I need to restart the agent manually. Sometimes I receive Warning messages with the follwing additional information "could not fetch information from server " . After restarting the agent on the windows server everything is fine. Is there a solution for these unknown status ? Additional info: Nagios is running on SLES11 I use the check_nt for checking the windows services. Thanks in advance, Carlo It sounds like your nsclient++ isn't configured to start up on boot time. Check the windows box services setting , and check the time out and load on the box . Assaf The client is configured to start up on boot time. The agent is running, but I need to restart it. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ 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] check_nt -v COUNTER not working
Hello, The output of the following command : check_nt -H serverx -p 12489 -s password -v COUNTER -l "\\Server\\Files open","Open files is %.f " -w 800 -c 900 is: Open files is 701 | 'Open files is %.f '=701.00%;800.00;900.00; But in Nagios this check has the status "Critical" . What may be the cause ? define command{ command_namecheck_nt_openfiles command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s password -v COUNTER -l "\\Server\\Files open","Open files is %.f " -w $ARG1$ -c $ARG2$ } define service{ use service-prod host_name serverx service_description Counter OpenFiles check_command check_nt_openfiles!300!300 } We are running nagios 3.2.0 on SLES11 -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Wrong Next Scheduled Check
Hello, Nagios shows a wrong Wrong Next Scheduled Check for all services and hosts. Here is an example: Current Status: OK (for 60d 1h 55m 0s) Status Information: DISK OK - free space: / 9235 MB (96% inode=98%): Performance Data: /=335MB;9578;9578;0;10083 Current Attempt:1/3 (HARD state) Last Check Time: 10-31-2010 22:36:44 Check Type: ACTIVE Check Latency / Duration: 1233.755 / 0.910 seconds Next Scheduled Check: 11-01-2010 23:00:00 Last State Change:09-02-2010 11:26:26 Last Notification:N/A (notification 0) Is This Service Flapping?NO (0.00% state change) In Scheduled Downtime?NO Last Update: 11-01-2010 12:21:23 ( 0d 0h 0m 3s ago) The config of nagios did not change. The service-template define service{ namegeneric-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 is_volatile 0 check_period24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval2 # contact_groups admins notification_optionsw,u,c,r # notification_interval 0 # notification_period 24x7 register 1 } # Production service definition template define service{ nameservice-prod use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register1 } A service example: == define service{ use service-prod host_name serverx service_description FS / check_command check_nrpe_disk!5%!5%!/ } Can someone explain this issue ? Thanks in advance. Carlo -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Wrong Next Scheduled Check
Is this a known bug for version 3.2.0 ? I can not find some info about this. From: Greg Pangrazio [mailto:pangr...@gmail.com] Sent: maandag 1 november 2010 12:42 To: Nagios Users List Subject: Re: [Nagios-users] Wrong Next Scheduled Check Did daylight saving end in your timeline this weekend? If so check out the dst patches or upgrade nagios to fix the scheduled check problem Greg On Nov 1, 2010 6:38 AM, "Maesen Carlo (ICTS)" mailto:carlo.mae...@maastrichtuniversity.nl>> wrote: > Hello, > > Nagios shows a wrong Wrong Next Scheduled Check for all services and hosts. > > Here is an example: > Current Status: OK (for 60d 1h 55m 0s) > Status Information: DISK OK - free space: / 9235 MB (96% inode=98%): > Performance Data: /=335MB;9578;9578;0;10083 > Current Attempt: 1/3 (HARD state) > Last Check Time: 10-31-2010 22:36:44 > Check Type: ACTIVE > Check Latency / Duration: 1233.755 / 0.910 seconds > Next Scheduled Check: 11-01-2010 23:00:00 > Last State Change: 09-02-2010 11:26:26 > Last Notification: N/A (notification 0) > Is This Service Flapping? NO (0.00% state change) > In Scheduled Downtime? NO > Last Update: 11-01-2010 12:21:23 ( 0d 0h 0m 3s ago) > > The config of nagios did not change. > > The service-template > > > define service{ > name generic-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > check_period 24x7 > max_check_attempts 1 > normal_check_interval 5 > retry_check_interval 2 > # contact_groups admins > notification_options w,u,c,r > # notification_interval 0 > # notification_period 24x7 > register 1 > } > > > # Production service definition template > > define service{ > name service-prod > use generic-service > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 240 > notification_period 24x7 > register 1 > } > > A service example: > == > define service{ > use service-prod > host_name serverx > service_description FS / > check_command check_nrpe_disk!5%!5%!/ > } > > Can someone explain this issue ? > Thanks in advance. > > Carlo -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_ssh plugin setup problem , please help me
hi all. i have nagios 2.10 on centos 5 , i'm trying to install check_ssh plugin ( in my system is in /usr/lib64/nagios/plugins ) in /etc/nagios/localhost.cfg i have add this line : define service{ use local-service ; Name of service template to use host_namelocalhost service_description Check ssh check_commandcheck-ssh } and in /etc/nagios/command.cfg this line : # 'check_ssh' command definition define command{ command_namecheck_ssh command_line$USER1$/check_ssh -H $HOSTADDRESS$ } but if i try a check with nagios -v nagios.cfg i have this error : # nagios -v nagios.cfg Nagios 2.10 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 10-21-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: Service check command 'check-ssh' specified in service 'Check ssh' for host 'localhost' not defined anywhere! Checked 10 services. Checking hosts... Checked 1 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 24 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 1 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. i'm not an expert of nagios but i have succesfull setup some standard plugin ( like check_http,check_ftp,check_smtp ..etc ) thanks for your help carlo - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] check_ssh plugin setup problem , please help me
thanks guys now is working thanks a lot :) On Fri, Mar 14, 2008 at 7:48 PM, Carlo Alberto Bedogni <[EMAIL PROTECTED]> wrote: > hi all. > > i have nagios 2.10 on centos 5 , i'm trying to install check_ssh plugin ( > in my system is in /usr/lib64/nagios/plugins ) > in /etc/nagios/localhost.cfg i have add this line : > > define service{ >use local-service ; Name of > service template to use >host_namelocalhost >service_description Check ssh >check_commandcheck-ssh >} > > > and in /etc/nagios/command.cfg this line : > > # 'check_ssh' command definition > define command{ >command_namecheck_ssh >command_line$USER1$/check_ssh -H $HOSTADDRESS$ >} > > > > but if i try a check with nagios -v nagios.cfg > > i have this error : > > # nagios -v nagios.cfg > > Nagios 2.10 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 10-21-2007 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Error: Service check command 'check-ssh' specified in service 'Check ssh' > for host 'localhost' not defined anywhere! > Checked 10 services. > Checking hosts... > Checked 1 hosts. > Checking host groups... > Checked 1 host groups. > Checking service groups... > Checked 0 service groups. > Checking contacts... > Checked 1 contacts. > Checking contact groups... > Checked 1 contact groups. > Checking service escalations... > Checked 0 service escalations. > Checking service dependencies... > Checked 0 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 0 host dependencies. > Checking commands... > Checked 24 commands. > Checking time periods... > Checked 4 time periods. > Checking extended host info definitions... > Checked 0 extended host info definitions. > Checking extended service info definitions... > Checked 0 extended service info definitions. > Checking for circular paths between hosts... > Checking for circular host and service dependencies... > Checking global event handlers... > Checking obsessive compulsive processor commands... > Checking misc settings... > > Total Warnings: 0 > Total Errors: 1 > > ***> One or more problems was encountered while running the pre-flight > check... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > > i'm not an expert of nagios but i have succesfull setup some standard > plugin ( like check_http,check_ftp,check_smtp ..etc ) > > thanks for your help > carlo > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] setup check_apache.pl
hi all i have nagios 2.10 on centos 5 , i'm trying to install check_apache.pl but give me a error 127 . check_apache.pl is locate in /usr/lib64/nagios/plugins/contrib/ in /etc/nagios/localhost.cfg i have add this lines : define service{ use local-service ; Name of service template to use host_namelocalhost service_description Check apache check_commandcheck_apache.pl } and in /etc/nagios/command.cfg this lines: # 'check_apache.pl' command definition define command{ command_namecheck_apache.pl command_line$USER1$/check_apache.pl -H $HOSTADDRESS$ } the plugin check-apache come with a standard rpm for centos , and perl language is installed because i use awstats... thanks all :) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] setup check_apache.pl
hi diego, i have try to change the address but is the same [EMAIL PROTECTED] contrib]# ./check_apache.pl -H 80.150.x.x HTTP request failed thanks for your help ciao carlo On Sat, Mar 15, 2008 at 5:51 PM, Diego Giurgola <[EMAIL PROTECTED]> wrote: > You should change $HOSTADDRESS$ with your actual ip address ;) > Diego. > > > 2008/3/15, Carlo Alberto Bedogni <[EMAIL PROTECTED]>: > > > > thanks for your answer but i don't have nagios user on my sistem , i > > have only set the password for nagiosadmin ( with > > > > *htpasswd -c /etc/nagios/htpasswd.users nagiosadmin ) > > > > * > > > > i have try to run the script as root : > > > > [EMAIL PROTECTED] contrib]# ./check_apache.pl -H $HOSTADDRESS$ > > HTTP request failed > > > > > > thanks > > > > On Sat, Mar 15, 2008 at 2:55 PM, Diego Giurgola <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > > > 2008/3/15, Carlo Alberto Bedogni <[EMAIL PROTECTED]>: > > > > > > > sorry but i'm pretty new to nagios , how can run script as nagios > > > > user ? > > > > > > > > ./check_apache.pl ? > > > > > > > > > Yes, and then the arguments. The most important thing to remember is > > > to run the script as the nagios user. > > > > > > thanks a lot > > > > carlo > > > > > > > > > Bye. Diego. > > > > > > > > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios-users Digest, Vol 22, Issue 28
Hi Tom, and all i have solved with the check_http plugin , it's work very fine ..:) the plugin check_apache.pl come with the package nagios-plugins.x86_64 1.4.11-1.el5.rf from the rpmforge repository thank all !! On Sun, Mar 16, 2008 at 8:21 PM, <[EMAIL PROTECTED]> wrote: > Send Nagios-users mailing list submissions to >nagios-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit >https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to >[EMAIL PROTECTED] > > You can reach the person managing the list at >[EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: setup check_apache.pl (Tom Throckmorton) > > > -- > > Message: 1 > Date: Sat, 15 Mar 2008 15:44:28 -0400 > From: Tom Throckmorton <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] setup check_apache.pl > To: Carlo Alberto Bedogni <[EMAIL PROTECTED]> > Cc: nagios-users@lists.sourceforge.net > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > On Mar 15 10:57, Carlo Alberto Bedogni wrote: > > hi all > > > > i have nagios 2.10 on centos 5 , i'm trying to install check_apache.pl > but > > give me a error 127 . > > > > check_apache.pl is locate in /usr/lib64/nagios/plugins/contrib/ > > > > in /etc/nagios/localhost.cfg i have add this lines : > > > > define service{ > >use local-service ; Name of > > service template to use > >host_namelocalhost > >service_description Check apache > >check_commandcheck_apache.pl > >} > > > > > > and in /etc/nagios/command.cfg this lines: > > > > # 'check_apache.pl' command definition > > define command{ > > command_namecheck_apache.pl > > command_line$USER1$/check_apache.pl -H $HOSTADDRESS$ > > } > > Carlo, > > Assuming you have $USER1$ set to /usr/lib64/nagios/plugins/, then you need > to > change that command_line to: > > > command_line$USER1$/contrib/check_apache.pl -H $HOSTADDRESS$ > > Regardless, I think this plugin isn't going to do what you want - it's > very > old, and doesn't work against Apache 2.x, which is the default on CentOS > 5. If > you think checking via mod_status is really what you want/need, then > someone > updated this script a while ago to work with 2.x: > > http://readlist.com/lists/lists.sourceforge.net/nagios-users/0/320.html > > ...are you really just looking to make sure your local Apache instance is > alive? Have you tried check_http? > > > the plugin check-apache come with a standard rpm for centos... > > Out of curiosity - which rpm are you using and from where? > > Cheers, > > -tt > > -- > Tom Throckmorton > OIT - CSI > Duke University > > > > -- > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > -- > > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 22, Issue 28 > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] check_hpasm errors
Since yesterday I noticed check_hpasm is not working properly. Sometimes I receive time-outs, other times I receive hardware-errors. I run the check 3 times and receive different output: ./libexec/check_hpasm -H um2103 -C ASPSNMP WARNING - status of all 12 dimms is n/a (please upgrade firmware), System: 'proliant dl585 g1', S/N: 'GB8625BM0C', ROM: 'A01 02/14/2007' ./libexec/check_hpasm -H um2103 -C ASPSNMP OK - System: 'proliant dl585 g1', S/N: 'GB8625BM0C', ROM: 'A01 02/14/2007', hardware working fine, da: 2 logical drives, 4 physical drives ./libexec/check_hpasm -H um2103 -C ASPSNMP UNKNOWN - check_hpasm timed out after 60 seconds I already have increased the timeout to 60 seconds. I'm using nagios 3.2.0 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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