Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds
What happens when you run it from the command line as the Nagios user? I had a similar issue that required the check to run as root. Luis -Original Message- From: Assaf Flatto [mailto:nag...@flatto.net] Sent: Wednesday, May 19, 2010 10:59 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds Michael Maxwell wrote: Hello, Just installed nagios 3.2.1 following the docs at http://nagios.sourceforge.net/docs/3_0/quickstart.html Everything starts up normally, web interface is fine, can login, enable/disable checks, etc... However, every 2 hours exactly, I'm getting the following alert in email: From: nagios Subject: ** PROBLEM Host Alert: localhost is DOWN ** * Nagios * Notification Type: PROBLEM Host: localhost State: DOWN Address: 127.0.0.1 Info: (Return code of 127 is out of bounds - plugin may be missing) Date/Time: Tue May 18 15:00:15 PDT 2010 If I go to check the services, everything is green. This is coming from a fresh install with nothing special configured. I've googled until my eyes glazed over and no one seems to report this happening with localhost. I've checked for the plugins, checked permissions, etc... The best I can tell, it's all as it should be. I'm sure I've missed some simple detail somewhere, but it's eluding me at the moment. Any help on solving this problem would be greatly appreciated. Below, I've included logfile contents as well as every detail I could think of on how the system is setup. Thanks [1274215437] Nagios 3.2.1 starting... (PID=5185)[1274215437] Local time is Tue May 18 13:43:57 PDT 2010 [1274215437] LOG VERSION: 2.0 [1274215437] Finished daemonizing... (New PID=5186)[1274215447] Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually e xists. [1274215447] HOST ALERT: localhost;DOWN;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215477] Warning: Return code of 127 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you'r e trying to run actually exists. [1274215477] SERVICE ALERT: localhost;Current Load;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215517] Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually e xists. [1274215517] HOST ALERT: localhost;DOWN;SOFT;2;(Return code of 127 is out of bounds - plugin may be missing)[1274215517] Warning: Return code of 127 for check of service 'Current Users' on host 'localhost' was out of bounds. Make sure the plugin you' re trying to run actually exists. [1274215517] SERVICE ALERT: localhost;Current Users;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215557] Warning: Return code of 127 for check of service 'HTTP' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. [1274215557] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215587] Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually e xists. [1274215557] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)[1274215587] Warning: Return code of 127 for check of host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually e xists. [1274215587] HOST ALERT: localhost;DOWN;SOFT;3;(Return code of 127 is out of bounds - plugin may be missing) [1274215597] Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. [1274215597] SERVICE ALERT: localhost;PING;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing) [1274215627] Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists. [1274215627] SERVICE ALERT: localhost;Root Partition;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing) Detailed information on the system, what's installed, etc...: CentOS 5.4 Linux [deleted] 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux Nagios 3.2.1 Nagios Plugins 1.4.14 Apache httpd 2.2.15 PHP 5.3.2 $ grep nagios /etc/passwd nagios:x:9000:9001::/home/nagios:/bin/bash $ grep nag /etc/group nagcmd:x:9000:apache nagios:x:9001:nagios Options used to build nagios: ./configure --with-command-group=nagcmd \ --prefix=/opt/nagios-3.2.1 \ --with-nagios-user=nagios \ --with-httpd-conf=/opt/httpd/conf Options
[Nagios-users] (no subject)
Good Day every one, I am looking for a way to present the Tactical Monitoring Overview page as part of a dashboard (without the left hand column) can any one point me in the direction to achieve this. Thanks, Luis -- ___ 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] General Question..
Hello and good to all, I was wondering if there is possibility to have Nagios submit a script when a certain value is exceeded. I heard that this is possible and would appreciate any guidance on how to achieve this. Thanks in advance. Luis Lacayo Chicago Public schools. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] General Question..
Thank you I just could not think of the name.. Thanks again, Luis -Original Message- From: Marc Powell [mailto:li...@xodus.org] Sent: Thursday, April 08, 2010 8:28 AM To: Nagios Users List Subject: Re: [Nagios-users] General Question.. On Apr 8, 2010, at 7:35 AM, Lacayo, Luis F wrote: Hello and good to all, I was wondering if there is possibility to have Nagios submit a script when a certain value is exceeded. I heard that this is possible and would appreciate any guidance on how to achieve this. These are Event Handlers. == Marc -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] NRPE - Event handler.
Good Morning all... I have a question, that someone out there might be able to help me with. I want to setup an event handler, to restart a windows service if a service changes to an UNKNOW Status. I am not sure of how to set this up on the services.cfg side. Any help is greatly appreciated. Thanks, Luis -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ 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 notifications
It is my understanding that Nagios Version 3+ allows you to put individual contacts per service. Luis From: Phillips, Dustin B (DBphillips) [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 1:47 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios notifications Hi -- I apologize in advance as this question is difficult to type without running around in circles but here goes: We're having trouble configuring Nagios service notifications to go to specific contacts for specific hosts. For instance, we have contact1 who is a member of contactgroup1. We have host1 who also has a contact group of contactgroup1. That association is working. However, we have service1 which runs on host1, host2, and host3, and has contact groups contactgroup1 and contactgroup2. Whenever host2, which is not associated with contact1 has a notification for this service, contact1 is receiving the notification. How do we limit notifications for service1 to only go to contact1 if the host having trouble is host1? Thanks in advance, Dustin E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] OWA - check
Good Morning everyone, Just wondering if any one out there can point me to a plugin that checks OWA? Thanks and have a great day. Luis Luis F. Lacayo Chicago Public Schools - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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] Notification Issues.
HI Everyone, Hope all is well with all of you, I have a problem that someone might be able to help. I am running Nagios 2.7 on RHES 4.0. My problem is that I have several contact groups, and a wrong group is receiving the notifications. I have looked at the host setup, the service setup and the templates, they all look like they are set up correctly. AM I missing something here? define service{ use ping-service host_name co-csm01 service_description REAL-10.129.210.69 XXXMAIL contact_groups wan check_command check_slbrealstate!2.7.67.80.83.77.65.73.76.10.129.210.69.0!10.129.210.69!10.129.1.1 } define host{ use core-server host_name co-csm01 alias Cisco Load Balancer address 10.129.208.4 # parents co6509-1 co6509-2 } define service{ nameping-service is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval2 notification_interval 120 notification_period 24x7 notification_optionsc,r active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 register0 } So the only people that should be notified should be the ones in the wan group.. but others are getting notified, I just can't place my finger on this one. Luis Luis F. Lacayo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Émerson Brum Sent: Monday, July 16, 2007 8:08 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] implementing Hello list, I have been trying to understand the nagios code for a long time. Nagios has a complex code event thought I understand C. I would like to add two fields more to show those information in two screens (extinfo.cgi and status.cgi). My ideia is quiet simple: type in localhost.conf a text or a simple word and this same word appears in extinfo.cgi and status.cgi. Actually I could do it, changing some lines in some files but all the commands from extinfo screen are not working anymore. Is there someone who has already done something like this before or has anyone with some ideia? Thank you so much for your attention. Att. Émerson P. Brum --- Assessor de Suporte- Telemática / NOC E-mail: [EMAIL PROTECTED] (51) 3358-8886 --- Confederação Sicredi - Porto Alegre - RS SICREDI: http://www.sicredi.combr http://www.sicredi.com.br As informacoes contidas neste e-mail e nos arquivos anexados podem ser informacoes confidenciais ou privilegiadas. Caso voce nao seja o destinatario correto, apague o conteudo desta mensagem e notifique o remetente imediatamente. - 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] check_dhcp question...
Hi Everyone, I am doing a check of the DHCP server and when I run the check_dhcp manually, I get a reply that there were no DHCP OFFERS. ./check_dhcp -s 10.129.177.16 -r 10.129.177.240 DHCP problem: No DHCPOFFERs were received. But when I look at my server on the system messages I see the follwing. Jun 27 12:47:03 co-ops01 dhcpd: DHCPDISCOVER from 00:14:38:bb:fc:21 via eth0 Jun 27 12:47:04 co-ops01 dhcpd: DHCPOFFER on 10.129.177.240 to 00:14:38:bb:fc:21 via eth0 I don't see anything on the Nagios server log.. Any Ideas on what I am doing wrong. Luis F. Lacayo Chicago Public Schools OTS / UNIX Administration [EMAIL PROTECTED] Office: 773-553-3835 Cell: 773 203-4493 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of adi yesaya Sent: Tuesday, June 26, 2007 1:12 PM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Time-periods Issue It's about time periods again, It's 20:00 o'clock right now and I defined a time period like this: define timeperiod{ timeperiod_name night alias Check at night only sunday 22:00-23:00 monday 22:00-23:00 tuesday 22:00-23:00 wednesday 22:00-23:00 thursday 22:00-23:00 friday 22:00-23:00 saturday 22:00-23:00 } using this settings, i restarted Nagios and it schedules all plug-ins at 22:00 without interleaving them. But if i set the timeperiod to: define timeperiod{ timeperiod_name night alias Check at night only sunday 20:15-21:15 monday 20:15-21:15 tuesday 20:15-21:15 wednesday 20:15-21:15 thursday 20:15-21:15 friday 20:15-21:15 saturday 20:15-21:15 } and restart nagios, on the web interface I can see Nagios interleaving all the checks right away. Why if i schedule it couple hours ahead Nagios doesn't interleave the chekcs but if i schedule it couple minutes ahead, it interleaves all the check? these are my configuration: service_interleave_factor=s max_service_check_spread=60 service_inter_check_delay_method=s Regards, Adi Yesaya image001.png- 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
Re: [Nagios-users] check_dhcp question...
Here is the output of the verbose. [EMAIL PROTECTED] libexec]# ./check_dhcp -v -s 10.129.177.16 Requested server address: 10.129.177.16 DHCP socket: 3 Hardware address: 001438bbfc21 DHCPDISCOVER to 255.255.255.255 port 67 DHCPDISCOVER XID: 756149105 (0x2D11EB71) DHCDISCOVER ciaddr: 0.0.0.0 DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER giaddr: 0.0.0.0 send_dhcp_packet result: 548 No (more) data received Result=ERROR Total responses seen on the wire: 0 Valid responses for this machine: 0 DHCP problem: No DHCPOFFERs were received. Luis Luis F. Lacayo Chicago Public Schools OTS / UNIX Administration [EMAIL PROTECTED] Office: 773-553-3835 Cell: 773 203-4493 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Wednesday, June 27, 2007 2:32 PM To: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_dhcp question... -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Lacayo, Luis F Sent: Wednesday, June 27, 2007 1:41 PM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_dhcp question... Hi Everyone, I am doing a check of the DHCP server and when I run the check_dhcp manually, I get a reply that there were no DHCP OFFERS. ./check_dhcp -s 10.129.177.16 -r 10.129.177.240 DHCP problem: No DHCPOFFERs were received. Try adding the verbose flag (-v) to the command above. That will provide more useful output. -- Marc - 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 - 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.log file...
Does anyone how to convert the date/time stamp of the nagios.log file so that I can tell what time the event happened. I am trying to track don't why the emails are not getting received if the Nagios.logs say they were sent out. Thanks, Luis Luis F. Lacayo - 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
Re: [Nagios-users] NAGIOS.log file...
Thank you very much... Luis F. Lacayo From: Ben O'Hara [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 8:47 AM To: Lacayo, Luis F Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] NAGIOS.log file... On 6/22/07, Lacayo, Luis F [EMAIL PROTECTED] wrote: Does anyone how to convert the date/time stamp of the nagios.log file so that I can tell what time the event happened. I am trying to track don't why the emails are not getting received if the Nagios.logs say they were sent out. bash-2.05b# date -r 1182519992 Fri Jun 22 14:46:32 BST 2007 Ben Thanks, Luis Luis F. Lacayo - 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 -- A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them - 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
Re: [Nagios-users] (no subject)
I am so sorry, I did nto have a subject line. We have a group of exchange servers that are connected to a san, and for the last few days the san has been dropping, and my users tell me that the exchange is having problems. I would like to see it there is a way to check the event.log to check of errors. Thanks, Luis Luis F. Lacayo - 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] SMS and Nagios.
Anyone using yap for SMS with in Nagios who is willing to share their yap configuration file? Or can you recommend a different product to do SMS? Thanks, Luis Luis F. Lacayo Chicago Public Schools OTS / UNIX Administration - 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] (no subject)
HI Again, Twice today, does anyone know if there is a way to monitor a windows event from the event log? Thanks, Luis Luis F. Lacayo - 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] Unusual request....
HI All, I was asked by one of my users to see if there is a way that NAGIOS can check to see if a certain file was updated with in the last 10 minutes, and it is not updated then to issue an alert. Is there a plugging for NAGIOS to handle this? If not any ideas how I could get this done? Thanks, Luis Luis Lacayo - 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] Alternate Email address.
HI All, I was wondering if itwould be possible to have nagios send a message to TWO (2) different email addresses for the same contact. I remember reading about email2 to email6 but I can's seem to find how this is accomplished. Any help is greatly appriciated. Thanks Luis - 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] Sharepoint DB check.
HI Everyone, I was wondering if any one can point me to a place where I can find a plugin to check sharepoint database. Thanks, Luis Luis Lacayo - 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.phpp=sourceforgeCID=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] Nagios and Windows Event log question.
Hi All, I was wondering if anyone is monitoring the Microsoft event logs, with Nagios. Basically I would need to trap a certain type of event log and based on a value send a Nagios Alert. Thanks for any feed back. Luis Luis Lacayo Sr. UNIX Admin - 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.phpp=sourceforgeCID=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
Re: [Nagios-users] Problem with excluding hostgroups?
I am not sure but in your hostgroup definitions you need to add members. Luis Luis Lacayo Sr. UNIX Admin Chicago Public Schools Office of Technology Services 125 S. Clark Street - Suite 300 Chicago, IL 60603 Direct:773-553-3835 Office: 773-553-1300 FAX:773-553-1363 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dariusz Ankowski Sent: Thursday, March 08, 2007 12:14 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem with excluding hostgroups? Hello, Here you can see short outline of my configuration of hosts, hostgroups and services: #v+ define host { use host-template-a hostgroups hostgroup-a hostname server-a alias server-a } define host { use host-template-b hostgroups hostgroup-b hostname server-b alias server-b } define host { use host-template-c hostgroups hostgroup-c hostname server-c alias server-c } define hostgroup { hostgroup_name hostgroup-a alias hostgroup-a } define hostgroup { hostgroup_name hostgroup-b alias hostgroup-b } define hostgroup { hostgroup_name hostgroup-c alias hostgroup-c } define hostgroup { hostgroup_name hostgroup-all alias hostgroup-all hostgroup_members hostgroup-a,hostgroup-b,hostgroup-c } define service { use service-template hostgroup_name hostgroup-all,!hostgroup-c service_description Service test check_command test_command } #v- What I need to do is running Service test for all hosts from hostgroup-all, excluding hosts belonging to hostgroup-c. But when I start Nagios and use configuration listed above I see that Service test is running for all hosts including those from hostgroup-c. Would you be so kind and tell me if I have made any mistake in configuration or there is any bug related to excluding groups? -- Pozdrawiam, Dariusz Ankowski - 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.phpp=sourceforgeCID=DEVDE V ___ 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 - 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.phpp=sourceforgeCID=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] Subgrouping Host groups.
Good Morning all, I have what might seem like a dumb question. I monitor some 800+ and last night I was thinking of a way to make my NAGIOS groups more readable. I know that the display sorts based on hostgroup_name, Having said that, I can name my groups 1-1, 1-2, 1-3, 2-1, 2-2 etc. I can do that it is fairly simple. I also found out that you can insert html tags on the hostgroup alias which make is easy make the Group names bolded and stick out. So I would like to do something like WINDOWS SERVERS ISHARE Exchange Active Directory File Server Linux FTP Server Web Server Sun DNS DHCP Cisco Access Points Core Switches Etc.. So my question for all of you have the know how, is there a better way to do this? Thanks, Luis Luis Lacayo - 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.phpp=sourceforgeCID=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] Email - question....
HI all, I am trying to figure out how to change the email address that sends the service/host emails. Right now, the messages are sent by [EMAIL PROTECTED] but I want it to be [EMAIL PROTECTED] Luis - 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.phpp=sourceforgeCID=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] ALPHA UPS - snmp checks
Hi There, Is anyone monitoring the ALPHA UPS's with NAGIOS. IF so can you share your checkcommand? Thanks, Luis Lacayo - 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.phpp=sourceforgeCID=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] notification question...
HI all, I have a very strange problem. I just upgrade to NAGIOS 2.6 from a version 1. (Don't ask please). On my previous production server, I had the host-notify-by-email command define as: define command{ namehost-notify-by-email command_namehost-notify-by-email command_line$USER1$/notify-email.pl --HOSTNAME=$HOSTNAME$ --HOSTALIAS=$HOSTALIAS$ --HOSTADDRESS=$HOSTADDRESS$ --LASTSTATECHANGE=$LASTSTATECHANGE$ --TIMET=$TIMET$ --HOSTSTATE=$HOSTSTATE$ --OUTPUT=$OUTPUT$ --DATETIME=$DATETIME$ --NOTIFICATIONTYPE=$NOTIFICATIONTYPE$ | /bin/mail -s 'Host $HOSTSTATE$ alert for $HOSTALIAS$! ($HOSTNAME$)' $CONTACTEMAIL$ } The same as the new production version, however when I get an alert I am not getting the same information on the email. The $OUTPUT$ and the $DATETIME$ is not being sent on the email. It works fine on the previous version. Any help is greatly appreciated. Luis Lacayo - 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.phpp=sourceforgeCID=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] NAGIOS 3.0
Sorry if this has already been answered. Is there a schedule for the NAGIOS 3.0 release? I am in the middle of my budget request for equipment for this year. My plan is to replace my current NAGIOS system and would like to know if anyone has information about the resource requirements for NAGIOS V3.0 and want to purchase a server that will handle the load. Thanks in advance. Luis Lacayo - 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.phpp=sourceforgeCID=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
Re: [Nagios-users] NAGIOS 3.0
Thanks, I am currently monitoring 534 active devices and over 2100 services. I am thinking of a dell 2950, Dual Core Intel® Xeon® 5140, 4MB Cache, 2.33GHz, 1333MHz FSB with 4G or RAM. I think that should do it. I might add cacti to this same server. Thanks again, Luis Lacayo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hendrik Bäcker Sent: Tuesday, January 09, 2007 11:53 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] NAGIOS 3.0 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lacayo, Luis F schrieb: Sorry if this has already been answered. Is there a schedule for the NAGIOS 3.0 release? I am in the middle of my budget request for equipment for this year. My plan is to replace my current NAGIOS system and would like to know if anyone has information about the resource requirements for NAGIOS V3.0 and want to purchase a server that will handle the load. Think about the amount of services you want to check. I would say if the amount is gt than 5000 Services = Take the best hardware you can get for money. Oh wait... get two of them and send one to me *just kidding* Without further informations how big your nagios installation is or should be, it is hard to say what hardware you will need. Some people say a 64bit arch will improve performance, other say that parts of nagios wouldn't compile (on a amd 64bit arch - I haven't any problems) I would say: take fast harddisks, a huge amount of ram, and actual cpu's with ht function. Thanks in advance. Luis Lacayo Regards Hendrik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (MingW32) iD8DBQFFo9ZmlI0PwfxLQjkRAn5dAJ4tpJL1AV23LqLVKMaQd0QlqnVq6ACeLsxs AlT8o78aVvAa//B4iiP60YE= =WEyO -END PGP SIGNATURE- - 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.phpp=sourceforgeCID=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 - 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.phpp=sourceforgeCID=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
Re: [Nagios-users] plugins with rsh
Try adding a second $ at the end of the command. rsh $HOSTADDRESS$ 'mycommand; echo $$?' Luis Lacayo Sr. UNIX Admin Chicago Public Schools Office of Technology Services 125 S. Clark Street - Suite 300 Chicago, IL 60603 Direct:773-553-3835 Office: 773-553-1300 FAX:773-553-1363 [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dave stern - e-mail.pluribus.unum Sent: Wednesday, January 03, 2007 2:17 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] plugins with rsh We have a legacy setup with tru64 hosts that are currently configured for rsh, not ssh. I've installed the latest and greatest nagios on a relatively recent fedora host and have used plugins with ssh in the past. The problem is that rsh doesn't return status codes properly. Rather, it returns only the status code of rsh itself, not the command. A search implies you just need to echo $? with rsh. rsh linux to linux, I get this: linux1 rsh linux1 'date ; echo $?' Wed Jan 3 15:15:07 EST 2007 and trying to generate an error: linux1 rsh linux1 'bogus ; echo $?' bogus; Command not found. 1 So that looks ok but first problem is when I put into nagios commands define rsh $HOSTADDRESS$ 'mycommand; echo $?' The web page show (No output!) Is it possible it swallows the quotes? Further, rsh behaves differently on tru64: linux1 rsh tru64-host 'date;echo $?' Variable syntax. Any ideas for these problems? Thanks and - 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.phpp=sourceforgeCID=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
Re: [Nagios-users] Problem with External Command File
You should add the user who is running the httpd process to the NAGIOS group. Luis Luis Lacayo Sr. UNIX Admin Chicago Public Schools Office of Technology Services 125 S. Clark Street - Suite 300 Chicago, IL 60603 Direct:773-553-3835 Office: 773-553-1300 FAX:773-553-1363 [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petersen, Mark Sent: Wednesday, January 03, 2007 2:42 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem with External Command File I'm pretty sure the webserver (apache, nobody, www-data, or whatever you setup) needs write permissions for that file. It may also need to be a named pipe. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kaplan, Andrew H. Sent: Wednesday, January 03, 2007 2:29 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem with External Command File I am running Nagios 2.6 and whenever I want to schedule a check of all services..., I get the following error message: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update. The permissions on the external command file and/or directory may be incorrect... An error occurred while attempting to commit your command for processing. I first went to the nagios.cfg file and confirmed that external commands were activated, and that the path of the nagios.cmd file, /usr/local/nagios/var/rw/nagios.cmd was uncommented and correct. I checked the permissions on the nagios directory and its subdirectories. The nagios directory is owned by nagios:nagios, and the permissions on the directory are 777. This is also true for child directories under the main one. The ../nagios/var/rw directory has the same owners and permissions, while the nagios.cmd file is owned by nagios:nagios with the permissions prw-rw. Has anyone seen this, and can tell me what I need to do to correct it? Thanks. THE INFORMATION TRANSMITTED IN THIS ELECTRONIC COMMUNICATION IS INTENDED ONLY FOR THE PERSON OR ENTITY TO WHOM IT IS ADDRESSED AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED MATERIAL. ANY REVIEW, RETRANSMISSION, DISSEMINATION OR OTHER USE OF OR TAKING OF ANY ACTION IN RELIANCE UPON, THIS INFORMATION BY PERSONS OR ENTITIES OTHER THAN THE INTENDED RECIPIENT IS PROHIBITED. IF YOU RECEIVED THIS INFORMATION IN ERROR, PLEASE CONTACT THE SENDER AND THE PRIVACY OFFICER, AND PROPERLY DISPOSE OF THIS INFORMATION. __ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. __ - 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.phpp=sourceforgeCID=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] NC_Net
Hello, I was wondering if you can help me. I am trying to check a Microsoft Ishare service with Nagios. When I run the check_nt command from the command line the service check work just fine. ./check_nt -H 10.129.162.187 -p 1248 -v SERVICESTATE -l 'mssql$sharepoint' -d SHOWALL mssql$sharepoint: Started I have tried several way of checking, with a \ before the dollar sign, in dowuble quotes etc. However when I look at the service check via the web there is a trailing $ Host http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=1sortoption=1 http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=2sortoption=1 Service http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=1sortoption=2 http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=2sortoption=2 Status http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=1sortoption=3 http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=2sortoption=3 Last Check http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=1sortoption=4 http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=2sortoption=4 Duration http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=1sortoption=6 http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=2sortoption=6 Attempt http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=1sortoption=5 http://co-log01/nagios/cgi-bin/status.cgi?hostgroup=ISHAREstyle=detail servicestatustypes=4sorttype=2sortoption=5 Status Information co-spdb http://co-log01/nagios/cgi-bin/extinfo.cgi?type=1host=co-spdb http://co-log01/nagios/cgi-bin/extinfo.cgi?type=1host=co-spdb DatabaseServices http://co-log01/nagios/cgi-bin/extinfo.cgi?type=2host=co-spdbservice= DatabaseServices WARNING 12-28-2006 11:30:42 35d 22h 28m 56s 3/3 mssql$sharepoint$: Unknown Here is my service definition: define service{ use ping-service host_name co-spdb service_description DatabaseServices contact_groups ishare check_command check_nt_service!'mssql$sharepoint' } Here is my command definition: # 'check_nt_service' command definition define command{ command_namecheck_nt_service command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ -d SHOWALL } Any help will be appreciated. Thanks, Luis Luis Lacayo Sr. UNIX Admin Chicago Public Schools Office of Technology Services 125 S. Clark Street - Suite 300 Chicago, IL 60603 Direct:773-553-3835 Office: 773-553-1300 FAX:773-553-1363 [EMAIL PROTECTED] image001.gif Description: image001.gif image002.gif Description: image002.gif attachment: image004.jpg - 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.phpp=sourceforgeCID=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