[Nagios-users] Max number if contacts in a contact group
Can anyone tell me if there is a max number of contacts you can have in a contact group :) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes 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
Re: [Nagios-users] Nagios can works with help desk software?
Depending on which helpdesk software you are using you should be able to set up a notification command to raise a ticket in your help desk system You really need to specify the helpdesk system you are using before you could get much more help. Some helpdesk systems allow you to auto generate trouble tickets by sending the helpdesk software an email. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis Gardea Sent: 24 July 2008 04:00 To: Nagios Users Mailinglist Subject: [Nagios-users] Nagios can works with help desk software? Hello I need that my helpdesk create a ticket when alarm is detected by Nagios. Some ideas to do it? Nagios 3.0.3 helpdesk wonderdesk 4.0 with Microsoft sql server data base ubuntu server 7.10 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes 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 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes 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
Re: [Nagios-users] nagios status map
Hi Trevor, You have not framed your question very well. Do you mean you do not have a statusmap.cgi or do you require some tips on setting up a statusmap? If it is the later, then you need to set parent-host relationships. If its the former then look on the FAQ as it tells you what you need to install to ensure that statusmap id built. Regards Tom -Original Message- From: [EMAIL PROTECTED] on behalf of trevor obba Sent: Tue 29/04/2008 12:31 To: nagios-user Subject: [Nagios-users] nagios status map I am running nagios 2.10, monitoring 260 hosts and 1700 services. However I am having difficulties getting status map, I have read the manual several times but no joy. I would like any sort of nagios status map 2 D or 3 D status maps. Can help? please __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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] 3 tera applogic monitoring
Hi All, Has anyone done any monitoring of 3tera Applogic servers/grids? I'm looking for a plugin to list grid members, servers states, etc. It may be possible to construct this with host dependancies and service dependancies but id rather have a plugin if there is one around. If not I suppose I'd better attempt to write one. Regards Tom - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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 help!!
Hi Pallav, Provided you have setup your 30 hosts in your hosts.cfg or what ever file then all you need to do to define the service is as i show below. define service{ use generic-service host_name winserver1,winserver2,winserver3,..winserver30 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 Regards Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 10 April 2008 10:25 To: Marcus Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios help!! Importance: High Hi Marcus this means that the service defination will also look like this define service{ use generic-service host_name winserver1 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 define service{ use generic-service host_name winserver2 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 To monitor 30 servers i need to add 30 lines.or is there any way that we monitors number of services in all hosts. Marcus [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04/10/2008 12:18 PM To nagios-users@lists.sourceforge.net cc Subject Re: [Nagios-users] Nagios help!! [EMAIL PROTECTED] schrieb: I have added my first windows machine as stated below , now i want to add more machines , so do i need to add one more windows.cfg file with new host definations or simply add hostname in present file windows.cfg seperated by comma , like host_nameserver1,server2, The comma-Solution doesnt't work. This might seem a very stupid questions to many but still as i am new to this, so i need some help. When I had my first nagios-day, I ran into the exactly same issue. I monitor two linux-servers which looks like this: define host{ use linux-server host_name OpenVPN1 alias OpenVPN-Server Nr1 address ovpn1.somedomain.de } define host{ use linux-server host_name OpenVPN2 alias OpenVPN-Server Nr2 address ovpn2.somedomain.de } (The template that comes with nagios is beeing used). Hope this helps a little. greetz, marcus (By the way, Pallav, a subject with just help and several exclamation-marks is not appropriate for a sophisticated mailing-list like this.) - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j avaone ___ 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 The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. ATT1197410.gif- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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_http and differents ports
First off Don't try checks as root. Root can do what ever it wants. Re run your check on the command line logged in as the nagios user. Let us know what you get as a result. HOST:/usr/local/nagios/libexec # su - nagios [EMAIL PROTECTED]:~ id uid=1001(nagios) gid=100(users) groups=100(users),1001(nagcmd) HOST: /usr/lib/nagios/plugins/check_http -I localhost -p 10080 -v -v Note im using verbose mode so we can see what going on. Also send excerpts from your log files showing what's going on Regards Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diego Giurgola Sent: 29 February 2008 10:51 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http and differents ports Hi all. I have a problem with check_http. I'd like to monitor my apache server, which is running on 10080 port. When I try to use the script from shell, it works wonderfully: [EMAIL PROTECTED] /usr/lib/nagios/plugins/check_http -I localhost -p 10080 HTTP OK HTTP/1.1 200 OK - 306 bytes in 0,004 seconds |time=0,003844s;;;0,00 size=306B;;;0 But, when I setup the nagios services.cfg file and get nagios on, it refuses to work, and it says me Connection refused. So, what is the clue? Thanks a lot for your time. -- Diego Giurgola Contatti Cellulare: 328/1481314 Skype: diego.giurgola Profilo LinkedIn: http://www.linkedin.com/in/diegogiurgola - 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] Is this possible - to make a user only see certainhosts or hostgroups ??
Hi Stephen, Read the docs about contacts and groups. This will show you what you want to know. Regards Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 20 February 2008 09:46 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Is this possible - to make a user only see certainhosts or hostgroups ?? Hi, Is this possible - to create a user that is only allowed to see certain hosts or hostgroups, it would be really usefull as we have a windows admin that only interested in windows machines... Regards Stephen Kitchener IT Services ACI Worldwide (EMEA) Ltd tel: 01923812885 email: [EMAIL PROTECTED] This e-mail message and any attachments may contain confidential, proprietary or non-public information. This information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this e-mail, please notify the sender immediately and destroy this e-mail. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this e-mail are those of the author personally. --- ACI Worldwide (EMEA) Limited. Registered in England and Wales (Registered no. 2310474). Registered Office: 55 - 57 clarendon road, Watford, Hertfordshire. WD17 iFQ, United Kingdom --- - 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] Migration From nagios 1.x to Nagios 2.10
Hi Riahi, You mean that Google never threw up the following when you used the search string comments from Nagios 1.x to Nagios 2.x http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg05515. html Andreas may be able to comment on the suitability of the script but im sure its still going to fit your needs Regards Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Riahi Taieb Sent: 01 February 2008 10:27 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Migration From nagios 1.x to Nagios 2.10 Hi folks, I want to migrate comments from Nagios 1.x to Nagios 2.x. I'v googled for a time but haven't found any solution. can you help me? Best regards, Riahi Taieb - 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 and parenting...
Hi Eric, Ok, My Bad. Not sure this cures everything but have you read and distilled the following 2 sections from Nagios Theory of operation? Determine status and reachability of network hosts Network outages Hope that helps, And if it doesn't, then im sure some one with much more experience will help ya. Regards Tom -Original Message- From: Eric F Crist [mailto:[EMAIL PROTECTED] Sent: 15 January 2008 16:11 To: Welsh,T,Tom,DLS2 C Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios and parenting... Tom, Thanks for the reply, but my original question is not answered by the FAQ you linked. That sorta leads me toward the correct answer to a question I've posted since, but that question was asked in response to someone's reply to my original question. So, apparently I need to re-pose the question I originally asked, since some seem to be confused. In regards to parenting and unreachable notifications, is there any way to tell the nagios process where within the hierarchy it resides, or is this figured out automatically? At least in my mind, I'd need to know where I was on a map to know what was between me and my destination to figure out if the problem was somewhere in between, or with my destination. Thanks. Eric Crist On Jan 15, 2008, at 9:59 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Eric, This is a faq question. http://www.nagios.org/faqs/viewfaq.php?faq_id=81expand=falseshowdesc =f alse Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric F Crist Sent: 15 January 2008 14:31 To: Patrick Morris Cc: Nagios List Subject: Re: [Nagios-users] nagios and parenting... On Jan 14, 2008, at 2:40 PM, Patrick Morris wrote: On Mon, 14 Jan 2008, Eric F Crist wrote: Is there any way or any benefit to telling nagios it resides on a particular host? It would appear to me that bit of information would be necessary to properly handle notifications and parenting. Assuming you set up your parents correctly (from the perspective of Nagios), it'll drop itself into the right place. And, no, there's no way to tell Nagios whic host it lives on, but again, if you set up parents correctly, it won't matter. Say Nagios lives on Box A, and that box plugs into Switch B. You're alos monitoring Box C, also attached to Switch B. Switch B would have a parent of Box A, and Box C would have a parent of Switch B. When you look at the status map after setting that up, you'll see Nagios happily hanging itself off Box A, since it's the topmost parent of everything else. I think I do have all of the parenting set up correctly, but the Nagios process appears in the status map in the center, not attached to anything. Should Nagios be at the top of my parenting chain? Rather, the nagios host? - Eric F Crist Secure Computing Networks -- -- - 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 - Eric F Crist Secure Computing Networks - 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] how to SNMP
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of riky.none Sent: 15 January 2008 15:41 To: Nagios Users Mailinglist Subject: [Nagios-users] how to SNMP there is one UMAN table of SNMP value?? I want check more value in sistem Windows 2000 end HPUX (all machine are HP/Compaq) I copy and pastye MIB value in more plugins but using : Mibbrowser i have on error and using the linux command snmpwalk -v 1 -c public my_host my_value, the result is null Hi Riky Are you saying that if you do the following you do not get anything returned? Testhost$snmpwalk -v 1 -c public your-Ip-Address sysLocation SNMPv2-MIB::sysLocation.0 = STRING: Server room, lower loading bay, London Are you sure your device supports SNMP v1? What happens if you just do? Snmpwalk -v 1 -c public your-Ip-Address I get the following returned SNMPv2-MIB::sysDescr.0 = STRING: Linux hostname 2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005 x86_64 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 SNMPv2-MIB::sysUpTime.0 = Timeticks: (1635210274) 189 days, 6:15:02.74 SNMPv2-MIB::sysContact.0 = STRING: Sysadmin ([EMAIL PROTECTED]) SNMPv2-MIB::sysName.0 = STRING: hostname SNMPv2-MIB::sysLocation.0 = STRING: Rerver room, lower loading bay, London SNMPv2-MIB::sysORLastChange.0 = Timeticks: (1) 0:00:00.01.. . . etc - 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] NAS device Mapping
Hi Sunny, Its quite simple really. You interrogate the device it with snmp utilities Now a properly formatted question would go something like this.. --- Example question with necessary Info-- Hi All, I'm new to this so please bear with me. I would like to interrogate a insert NAS box Manufacturer here with SNMP My current setup is as follows... Nas Box Manufacturer and Nas Version e.g. Ontap 4.1 Operating system Centos 5.x Nagios version 2.10 Nagios plugins 1.4.9 Net-SNMP version 5.1.x I have tried the following but these do not seem to work. examples off snmp queries you tried to interrogate system already examples of nagios configs relating to problem Etc.. Etc... Etc I appreciate your help Regards Moi --- Example question with necessary Info-- Don't think im having a go at you, im not. There just isn't enough info in this question to answer it. Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sunny Bhatheja Sent: 17 December 2007 10:31 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] NAS device Mapping hello, Can anybody tell me that how i can monitor the status of NAS(Network Area Storage) Server with SNMP. Warm Regards Sunny Bhatheja Linux Engineer Tetra Information Services Pvt. Ltd. 136, Lower Ground Floor, Sant Nagar. East of Kailash. New Delhi - 110065 Phone : +91-11-66604033\ 34\ 35 Fax : +91-11-41620171 Mumbai Office: [EMAIL PROTECTED] Mobile : +91-9911849409 Website : www.tetrain.com, www.linux4e.com We Create and Manage Comprehensive Technology Solutions Scalable to your needs - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace ___ 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 - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Mapping DNs to username
Hi Wadud, How have you setup you authentication to use certs? Typically nagios uses .htaccess files in the examples to authenticate users. This is documented in the docs. You can use htpasswd, htdigest or dbmanage to create your user file. Just make sure you set the AuthType to the correct value. ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Directory /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user /Directory Alias /nagios /usr/local/nagios/share Directory /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user /Directory Have you setup authentication another way? If so can you post part off your config so we can help you? Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miah, W (Wadud) Sent: 04 December 2007 17:12 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Mapping DNs to username Nagios CGI authentication is carried out using certificates, which sets the username to the certificate DN. Is there a way to map it to a unique username? For example, DN1 - user1 DN2 - user2 I can't seem to find a solution to this problem in the archives. Many thanks. Wadud Miah Scientific Computing Systems Support High Performance Computing Services Group, e-Science, RAL 01235 446 794 - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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 - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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] hi
Hi Yu-ting, Here is the link to Hari's plugin. http://www.nagiosexchange.org/Check_Plugins.21.0.html?tx_netnagext_pi1[ p_view]=1132 Hari, Great plugin, And im loving the whitelist. Now when those pesky developers sneak onto production servers we will know :) Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 25 October 2007 04:05 To: [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hi Hi, I'm interested in your plugin as well. What's your plugin name for me to look for on exchange website? Thanks. Regards, Yu Ting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hari Sekhon Sent: Wednesday, October 24, 2007 5:44 PM To: [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hi OK I will try to release it today, I am just adding the extra functionality to do things like return critical on unauthorized users etc... I'll mail back when done. I'll post it to nagiosexchange as usual when ready and tested. By the way, this is currently written in Bash for linux (but should work on most other unixes/unicies that have Bash). I was thinking about writing another one for windows systems as well but I haven't gotten round to it, that might be next... -h Hari Sekhon [EMAIL PROTECTED] wrote: Hi Hari, I too would be interested in this plugin. If your going to release it that is. Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hari Sekhon Sent: 24 October 2007 10:13 To: Sukesh /IT/BLR/JIG/IN Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hi I wrote a plugin to do this, I might release it if you are interested... it's a quick plugin in bash that lists all the users on a system in the following format and always returns OK (since there is not much to not be ok about by the time it runs) USERS: hari(15) userX(3) userY(5) where the (Number) following each user is the number of sessions that you have open, either ssh sessions or xterms or whatever... -h Hari Sekhon Sukesh /IT/BLR/JIG/IN wrote: iam using nagios-3.0.4 and while using check_users plug in getting the number of users logged message.But is there any plugin or way to see the current users lists on that. Thanks, Sukesh V - - -- - - --- 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 -- -- - 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 - 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 - 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
Re: [Nagios-users] hi
Hi Hari, I too would be interested in this plugin. If your going to release it that is. Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hari Sekhon Sent: 24 October 2007 10:13 To: Sukesh /IT/BLR/JIG/IN Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hi I wrote a plugin to do this, I might release it if you are interested... it's a quick plugin in bash that lists all the users on a system in the following format and always returns OK (since there is not much to not be ok about by the time it runs) USERS: hari(15) userX(3) userY(5) where the (Number) following each user is the number of sessions that you have open, either ssh sessions or xterms or whatever... -h Hari Sekhon Sukesh /IT/BLR/JIG/IN wrote: iam using nagios-3.0.4 and while using check_users plug in getting the number of users logged message.But is there any plugin or way to see the current users lists on that. Thanks, Sukesh V -- -- -- --- 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 - 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 - 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
Re: [Nagios-users] hi
Thanks Hari -Original Message- From: Hari Sekhon [mailto:[EMAIL PROTECTED] Sent: 24 October 2007 10:44 To: Welsh,T,Tom,DLS C Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hi OK I will try to release it today, I am just adding the extra functionality to do things like return critical on unauthorized users etc... I'll mail back when done. I'll post it to nagiosexchange as usual when ready and tested. By the way, this is currently written in Bash for linux (but should work on most other unixes/unicies that have Bash). I was thinking about writing another one for windows systems as well but I haven't gotten round to it, that might be next... -h Hari Sekhon [EMAIL PROTECTED] wrote: Hi Hari, I too would be interested in this plugin. If your going to release it that is. Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hari Sekhon Sent: 24 October 2007 10:13 To: Sukesh /IT/BLR/JIG/IN Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hi I wrote a plugin to do this, I might release it if you are interested... it's a quick plugin in bash that lists all the users on a system in the following format and always returns OK (since there is not much to not be ok about by the time it runs) USERS: hari(15) userX(3) userY(5) where the (Number) following each user is the number of sessions that you have open, either ssh sessions or xterms or whatever... -h Hari Sekhon Sukesh /IT/BLR/JIG/IN wrote: iam using nagios-3.0.4 and while using check_users plug in getting the number of users logged message.But is there any plugin or way to see the current users lists on that. Thanks, Sukesh V - - -- - - --- 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 -- -- - 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 - 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
Re: [Nagios-users] nrpe problem
Hi From: Sukesh /IT/BLR/JIG/IN [mailto:[EMAIL PROTECTED] Sent: 12 October 2007 04:17 To: Welsh,T,Tom,DLS C Subject: RE: [Nagios-users] nrpe problem This is my remote host log messages Oct 11 07:00:13 ngapps-prd xinetd[619]: START: nrpe pid=1767 from=192.168.1.84 Oct 11 07:00:15 ngapps-prd nrpe[1767]: Could not read request from client, bailing out... Oct 11 07:00:15 ngapps-prd xinetd[619]: EXIT: nrpe status=0 pid=1767 duration=2(sec) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 11, 2007 6:07 PM To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] nrpe problem From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sukesh /IT/BLR/JIG/IN Sent: 11 October 2007 10:48 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nrpe problem Hi Iam running nagios-3.0a4 and nrpe V2.8.1.iam not getting the result while running ./check_nrpe -H IP Address. alreday no firewall is running behind those servers .tried to put '-t' option also but didn't work.Still iam able to telnet 5666 with out any problem/so please help him for this.(iam able to access one server and client using nrpe daemon other could not)/ Thanks, Sukesh . Hi Sukesh, From reading your email i take it you can sucessfully connect to the remote NRPE host via telnet. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] :~ telnet host1.somedomain.com 5666 Trying xxx.xxx.xxx.199... Connected to host1.somedomain.com. Escape character is '^]'. If this is correct then NRPE is accepting connections. You said in the previous mail that NRPE is working correctly on one machine but not on another. This sounds like you have some configuration differences between the two boxes. We really need to have more details to help you with this problem. What OS is running on the two remote boxes? Is it the same OS on both boxes. Can you send snippets off your configuration THAT RELATE TO nrpe? NRPE.CFG. SERVICES.CFG CHECKCOMMAND.CFG etc Have you carried out the following Turn on debugging on the remote host running nrpe and see what comes out in the logs? To do this edit your nrpe.cfg file and turn debugging on debugging=1 An example off NRPE debugging turned on Oct 11 13:30:01 host1 nrpe[3950]: Added command[check_dns1]=/usr/local/nagios/libexec/check_dns -H www.teeks.org -w 1 -c 2 Oct 11 13:30:01 host1 nrpe[3950]: Added command[check_swap]=/usr/local/nagios/libexec/check_swap -w 30% -c 20% Oct 11 13:30:01 host nrpe[3950]: Added command[check_ntp]=/usr/local/nagios/libexec/check_ntp -H xxx.xxx.xxx-t 15 Oct 11 13:30:01 host nrpe[3950]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Oct 11 13:30:01 host nrpe[3950]: Handling the connection... Hi Sukesh, Please dont respond to me directly. Please respond via the mailing list. Also please ost your reply comments at the bottom off teh email as it makes it easier to read it in chronological order. Well enough off that spagetti, back to your problem. Your log extract ---SNIP--- Oct 11 07:00:13 ngapps-prd xinetd[619]: START: nrpe pid=1767 from=192.168.1.84 Oct 11 07:00:15 ngapps-prd nrpe[1767]: Could not read request from client, bailing out... Oct 11 07:00:15 ngapps-prd xinetd[619]: EXIT: nrpe status=0 pid=1767 duration=2(sec) ---SNIP--- This really does not tell me anything. I take it you have already goggled for nrpe + Could not read request from client, bailing out... and found the Nagios FAQ about this. It doset look like its your problem but I dont know as you have provided only one piece off te information i asked for. So here we go again. 1. ./check_nrpe -H IP Address. already no firewall is running behind those servers .tried to put '-t' option also but didn't work. Please paste the output off the above command when you run it against your two hosts. I take it you are running the check_nrpe command as the user nagios? Here is an example that I ran on my nagios server connecting to one off my remote NRPE boxes usel:~ # su - nagios [EMAIL PROTECTED]:~ id uid=1001(nagios) gid=100(users) groups=100(users),1001(nagcmd) /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c check_users USERS OK - 0 users currently logged in |users=0;5;10;0 2. Still I am able to telnet 5666 with out any problem/ Please paste in the output off your telnet sessions to both boxes and the syslog/messages output on the remote hosts like I have below. [EMAIL PROTECTED]:~ telnet xxx.xxx.xxx.xxx 5666 Trying xxx.xxx.xxx.xxx... Connected to xxx.xxx.xxx.xxx. Escape character is '^]'. 3. so please help him for this. We will If you provide us with more information 4. (iam able to access one server and client using nrpe daemon other could not) Show us. Post your output above as host1( working)
Re: [Nagios-users] nrpe problem
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sukesh /IT/BLR/JIG/IN Sent: 11 October 2007 10:48 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nrpe problem Hi Iam running nagios-3.0a4 and nrpe V2.8.1.iam not getting the result while running ./check_nrpe -H IP Address. alreday no firewall is running behind those servers .tried to put '-t' option also but didn't work.Still iam able to telnet 5666 with out any problem/so please help him for this.(iam able to access one server and client using nrpe daemon other could not)/ Thanks, Sukesh . Hi Sukesh, From reading your email i take it you can sucessfully connect to the remote NRPE host via telnet. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] :~ telnet host1.somedomain.com 5666 Trying xxx.xxx.xxx.199... Connected to host1.somedomain.com. Escape character is '^]'. If this is correct then NRPE is accepting connections. You said in the previous mail that NRPE is working correctly on one machine but not on another. This sounds like you have some configuration differences between the two boxes. We really need to have more details to help you with this problem. What OS is running on the two remote boxes? Is it the same OS on both boxes. Can you send snippets off your configuration THAT RELATE TO nrpe? NRPE.CFG. SERVICES.CFG CHECKCOMMAND.CFG etc Have you carried out the following Turn on debugging on the remote host running nrpe and see what comes out in the logs? To do this edit your nrpe.cfg file and turn debugging on debugging=1 An example off NRPE debugging turned on Oct 11 13:30:01 host1 nrpe[3950]: Added command[check_dns1]=/usr/local/nagios/libexec/check_dns -H www.teeks.org -w 1 -c 2 Oct 11 13:30:01 host1 nrpe[3950]: Added command[check_swap]=/usr/local/nagios/libexec/check_swap -w 30% -c 20% Oct 11 13:30:01 host nrpe[3950]: Added command[check_ntp]=/usr/local/nagios/libexec/check_ntp -H xxx.xxx.xxx-t 15 Oct 11 13:30:01 host nrpe[3950]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Oct 11 13:30:01 host nrpe[3950]: Handling the connection... - 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
Re: [Nagios-users] using web content to determine the nagios status
Why don't you just do a nontent check on a page that wont change much? It beats the hell out off writing one? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jaime Ventura Sent: 08 October 2007 11:41 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] using web content to determine the nagios status Hello, Im trying to monitor a webserver (and its services) without installing a client on it. For that I was hopping to use a created php page which tests several services(mysql, ...) and prints a status message. Is there any way to take the status message presented by the php page (OK, WARNING, ERROR,..) and map it to nagios status? I tried check_http -H webserver -u /status.htm -s STATUS OK, but this way I can only get a status ok or error on nagios status. Is there any other way to do it, besides developing a specific plug-in? Thanks jaime - 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 - 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
Re: [Nagios-users] Status Map Error
Look on the faq page of the nagios site. you have some libs missing. There is a faq that addresses this exact question. Regards Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joel Roberts Sent: 04 October 2007 18:10 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Status Map Error I've installed Nagios on a Debian Linux Etch server. 3-D Status Map works fine, but Status Map returns the following error: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Anyone else run into the same thing and found a fix to this? Thanks in advance, Joel - 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
Re: [Nagios-users] Differentiate between monitoring modem Vs router
Hi Mick, Not saying im gonna be able help but what is your nmap command line switches you use to perform the scan? Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick Sent: 02 October 2007 11:35 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Differentiate between monitoring modem Vs router On Sunday 30 September 2007, Mick wrote: Hi All, I want to monitor a host who has a Linksys router, which after 24 hours or so from being power cycled gradually locks out. All attempts to ping, httping, traceroute, fail. Surprisingly, nmap shows: = Host XX-XXX-XXX-XX.dhcp.kgpt.tn.charter.com (XX.XXX.XXX.XX) appears to be up ... good. = Sometimes it may find an open port, sometimes not in which case it reports that all ports are filtered. I assume from these tests that the problem lies with the router as opposed to the modem, otherwise I would get a connection refused/failed sort of message, right? Is there a way to set up Nagios to monitor/compare both modem and router? I am thinking along the lines of pinging the router as normal and when that fails repeatedly, to run a command to check the modem. How should I go about setting this up? Any ideas at all guys? I'm really stuck here. -- Regards, Mick - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] Nagios and Capacity Planning
Hi All, Does anyone know off a capacity planning add-on for Nagios or are others using data from Nagios to perform capacity planning functions? Regards Tom - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] Email Notifications
I Dave, Ave you tried sending a mail from the box to an account you can receive from. This will effectively rule out the box being unable to send emails. If you receive the mail. Then take a look at your misccommands.cfg and see how the command is formatted. Make sure the path to your mail binaries are correct etc. I had a similar problem between Redhat and Debian Linux. Mail was in differing locations between these boxes. Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Roberts Sent: 24 September 2007 12:46 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Email Notifications Hi list I've successfully install nagios 2.9 and I'm monitoring hosts ok but notifications are not being sent out. The event log and notification log display that notifications should be being sent but they are not being received and I cannot find any trace of an email. Best Regards - Dave Roberts (davros) --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] Further problems with NDO Utils
Hi Andreas, Ton, Thank you both very much for the help. I now have a working ndo utils. As I used 2 different versions off NDO Utils to get this working I will document each NDO 1.4b5 My problem as you pointed out very well Andreas was my ld.so.conf. I had not included the /usr/local/mysql/lib/mysql in it. I had included /usr/local/mysql/lib. Having run ldconfig I then started again. I used the following command line for ./configure ./configure --enable-mysql --with-mysql-lib=/usr/local/mysql/lib/mysql --with-mysql-inc=/usr/local/mysql/include I then ran a make as suggested make CPPFLAGS=-I/usr/local/mysql/include This still gave me the same errors with config.h. I also tried various CPPFLAGS but still get the same problems I hacked the include/config.h file and specified the full path in front off mysql/mysql.h and mysql/errmsg.h. The program then compiled fine Having installed the files into the locations defined in the README file I started up the broker and all is sweet. Ton Voon's patched NDO 1.4b3 http://altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html http://resources.opsview.org/ndoutils-1.4b3_with_mysql_patch.tar.gz Having fixed the ld.so.conf when I ran Ton's patched version which uses the mysql_config I was provided with a fully functional binary. Steps as follows ./configure --enable-mysql Make JOB DONE Fantastic patch Ton. It worked flawlessly on my SUSE Linux Enterprise Server 9.2 Perhaps as you suggest Ton, try and get this into the ndo main code. Once again thanks to you both for helping me through this. Regards Tom -Original Message- From: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: 13 September 2007 07:02 To: Welsh,T,Tom,XSL4A C Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Further problems with NDO Utils [EMAIL PROTECTED] wrote: Hi Andreas, Thanks for coming back to me on this. Mysql was installed from source mysql 5.0.45 ./configure --prefix=/usr/local/mysql I believe that that is the default install location anyway. Yup. I ran ldd, I completely forgot about that and I get the following /usr/local/nagios/var # ldd /usr/local/nagios/bin/ndo2db linux-gate.so.1 = (0xe000) libz.so.1 = /lib/libz.so.1 (0x4001f000) libnsl.so.1 = /lib/libnsl.so.1 (0x4003) libmysqlclient.so.15 = not found As you can see its not found the libmysqlclient even though it says it has. If I run a find I can see it. Righto. This tells us two things: * It's been successfully linked to libmsysqlclient.so.15 at compile-time. * It doesn't know where to find that lib. There are multiple fixes to this problem. You can do cp /usr/local/mysql/lib/mysql/libmysqlclient.so.15 /usr/lib; ldconfig (easiest, but it's got a dirty feel about it) You can add /usr/local/mysql/lib/mysql to your /etc/ld.so.conf and re-run ldconfig. If you don't have an /etc/ld.so.conf your linker isn't new enough and this option won't work. # find / -name libmysqlclient.so.15 /usr/local/mysql/lib/mysql/libmysqlclient.so.15 I use the following command_line to configure ndo utils NDO-Utils 1.4b5 ./configure --enable-mysql --with-mysql-lib=/usr/local/mysql/lib/mysql --with-mysql-inc=/usr/local/mysql/include When I run make I get the following error. make cd ./src/; make ; cd .. make[1]: Entering directory `/home/w/ndoutils-1.4b5/src' gcc -fPIC -O0 -g -DHAVE_CONFIG_H -c -o io.o io.c In file included from io.c:10: ../include/config.h:250:25: mysql/mysql.h: No such file or directory ../include/config.h:251:26: mysql/errmsg.h: No such file or directory make[1]: *** [io.o] Error 1 make[1]: Leaving directory `/home/welsht2/ndoutils-1.4b5/src' Try make CPPFLAGS=-I/usr/local/mysql/include instead of the config.h hackery you described (for next time, that is). That will tell the pre-processor to look for include-files in /usr/local/mysql/include as well as the standard /usr/include. make ndo2db-2x make[2]: Entering directory `/home/welsht2/ndoutils-1.4b5/src' gcc -O0 -g -DHAVE_CONFIG_H -c -o db.o db.c gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -O0 -g -DHAVE_CONFIG_H -I/usr/local/mysql/include -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.outils.o db.o -L/usr/local/mysql/lib/mysql -lz -lnsl -lmysqlclient -lm Here is actually a problem. Since libmysqlclient.so.15 doesn't exist in the normal ld.so.conf search-path, it should also have added -Wl,r/usr/local/mysql/lib/mysql to the linker options, which would have added /usr/local/mysql/lib/mysql to the search-path for this particular binary only. Any more ideas off how I can get this working. Im not very good with hunting down software compilation problems :( See above ;-) Inline posting helps a bit when explaining. May I
Re: [Nagios-users] Further problems with NDO Utils
Not a problem. Im more than happy to test anything you want. Just drop me a mail when you think this or anything else may need further testing and I'll take it for a spin -Original Message- From: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: 13 September 2007 12:25 To: Welsh,T,Tom,XSL4A C Cc: [EMAIL PROTECTED]; 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] Further problems with NDO Utils [EMAIL PROTECTED] wrote: Hi Andreas, Ton Hmm. I was curious to see if it would fix the problems when libmysqlclient.so.15 was *not* in the configured path. But to cut a long story short, it didn't work if I removed the entry from ld.so.conf. I have no problems spending time trying to assist in fixing this if you guys want to tell me what to try. Unfortunately not being a programmer my gcc / make knowledge is minimal. So here's what I tried and what the output was. 1. Edit ld.so.conf Remove the entry for /usr/local/mysql/lib/mysql [ middle-steps cut out for brevity ] 6. Run ldd on resultant ndo2db binary ldd src/ndo2db-2x linux-gate.so.1 = (0xe000) libnsl.so.1 = /lib/libnsl.so.1 (0x4001f000) libmysqlclient.so.15 = not found libz.so.1 = /lib/libz.so.1 (0x40034000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x40045000) libm.so.6 = /lib/tls/libm.so.6 (0x40076000) libc.so.6 = /lib/tls/libc.so.6 (0x40099000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) Bummer, didn't pick up libmysqlclient.so.15 Well, it's good to know anyways. Now the altinity patch has had some serious review and a minor flaw, which is probably trivial to fix, has been found in it. Once it's fixed it can be resubmitted to Ethan and this particular problem shouldn't bother users in the future. Again, thanks for testing this. It was most valuable :) 7. OK try with some CPPFLAGS make CPPFLAGS=-I/usr/local/mysql/include The CPPFLAGS variable only works for altering preprocessor options, and only if they're honored by the Makefile while creating the various targets. When the binary is produced but has lost a path to one of the libraries it's linked to, it won't do any good. I'll see if I can amend the ndoutils Makefile with the few extra lines required to make it honor CPPFLAGS. Again, thanks. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] Further problems with NDO Utils
Hi Again list. Im my continuing saga to try and get NDO Utils working I have come up against another error. # /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg /usr/local/nagios/bin/ndo2db: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory If I check the output off ./configure I can see that it found the mysqlclient libs checking for mysql_store_result in -lmysqlclient... yes checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes MySQL library and include file(s) were found! Can anyone point me in the right direction please. I'm so gonna write this all up when I have finished. Regards Tom Nagios 2.9 starting... (PID=10285) [1189614170] LOG VERSION: 2.0 [1189614170] ndomod: NDOMOD 1.4b5 (08-29-2007) Copyright (c) 2005-2007 Ethan Galstad ([EMAIL PROTECTED]) [1189614170] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1189614170] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. [1189614170] Finished daemonizing... (New PID=10286) [1189614186] ndomod: Still unable to connect to data sink. 3212 items lost, 5000 queued items to flush. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] Further problems with NDO Utils
Hi Andreas, Thanks for coming back to me on this. Mysql was installed from source mysql 5.0.45 ./configure --prefix=/usr/local/mysql I believe that that is the default install location anyway. I ran ldd, I completely forgot about that and I get the following /usr/local/nagios/var # ldd /usr/local/nagios/bin/ndo2db linux-gate.so.1 = (0xe000) libz.so.1 = /lib/libz.so.1 (0x4001f000) libnsl.so.1 = /lib/libnsl.so.1 (0x4003) libmysqlclient.so.15 = not found libm.so.6 = /lib/tls/libm.so.6 (0x40045000) libc.so.6 = /lib/tls/libc.so.6 (0x40067000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) As you can see its not found the libmysqlclient even though it says it has. If I run a find I can see it. # find / -name libmysqlclient.so.15 /usr/local/mysql/lib/mysql/libmysqlclient.so.15 I use the following command_line to configure ndo utils NDO-Utils 1.4b5 ./configure --enable-mysql --with-mysql-lib=/usr/local/mysql/lib/mysql --with-mysql-inc=/usr/local/mysql/include When I run make I get the following error. make cd ./src/; make ; cd .. make[1]: Entering directory `/home/w/ndoutils-1.4b5/src' gcc -fPIC -O0 -g -DHAVE_CONFIG_H -c -o io.o io.c In file included from io.c:10: ../include/config.h:250:25: mysql/mysql.h: No such file or directory ../include/config.h:251:26: mysql/errmsg.h: No such file or directory make[1]: *** [io.o] Error 1 make[1]: Leaving directory `/home/welsht2/ndoutils-1.4b5/src' I then edit ./include/config.h to include the complete path to the mysql libs So I change the mysql bit of config.h FROM #define USE_MYSQL 1 /* #undef HAVE_MYSQL */ #ifdef USE_MYSQL #define HAVE_MYSQL 1 #include mysql/mysql.h #include mysql/errmsg.h #endif TO #define USE_MYSQL 1 /* #undef HAVE_MYSQL */ #ifdef USE_MYSQL #define HAVE_MYSQL 1 #include /usr/local/mysql/include/mysql/mysql.h #include /usr/local/mysql/include/mysql/errmsg.h #endif This then does a make all ok. I can see the compile go through that does the libmysql bit make ndo2db-2x make[2]: Entering directory `/home/welsht2/ndoutils-1.4b5/src' gcc -O0 -g -DHAVE_CONFIG_H -c -o db.o db.c gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -O0 -g -DHAVE_CONFIG_H -I/usr/local/mysql/include -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/local/mysql/lib/mysql -lz -lnsl -lmysqlclient -lm make[2]: Leaving directory `/home/welsht2/ndoutils-1.4b5/src' make ndo2db-3x make[2]: Entering directory `/home/welsht2/ndoutils-1.4b5/src' gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c gcc -O0 -g -DHAVE_CONFIG_H -I/usr/local/mysql/include -D BUILD_NAGIOS_3X -o ndo2db-3x ndo2db.c dbhandlers-3x.o io.o utils.o db.o -L/usr/local/mysql/lib/mysql -lz -lnsl -lmysqlclient -lm make[2]: Leaving directory `/home/welsht2/ndoutils-1.4b5/src' Any more ideas off how I can get this working. Im not very good with hunting down software compilation problems :( All help gratefully received Regards Tom -Original Message- From: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: 12 September 2007 17:51 To: Welsh,T,Tom,XSL4A C Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Further problems with NDO Utils [EMAIL PROTECTED] wrote: Hi Again list. Im my continuing saga to try and get NDO Utils working I have come up against another error. # /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg /usr/local/nagios/bin/ndo2db: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory If I check the output off ./configure I can see that it found the mysqlclient libs checking for mysql_store_result in -lmysqlclient... yes checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes MySQL library and include file(s) were found! Can anyone point me in the right direction please. ldd /usr/local/nagios/bin/ndo2db will tell you where it tries to find the libmysqlclient.so.15 library. Creating a symlink there to where you actually keep the library should suffice. Did you have mysql installed in some nonstandard location when you compiled the program? If so, the location was hardlinked into the binary and you need to either re-compile (and tell it the new location) or move the library back to its original position. If the new location is shorter (strlen(path_to_new_loc) strlen(path_to_old_loc)), you can use a hex-editor to modify the binary to point
Re: [Nagios-users] check_http
Dont ya just hate it when that happens From: Melanie Pfefer [mailto:[EMAIL PROTECTED] Sent: Fri 07/09/2007 13:42 To: Welsh,T,Tom,XSL4A C; [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] check_http I was entering the wrong port number :S thanks bunches. --- [EMAIL PROTECTED] wrote: Hi Melanie, On your Nagios host can you telnet to port 8080 from the shell? This will ensure you are actually connecting to the box. I can see further down that you ran check_http and got a result. Are you running the plugin as the nagios user? Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Melanie Pfefer Sent: 07 September 2007 11:08 To: Dennis Huenseler Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_http hi, the configuration went ok as you've said. But now I get a connection refused error. Basically I want to monitor whether the apache server on the remote machine is up or not. thanx --- Dennis Huenseler [EMAIL PROTECTED] wrote: Hi there, you can't define a check_command like check_http -H some -p foo in the service deifinition. Define a new check in the commands.cfg like define command{ command_namecheck_http_args command_line$USER1$/check_http -H $ARG1$ -p $ARG2$ } And in the service definition then try define service{ use local-service ; Name of service template to use host_name host2 service_description HTTP availability check_command check_http_args!host2!8080 } Kind regards, Dennis Hünseler -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Melanie Pfefer Sent: Friday, September 07, 2007 11:17 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http hi, I ran this from the shell: ./check_http -H host2 -p 8088 HTTP OK HTTP/1.1 200 OK - 1192 bytes in 0.343 seconds |time=0.342683s;;;0.00 size=1192B;;;0 now I added these lines in services.cfg: define service{ use local-service ; Name of service template to use host_name host2 service_description HTTP availability check_command check_http -H host2 -p 8080 } when I ran ./nagios -v ../etc/nagios.cfg, I have this error: Error: Service check command 'check_http -H host2 -p 8080' specified in service 'HTTP availability' for host 'host2' not defined anywhere! PS: in commands.cfg, I have these: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } thanks. ___ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html - 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 ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ - 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 ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/
Re: [Nagios-users] check_http
Hi Melanie, On your Nagios host can you telnet to port 8080 from the shell? This will ensure you are actually connecting to the box. I can see further down that you ran check_http and got a result. Are you running the plugin as the nagios user? Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Melanie Pfefer Sent: 07 September 2007 11:08 To: Dennis Huenseler Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_http hi, the configuration went ok as you've said. But now I get a connection refused error. Basically I want to monitor whether the apache server on the remote machine is up or not. thanx --- Dennis Huenseler [EMAIL PROTECTED] wrote: Hi there, you can't define a check_command like check_http -H some -p foo in the service deifinition. Define a new check in the commands.cfg like define command{ command_namecheck_http_args command_line$USER1$/check_http -H $ARG1$ -p $ARG2$ } And in the service definition then try define service{ use local-service ; Name of service template to use host_name host2 service_description HTTP availability check_command check_http_args!host2!8080 } Kind regards, Dennis Hünseler -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Melanie Pfefer Sent: Friday, September 07, 2007 11:17 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http hi, I ran this from the shell: ./check_http -H host2 -p 8088 HTTP OK HTTP/1.1 200 OK - 1192 bytes in 0.343 seconds |time=0.342683s;;;0.00 size=1192B;;;0 now I added these lines in services.cfg: define service{ use local-service ; Name of service template to use host_name host2 service_description HTTP availability check_command check_http -H host2 -p 8080 } when I ran ./nagios -v ../etc/nagios.cfg, I have this error: Error: Service check command 'check_http -H host2 -p 8080' specified in service 'HTTP availability' for host 'host2' not defined anywhere! PS: in commands.cfg, I have these: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } thanks. ___ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html - 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 ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ - 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 - 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
Re: [Nagios-users] web interface to add hosts and services...
There are several, Take a look at nagios exchange to see which web front ends are available. Im currently installing MonArch which I hope will satisfy my needs. I Must admit though that I do prefer to edit the files manually as it gives you a better feel for how Nagios all hangs together . Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Melanie Pfefer Sent: 06 September 2007 09:15 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] web interface to add hosts and services... Hi, Is there any tool that you use to add new hosts/services/ graphically instead of editing files? thx ___ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html - 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 - 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] Problems getting NDO to work
Hi All, I have just recompiled nagios 2.9 with event broker support as I wish to use ndo-utils but I get the following message when I try to start the event broker #/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -i Support for the specified database server is either not yet supported, or was not found on your system. Is this because ndo does not support MySQL 5.0.54? OS and Software as follows SUSE Linux Enterprise Server 9. SP2 Nagios 2.9 NDO Utils 1.4b5 MySQL 5.0.54 My Nagios configure scripts goes like this ./configure --prefix=/usr/local/nagios --with-cgiurl=nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd --enable-event-broker Nagios is installed and runs fine. I have ran through the ndo utils README and installed the module as described. EXCERPT FROM NAGIOS.CFG # EVENT BROKER MODULE(S) broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg event_broker_options=-1 FROM NDOMOD.CFG # INSTANCE NAME instance_name=default # OUTPUT TYPE output_type=unixsocket # OUTPUT output=/usr/local/nagios/var/ndo.sock # TCP PORT tcp_port=5668 # OUTPUT BUFFER output_buffer_items=5000 # BUFFER FILE buffer_file=/usr/local/nagios/var/ndomod.tmp # FILE ROTATION INTERVAL file_rotation_interval=14400 # FILE ROTATION COMMAND #file_rotation_command=rotate_ndo_log # FILE ROTATION TIMEOUT file_rotation_timeout=60 # RECONNECT INTERVAL reconnect_interval=15 # RECONNECT WARNING INTERVAL reconnect_warning_interval=15 # DATA PROCESSING OPTION data_processing_options=-1 # CONFIG OUTPUT OPTION config_output_options=2 FROM NDO2DB.CFG # USER/GROUP PRIVILIGES ndo2db_user=monitoring ndo2db_group=nal # SOCKET TYPE socket_type=unix # SOCKET NAME socket_name=/usr/local/nagios/var/ndo.sock # TCP PORT tcp_port=5668 # DATABASE SERVER TYPE db_servertype=mysql # DATABASE HOST db_host=localhost # DATABASE PORT db_port=3306 # DATABASE NAME db_name=ndo # DATABASE TABLE PREFIX db_prefix=nagios_ # DATABASE USERNAME/PASSWORD db_user=user db_pass=password All help/comments welcome - 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] Problems getting ndo to work
Hi All, I have just recompiled nagios 2.9 with event broker support as I wish to use ndo-utils but I get the following message when I try to start the event broker #/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -i Support for the specified database server is either not yet supported, or was not found on your system. Is this because ndo does not support MySQL 5.0.54? OS and Software as follows SUSE Linux Enterprise Server 9. SP2 Nagios 2.9 NDO Utils 1.4b5 MySQL 5.0.54 My Nagios configure scripts goes like this ./configure --prefix=/usr/local/nagios --with-cgiurl=nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd --enable-event-broker Nagios is installed and runs fine. I have ran through the ndo utils README and installed the module as described. EXCERPT FROM NAGIOS.CFG # EVENT BROKER MODULE(S) broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg event_broker_options=-1 FROM NDOMOD.CFG # INSTANCE NAME instance_name=default # OUTPUT TYPE output_type=unixsocket # OUTPUT output=/usr/local/nagios/var/ndo.sock # TCP PORT tcp_port=5668 # OUTPUT BUFFER output_buffer_items=5000 # BUFFER FILE buffer_file=/usr/local/nagios/var/ndomod.tmp # FILE ROTATION INTERVAL file_rotation_interval=14400 # FILE ROTATION COMMAND #file_rotation_command=rotate_ndo_log # FILE ROTATION TIMEOUT file_rotation_timeout=60 # RECONNECT INTERVAL reconnect_interval=15 # RECONNECT WARNING INTERVAL reconnect_warning_interval=15 # DATA PROCESSING OPTION data_processing_options=-1 # CONFIG OUTPUT OPTION config_output_options=2 FROM NDO2DB.CFG # USER/GROUP PRIVILIGES ndo2db_user=monitoring ndo2db_group=nal # SOCKET TYPE socket_type=unix # SOCKET NAME socket_name=/usr/local/nagios/var/ndo.sock # TCP PORT tcp_port=5668 # DATABASE SERVER TYPE db_servertype=mysql # DATABASE HOST db_host=localhost # DATABASE PORT db_port=3306 # DATABASE NAME db_name=ndo # DATABASE TABLE PREFIX db_prefix=nagios_ # DATABASE USERNAME/PASSWORD db_user=user db_pass=password All help/comments welcome - 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
Re: [Nagios-users] Monitoring of specific log events in Event Viewerthrough Nagios
Take a look at check_log -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Navdeep Sidhu Sent: 30 August 2007 06:38 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Monitoring of specific log events in Event Viewerthrough Nagios Hi All Is there any option to monitor specific log events get notification through Nagios? For eg. If there is an event id 4096 comes up under Application event viewer then I should get notification for the same. Nagios version is 2.8, plugin version is 1.52 OS is RHEL ES4. Thanks in advance Regards Navdeep Singh Sidhu == i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. == DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. - 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 - 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
Re: [Nagios-users] statusmap.cgi is not found in Nagios ver. 2.9
Hi Maged, You probably didn't have all the libraries needed to create it at compile time. Look at this FAQ from the support section on the Nagios site.it addresses your problem http://www.nagios.org/faqs/viewfaq.php?faq_id=55expand=falseshowdesc=f alse Regards Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maged Mahmoud Sent: 15 May 2007 11:02 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] statusmap.cgi is not found in Nagios ver. 2.9 Dear all After compiled Nagios version 2.9 from source and configure the web authentication , then setup nagios.cfg and all nagios configuration realed files . i had error when click Status Map after authenticated nagios web console is told Object not found! , and the statusmap.cgi file is not included in this path /usr/local/nagios/sbin , what the wrong in the configuration or in the nagios package ? OS system : SuSE Linux Enterprise Server 10 Nagios ver : 2.9 Thanks Armagdon - 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] NRPE: Command 'check_swap' not defined
Hi When you run the command manually does it work? Here is what I get when I run my command [EMAIL PROTECTED]:/usr/local/nagios/libexec ./check_nrpe -H test_server_1 -c check_load OK - load average: 1.09, 1.04, 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.010;5.000;20.000;0; Can you run the command and post the output if you are still getting problems? Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. Here is the output from /var/log/messages with debug turned on in nrpe.cfg May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... May 2 09:59:34 h12oiap nrpe[4469]: Running command: /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: Return Code: 0, Output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; What do you get when you run yours? Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 09:50 To: Welsh,T,Tom,XSL4A C Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, all, I just manually run command for testing purpose on my monitor server: /usr/local/nagios/check_nrpe -H remote_host_name -c check_load I've not configured it in Nagios configuration files yet. Regards, Yu Ting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 4:36 PM To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Is the check load command specified on the nagios monitoring box Here is how my config is defined. Remote nrpe box. /usr/local/etc/nrpe.cfg command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg # ' check load on remote systems using nrpe define command{ command_namecheck_nrpe_load command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } This works fine for me. Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 02 May 2007 09:26 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, I've run into following NRPE issue. NRPE: Command 'check_load' not defined I've checked my remote client nrpe.cfg and the command definition is properly configured there. command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ... Does anybody know what reason else can cause such issue? Thanks in advance. Regards, Yu Ting - 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
Re: [Nagios-users] NRPE: Command 'check_swap' not defined
Ok Lets take it from the top. 1. About the software you have installed 1a. What OS are you using 1b. What version of Nagios and nagios Plugins are you using? 1c. What version of nrpe are you using? 1d. Is Nagios and the Plugins configured? 1e. If you run nagios -v ./nagios.cfg does it pass the pre-flight check? 1f. What user are you running the check_nrpe command as? 2. On remote nrpe box 2a. Is nrpe defined in /etc/services? nrpe5666/tcp Nagios Remote Plugin Executor 2b. Is nrpe defined in inetd/xinetd? 2c. Is nrpe listening to the port Test_Server_1:~ # netstat -a |grep nrpe tcp0 0 *:nrpe *:* LISTEN 2d. Can you telnet from the nagios host to the remote nrpe port? [EMAIL PROTECTED]:~ telnet Test_Server_1 5666 Trying 132.146.185.160... Connected to h12oiap.btvsu.net. Escape character is '^]' 2e. Check the definition of check_swap in your nrpe.cfg file command[check_swap]=/usr/local/nagios/libexec/check_swap -w 30% -c 20% If all off section 2 is working and you can telnet to the port then nrpe is configured to listen correctly 3. Checking nagios install on local nagios monitoring host. 3a. Is nagios running? 3b. Does the nagios pre-flight check pass ok /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg -SNIP Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check -SNIP 3c. Lets look at your /usr/local/nagios/etc/checkcommand.cfg file Have you specified a check_load or as I like to define different local and remote commands check_nrpe_swap in the file above. If you haven't you will get an error like you are seeing. # ' check swap space usage on remote systems define command{ command_namecheck_nrpe_swap command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } I have run through the above and when I run the check_nrpe command on the command line I get the following [EMAIL PROTECTED]:/usr/local/nagios/libexec ./check_nrpe -H Test_Server_1 -c check_swap SWAP OK - 100% free (5137 MB out of 5137 MB) |swap=5137MB;1541;1027;0;5137 And like an epiphany, I just read your post title, it looks like you need to define the check swap in your checkcommands.cfg file first. Hope this helps. Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 10:24 To: Welsh,T,Tom,XSL4A C Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, No, I even can't run check_nrpe command successfully in command line. Below is the running command and output: -sh-3.00$ ./check_nrpe -H remote_client_name -c check_load NRPE: Command 'check_load' not defined I've turned on the debug in my remote client nrpe.cfg file but no message outputs to my system log file at all - /var/adm/syslog/syslog.log. That's also puzzle me. I'm using nrpe.cfg sample file to config and nrpe daemon is running as below on the client. nagios 14891 1 0 16:18:47 ? 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d Regards, Yu Ting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 5:01 PM To: [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi When you run the command manually does it work? Here is what I get when I run my command [EMAIL PROTECTED]:/usr/local/nagios/libexec ./check_nrpe -H test_server_1 -c check_load OK - load average: 1.09, 1.04, 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.010;5.000;20.000;0; Can you run the command and post the output if you are still getting problems? Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. Here is the output from /var/log/messages with debug turned on in nrpe.cfg May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... May 2 09:59:34 h12oiap nrpe[4469]: Running command: /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: Return Code: 0, Output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; What do you get when you run yours? Regards Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2007 09:50 To: Welsh,T,Tom,XSL4A C Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not
Re: [Nagios-users] Create mesh network in status map
Might be a stretch here but why not use a hostdependency group and only alert when x amount off servers don't respond? Description: Host dependencies are an advanced feature of Nagios that allow you to suppress notifications for hosts based on the status of one or more other hosts. Host dependencies are optional and are mainly targeted at advanced users who have complicated monitoring setups. More information on how host dependencies work (read this!) can be found here. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostdependency I might be barking up the wrong dog here, but I think that would do it for you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chiel Sent: 26 April 2007 14:23 Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Create mesh network in status map And how can I make a relation between them that way? because I have also normal hosts that I monitor that are not part of this mesh. chiel - Original Message - From: Jo [EMAIL PROTECTED] To: chiel [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Sent: Thursday, April 26, 2007 3:19 PM Subject: Re: [Nagios-users] Create mesh network in status map chiel wrote: hello, We got a mesh network (every node connected to each other). But how can I use this in the status map? I don't think its a parrent/child relation because a node will still be up if a parrent fails (because there are other parrents). Can somebody explain me this and how to set it up for the status map? I guess you'll have to treat them all as independent hosts, all at the same level. Jo - 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
Re: [Nagios-users] NAGIOS 2.3.1 version issues
Hey All, Its only a wild guess but there is a space in your config file name config file '/opt/hptc/nagios/etc/xc- hostgroups.cfg', xc- hostgroups.cfg Should it not be xc-hostgroups.cfg. Check your nagios.cfg file where you specified the above filename and verify it is the same as the actual hostgroups.cfg file. HTH Tom _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of srikalyan tangirala Sent: 07 March 2007 14:03 To: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] NAGIOS 2.3.1 version issues Hi all: As I'm trying to verify the configuration file, I'm getting this error message. We have this HP Cluster setup and NAGIOS is installed there. There are 18 nodes(n1 through n18) n18 being the main node. All the nodes are up and running. Can any one help me out? Best, Sri -bash-3.00# /opt/hptc/nagios/bin/nagios -v /opt/hptc/nagios/etc/nagios.cfg Nagios 2.3.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org http://www.nagios.org/ ) Last Modified: 05-15-2006 License: GPL Reading configuration data... Warning: Could not get group entry for 'nagios' Error: Could not find any host matching 'n1' Error: Could not expand member hosts specified in hostgroup (config file '/opt/hptc/nagios/etc/xc- hostgroups.cfg', starting on line 90) *** One or more problems was encountered while processing the config files... 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. On 3/5/07, srikalyan tangirala [EMAIL PROTECTED] wrote: Hi All: I'm using NAGIOS 2.3.1 version.Installed and configured it with authenticated users as nagiosadmin and guest. Now, when I logged in as nagiosadmin and trying to check if the services under Monitoring list works, they dont seem to work and the information that it provides is the below. I configured the additional permissions to CGI also with system information, commands, all hosts,services according to the documentation. It does not seem to work. Can anyone help me? I'm a newbie and need some help. Whoops! Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the -v command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing thanks sri - 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] Rackables + nagios
Hi List, Has anyone implemented Nagios monitoring of Rackables kit? www.rackables.com ( I think) If so what are you monitoring and how (SNMP, Custom Plugins etc) Any help gratefully received. Regards Tom - 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] Problems compiling ndoutils-1.4b1
Hi List, My box config is as follows SUSE Linux enterprise Server 9.2 Mysql 5.0.27 Php 5.2.0 Apache 2.0.59 Nagios 2.6 Nagios Plugins 1.4.5 Im trying to install ndoutils on my SLES 9.2 box and getting an error whilst doing a make. I see the following in my ./configure - SNIP - *** MySQL library could not be located... ** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following ./configure --with-mysql-lib=/usr/lib/mysql checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes checking for PQconnectdb in -lpq... No - SNIP - Now I have done everything it has said in the sections above from ./configure and I still get the error. I compiled mysql from source and I have installed the following from RPMs MySQL-client-5.0.27-0.glibc23.i386.rpm MySQL-devel-5.0.27-0.glibc23.i386.rpm MySQL-shared-5.0.27-0.glibc23.i386.rpm If I run a 'make' I get the following before it bombs out make[2]: Entering directory `/home/welsht2/downloads/nagios/ndoutils-1.4b1/src' gcc -O0 -g -DHAVE_CONFIG_H -c -o db.o db.c gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl utils.o(.text+0x131): In function `ndo_dbuf_strcat': /home/welsht2/downloads/nagios/ndoutils-1.4b1/src/utils.c:67: undefined reference to `ceil' collect2: ld returned 1 exit status make[2]: *** [ndo2db-2x] Error 1 make[2]: Leaving directory `/home/welsht2/downloads/nagios/ndoutils-1.4b1/src' make[1]: *** [ndo2db] Error 2 make[1]: Leaving directory `/home/welsht2/downloads/nagios/ndoutils-1.4b1/src' Anyone any ideas what ive done wrong. All help gratefully received. Regards Tom Welsh - 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] Installing issue.
Hi David, You have not said whether or not you have created your config files? By default when you install nagios no configuration files are installed. Have you checked that the /path-to-nagios/etc exists. Read the following faq http://www.nagios.org/faqs/viewfaq.php?faq_id=49expand=falseshowdesc=false Im almost positive this will be your problem. IF its not then drop me a line and i'll try and help u oout with a very basic first set off configs that will get u off the ground. Regards Tom -Original Message- From: [EMAIL PROTECTED] on behalf of Nene Sent: Mon 23/10/2006 23:11 To: nagios-users@lists.sourceforge.net Cc: Subject:[Nagios-users] Installing issue. Hello list, I'm newbie and this is my first Nagios Installation: OS: Fedora Core Release 3.0 I installed the binaries and didn't have any problem making the compilation, but I when I want to check my .cfg I got this error message: [EMAIL PROTECTED] /]# /usr/local/nagios/bin/nagios -v nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Cannot open main configuration file '//nagios.cfg' for reading! *** One or more problems was encountered while processing the config files... Should I continue with next configuration steps ?? It's normal to get this kind of error ?? David - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Some info on check_disk output
Title: Some info on check_disk output Hi List, SLES9.2 Nagios 2.5 Nagios-Plugins 1-4-3 NRPE 2.5.1 When I look at my check disk output in nagios I see the following against some entries. My disks are partitioned with LVM My command line from my nrpe.cfg is command[check_disk1]=/usr/local/nagios/libexec/check_disk -l -X iso9660 -w 20% -c 10% -W 20% -K 10% -p / [EMAIL PROTECTED]:~ /usr/local/nagios/libexec/check_disk -l -X iso9660 -w 20% -c 10% -W 20% -K 10% -p / Which returns the below DISK OK - free space: / 1188 MB (53% inode=nan%);| /=1068MB;1804;2029;-2147483648;2255 I get the following returned in the Nagios Services view. Free Disk Space / OK 05-10-2006 11:25:09 0d 17h 51m 42s 1/3 DISK OK - free space: / 2699 MB (66% inode=nan%): Free Disk Space /boot OK 05-10-2006 11:25:37 0d 17h 50m 26s 1/3 DISK OK - free space: /boot 63 MB (61% inode=nan%): Free Disk Space /opt OK 05-10-2006 11:26:21 0d 17h 49m 10s 1/3 DISK OK - free space: /opt 987 MB (96% inode=nan%): Free Disk Space /osmf OK 05-10-2006 11:22:04 0d 17h 52m 57s 1/3 DISK OK - free space: /osmf 145 MB (73% inode=nan%): Free Disk Space /tmp OK 05-10-2006 11:22:47 0d 17h 51m 41s 1/3 DISK OK - free space: /tmp 462 MB (92% inode=100%): Free Disk Space /usr OK 05-10-2006 11:23:29 0d 17h 50m 25s 1/3 DISK OK - free space: /usr 2053 MB (67% inode=nan%): Free Disk Space /var OK 05-10-2006 11:24:12 0d 17h 49m 9s 1/3 DISK OK - free space: /var 29720 MB (56% inode=nan%): What I want to know is what does the % inode=nan% mean? It seems that the only filesystem to return inodes is /tmp but that probably coz its not sitting on any particular disk. Here's my fstab h1oiap:/home/welsht2 # cat /etc/fstab /dev/vg01/rootlv / reiserfs defaults 1 1 /dev/sda1 /boot reiserfs defaults 1 2 /dev/vg01/homelv /home reiserfs defaults 1 2 /dev/vg01/optlv /opt reiserfs defaults 1 2 /dev/vg01/osmflv /osmf reiserfs defaults 1 2 /dev/vg01/usrlv /usr reiserfs defaults 1 2 /dev/vg01/varlv /var reiserfs defaults 1 2 /dev/sda5 swap pri=42 0 0 /dev/sda6 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 sysfs /sys sysfs noauto 0 0 /dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 none /tmp tmpfs mode=1777,size=500M 0 0 Any help gratefully received Regards Tom - 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] NRPE and Check_disk error
Title: NRPE and Check_disk error Hey List, Current setup. Nagios 2.5 - Standard install to /usr/local/nagios/* Nagios Plugins 1.4.3 - Standard install to /usr/local/nagios/libexec SUSE Linux Enterprise Server 9 sp2 - Disks partitioned with LVM ( yes I have taken that into account in my check command I think) I am attempting to check disks on remote machines using NRPE. This works fine but I do net get the actual disk free figures displayed in the Service Detail view off the host. All I get displayed is DISK OK - free space: When I look at actual Service page I see that the Performance data shows the Disk free figures Service State Information Current Status: OK Status Information: DISK OK - free space: Performance Data: /=10840MB;11468;12901;-9223372036854775808;14335 Here is the relevant sections from my configs. From NRPE config file on monitored host /usr/local/etc/nrpe.cfg pid_file=/var/run/nrpe.pid server_port=5666 server_address=xxx.xxx.xxx.xxx dont_blame_nrpe=0 nrpe_user=nagios nrpe_group=nagios debug=1 command_timeout=60 command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / From checkcommands.cfg on monitoring host # ' check systems using nrpe to check remote / file system size define command{ command_name check_nrpe_root command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ From services.cfg on monitoring host # Free Space on remote system / partition define service{ use generic-service host_name h4oiap service_description Free Disk Space / is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups vsu-p notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_nrpe_root!check_disk1 When I execute the command as the nagios user on both the monitored and monitoring boxes I get the output below. As you can see the Monitored host reports the space free on the disk. Cool thats what I want thanks. From Monitored host [EMAIL PROTECTED]:/usr/local/nagios/libexec /usr/local/nagios/libexec/check_disk -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / DISK OK - free space: / 3492 MB (24% inode=nan%);| /=10843MB;11468;12901;-9223372036854775808;14335 On the monitoring host we do not seem to pick up the free space. Have I not escaped something in my configs. From Monitoring host [EMAIL PROTECTED]:/usr/local/nagios/etc /usr/local/nagios/libexec/check_nrpe -H 132.146.185.13 -p 5666 -c check_disk1 DISK OK - free space:| /=10842MB;11468;12901;-9223372036854775808;14335 I know I've missed something stupid and cant spot it. I'm hopefull one off you eagle eyed blighters might spot it. All help gratefully received. Tom - 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] How many host to monitor
Hi, Take a look at the propaganda page on the nagios site for some customer http://www.nagios.org/userprofiles/viewprofile.php?profile_id=1700 http://www.nagios.org/userprofiles/viewprofile.php?profile_id=1457 http://www.nagios.org/userprofiles/viewprofile.php?profile_id=1602 http://www.nagios.org/userprofiles/viewprofile.php?profile_id=1715 Nagios is very flexible and can be used in a variety of ways to do exactly what u want. Regards Tom Welsh From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Mauricio Reyes SanmiguelSent: 27 September 2006 00:15To: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]Subject: [Nagios-users] How many host to monitor Hi.. Just a simple question, What would be the hardware requirements to be able to monitor 1500 hosts with nagios? What kind of server do you recommend?, does nagios support the monitoring of all of this hosts? Thanks in advance. Creyes - 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] host name problem
Ignore my last, major brain fart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 12 September 2006 19:09 To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] host name problem Hi Brian, You don't need to specify the service_description in the serviceextinfo file see the docs... Info taken from Extended Service Information Definition Description: Extended service information entries are basically used to make the output from the status and extinfo CGIs look pretty. They have no effect on monitoring and are completely optional. Definition Format: Note: Variables in red are required, while those in black are optional. However, you need to supply at least one optional variable in each definition for it to be of much use. define serviceextinfo{ host_name host_name service_description service_description notes note_string notes_url url action_url url icon_image image_file icon_image_alt alt_string } Example Definition: define serviceextinfo{ host_name linux2 service_description Log Anomalies notes Security-related log anomalies on secondary Linux server notes_url http://webserver.localhost.localdomain/serviceinfo.pl?host=linux2servic e=Log+Anomalies icon_image security.png icon_image_alt Security-Related Alerts } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Smith Sent: 12 September 2006 18:36 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] host name problem Hello all, does anyone know why the following problem occurs: I have some hosts having duplicate name issues when adding the serviceextinfo information for those hosts. Host 1 is called earth, host 2 is called earthquake. Here's the hosts.cfg definition: - define host{ namegeneric-host 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_information0 register0 } define host{ use generic-host; Name of host template to use host_name earth alias earth address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_optionsd,r contact_groups admins } define host{ use generic-host; Name of host template to use host_name earthquake alias earthquake address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_optionsd,r contact_groups admins } -- And here is the services.cfg 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_information0 register0 } define service{ use generic-service ; Name of service template to use host_name earth,earthquake service_description PING is_volatile 0 check_period24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_optionsw,u,c,r notification_interval 60 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% }
Re: [Nagios-users] Logged in as ? -- http auth not working ?
Hi Rob, Take a look at Authentication and authorisation in the CGI's section off the docs, or alternatively jump to it from faq F0048. this solved a similar problem for me a few years ago. -- tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Ristroph Sent: 12 September 2006 17:19 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Logged in as ? -- http auth not working ? This is not the problem, I already had the htpasswd user be a valid contact, and the default_user_name was already commented out. I am not sure what it is, except that I suspect it is something in my apache configs. --Rob Rodrigo == Rodrigo Maceno [EMAIL PROTECTED] writes: Rodrigo Rodrigo Ok, I had this same problem some time ago... Rodrigo First, you must to retire the default_user_name at the cgi.cfg Rodrigo archive. You must define a valid contact at the minimal.cfg (or Rodrigo another archive that you have your contacts). This contact must be in htpasswd archive... Rodrigo Rodrigo Try to do it... Rodrigo Rodrigo []'s Rodrigo Rodrigo 2006/9/8, Marc Powell [EMAIL PROTECTED]: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Rob Ristroph Sent: Thursday, September 07, 2006 8:11 PM To: Nagios Users Mailinglist Subject: [Nagios-users] Logged in as ? -- http auth not working ? Hi, When I visit my nagios from the web, it asks me for the user/pass and I log in successfully, except when I do show host details it says: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. It also says Logged in as ? near the top of the page. It prints to standard out a correct html page that says Logged in as nagiosadmin. I can't find any useful information in the apache or nagios logs. Any suggestions on how this can be debugged ? I realize that Make sure that you have the correct htaccess information for the _sbin_ directory, not (just) the share directory. Depending on how you configured it it's either in httpd.conf or an .htaccess file in ~nagios/sbin. It's the configuration for the sbin directory that's important. http://nagios.sourceforge.net/docs/2_0/installweb.html If you made the changes to httpd.conf, be sure you restarted apache after doing so. -- Marc - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121 642 ___ 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 Rodrigo --- Rodrigo -- Using Tomcat but need to do more? Need to support Rodrigo web services, security? Rodrigo Get stuff done quickly with pre-integrated technology to make Rodrigo your job easier Download IBM WebSphere Application Server Rodrigo v.1.0.1 based on Apache Geronimo Rodrigo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057d Rodrigo at=121642___ Rodrigo Nagios-users mailing list Rodrigo Nagios-users@lists.sourceforge.net Rodrigo https://lists.sourceforge.net/lists/listinfo/nagios-users Rodrigo ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. Rodrigo ::: Messages without supporting info will risk being sent to Rodrigo /dev/null -- http://rgr.freeshell.org/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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
Re: [Nagios-users] host name problem
Hi Brian, You don't need to specify the service_description in the serviceextinfo file see the docs... Info taken from Extended Service Information Definition Description: Extended service information entries are basically used to make the output from the status and extinfo CGIs look pretty. They have no effect on monitoring and are completely optional. Definition Format: Note: Variables in red are required, while those in black are optional. However, you need to supply at least one optional variable in each definition for it to be of much use. define serviceextinfo{ host_name host_name service_description service_description notes note_string notes_url url action_url url icon_image image_file icon_image_alt alt_string } Example Definition: define serviceextinfo{ host_name linux2 service_description Log Anomalies notes Security-related log anomalies on secondary Linux server notes_url http://webserver.localhost.localdomain/serviceinfo.pl?host=linux2servic e=Log+Anomalies icon_image security.png icon_image_alt Security-Related Alerts } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Smith Sent: 12 September 2006 18:36 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] host name problem Hello all, does anyone know why the following problem occurs: I have some hosts having duplicate name issues when adding the serviceextinfo information for those hosts. Host 1 is called earth, host 2 is called earthquake. Here's the hosts.cfg definition: - define host{ namegeneric-host 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_information0 register0 } define host{ use generic-host; Name of host template to use host_name earth alias earth address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_optionsd,r contact_groups admins } define host{ use generic-host; Name of host template to use host_name earthquake alias earthquake address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_optionsd,r contact_groups admins } -- And here is the services.cfg 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_information0 register0 } define service{ use generic-service ; Name of service template to use host_name earth,earthquake service_description PING is_volatile 0 check_period24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_optionsw,u,c,r notification_interval 60 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } -- Everything works great now, until i add some serviceextinfo: serviceextinfo.cfg: ---
[Nagios-users] NRPE :- (Return code of 126 is out of bounds - plugin may be missing)
I am having a problem getting NRPE and checks to work with Nagios Nagios Version 2.5 Nagios Plugins 1.4.3 NRPE 2.5.2 I realise I have missed something, but having looked at this now for almost 2 hours and having ran through the faq and mailing lists I have resorted to posting to the mailing list. I believe NRPE is configured correctly and that my commands are working fine as attested to below. However, when Nagios executes the NRPE checks it fails the test and causes the following error to be displayed. (Return code of 126 is out of bounds - plugin may be missing) I know the files exist and that Nagios can see them Nagios Monitoring host: usel [EMAIL PROTECTED]:~ ll /usr/local/nagios/libexec/check_nrpe -rwxr-xr-x 1 Nagios nagios 56426 2006-09-07 15:48 /usr/local/nagios/libexec/check_nrpe Nagios Monitored host h4oiap [EMAIL PROTECTED]:/ ll /usr/local/nagios/libexec/check_disk -rwxr-xr-x 1 root root 104473 2006-09-10 22:32 /usr/local/nagios/libexec/check_disk [EMAIL PROTECTED]:/ ll /usr/local/sbin/nrpe -rwxr-xr-x 1 nagios nagios 113380 2006-09-07 14:58 /usr/local/sbin/nrpe I have external command checking configured in my nagios.cfg file and Nagios is working fine doing the ping tests to remote machines. It also behaves correctly allowing me to handle comments, re-schedule tests, add scheduled down time so I know the permissions on the nagios.cmd file are ok [EMAIL PROTECTED]:~ ll /usr/local/nagios/var/rw/nagios.cmd prw-rw 1 nagios nagcmd 0 2006-09-11 01:25 /usr/local/nagios/var/rw/nagios.cmd I'm hoping someone will spot my mistake and says its nice and easy to fix :) But I am willing to take hard answers as well START OFF CONFIGS From checkcommand.cfg define command{ command_namecheck_nrpe command_line$USER1$ /check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } From services.cfg # check number off users logged in define service{ use generic-service host_name h4oiap service_description Logged In Users is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval1 contact_groups vsu-p notification_interval 120 notification_period 24x7 notification_optionsw,c,r check_command check_nrpe!check_users } # Free Space on / define service{ use generic-service host_name h4oiap service_description Free Disk Space / is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval1 contact_groups vsu-p notification_interval 120 notification_period 24x7 notification_optionsw,c,r check_command check_nrpe!check_disk1 From nrpe.cfg on monitored host h4oiap pid_file=/var/run/nrpe.pid server_port=5666 nrpe_user=nagios nrpe_group=nagios dont_blame_nrpe=0 debug=1 command_timeout=60 # The following examples use hard coded command arguments... command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / END OFF CONFIGS START OFF Commands executed on h4oiap monitored host Running above commands locally on monitored host h4oiap produces the following CHECK DISK [EMAIL PROTECTED]:/usr/local/nagios/libexec /usr/local/nagios/libexec/check_disk -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / DISK OK - free space: / 3041 MB (27% inode=nan%);| /=8222MB;9010;10136;-9223372036854775808;11263 CHECK USER [EMAIL PROTECTED]:/usr/local/nagios/libexec /usr/local/nagios/libexec/check_users -w 5 -c 10 USERS OK - 1 users currently logged in |users=1;5;10;0 END OFF Commands executed on h4oiap monitored host ## ## START OFF Commands executed on USEL, The NAGIOS MONITORING host ## Running the above commands via check_nrpe from the MONITORING host usel produces the following [EMAIL PROTECTED]:~ /usr/local/nagios/libexec/check_nrpe -H 132.146.185.13 -p 5666 -c check_disk1 DISK OK - free space:| /=8222MB;9010;10136;-9223372036854775808;11263 Debug syslog output from h4oiap Sep 11 00:57:51 h4oiap nrpe[6620]: Added command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 Sep 11 00:57:51 h4oiap nrpe[6620]: Added command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X