Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL
Bizarrely, I used ./configure --with-mysql-lib=/usr/lib and everything worked fine. Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 03, 2007 9:08 AM To: Wheeler, JF (Jonathan) Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL I have found the issue. The RPMs from mysql do not contain the proper shared objects. Installing MySQL from source solved the issue. I now have NDOUtils, NagVis, and various other customizations running flawlessly. Thank you all for the suggestions. [EMAIL PROTECTED] wrote on 10/02/2007 08:27:02 AM: -Original Message- From: [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 02 October 2007 14:17 I have been trying this for a day now and it is time to ask for some help. I have included the full output of the configure, as well as RPM output and directory listings. Any help would be greatly appreciated. It seems that NDO cannot find what it is looking for in regards to mysql yet AFAIK everything is there. Please advise if something is missing, or if I should compile mysql from source, or any other fix. Here is all the relevant information I can think of this morning: ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql Use the following make command: ./configure --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql --disable-pgsql Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory - 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/ http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ [attachment ATT4488962.txt deleted by Mark Potter/IS/Academy] - 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/ 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 https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] check_nt
Hi Group, Does anyone know what these are the only tests compiled into the 1.4.9 plugins for check_nt are ~ CHECK_NONE, CHECK_CLIENTVERSION, CHECK_CPULOAD, CHECK_UPTIME, CHECK_USEDDISKSPACE, CHECK_SERVICESTATE, CHECK_PROCSTATE, CHECK_MEMUSE, CHECK_COUNTER, CHECK_FILEAGE, Some other ones like are mentioned in the NC_NET documentation. ENUMCONFIG ENUMPASSIVE ENUMSERVICE ENUMPROCESS ENUMCOUNTER ENUMCOUNTERDESC WMICAT WMICOUNTER Am I missing something? - 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] check_nt
True, NC_NET includes its own client version - I just can't figure out how to get that to run on my Linux Nagios box. :-) Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael W. Lucas Sent: Monday, July 23, 2007 2:42 PM To: Law, Mark (TH USA) Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_nt nc_net includes its own version of check_nt. Personally, I wish they'd change the name... On Mon, Jul 23, 2007 at 02:40:08PM -0400, [EMAIL PROTECTED] wrote: Hi Group, Does anyone know what these are the only tests compiled into the 1.4.9 plugins for check_nt are ~ CHECK_NONE, CHECK_CLIENTVERSION, CHECK_CPULOAD, CHECK_UPTIME, CHECK_USEDDISKSPACE, CHECK_SERVICESTATE, CHECK_PROCSTATE, CHECK_MEMUSE, CHECK_COUNTER, CHECK_FILEAGE, Some other ones like are mentioned in the NC_NET documentation. ENUMCONFIG ENUMPASSIVE ENUMSERVICE ENUMPROCESS ENUMCOUNTER ENUMCOUNTERDESC WMICAT WMICOUNTER Am I missing something? - 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 -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. - 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] nagios with Mysql
Look in the documentation for OLD PASSWORD - you can fix this error by updating the access password using an old style password. Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 05, 2007 4:23 PM To: [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios with Mysql Hi Patrick I upgraded mysql on my system yesterday. New version is - mysql Ver 14.12 Distrib 5.0.41, for pc-linux-gnu (i686) using readline 5.0 But now I am getting below error message DBI connect('database=nagios;host=localhost','nagiosuser',...) failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at ./installdb line 41 How can I resolve this problem? Which version of Mysql should I use? Thanks - LK -Original Message- From: Morris, Patrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 04, 2007 6:35 AM To: Lokesh Khanna Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] nagios with Mysql -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 10:05 PM To: Morris, Patrick Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios with Mysql I have dropped nagios DB which I created and trying to re create again. When I execute installdb script for tables creation, I get below error DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist at ./installdb line 51. ** Creating tables for version 1.4b4 Using mysql.sql for installation... ERROR 1064 at line 19: You have an error in your SQL syntax near 'ENGINE=MyISAM COMMENT='Current and historical host and service acknowledgements'' at line 15 Installation from mysql.sql failed at ./installdb line 59. What version of MySQL are you building it with? I'd have to be a pretty old version not to support the ENINE=MyISAM option. - 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 HTTP monitoring
You might try closing the ! in the service definition and putting double quotes around the $ARGn$ parameters in the command file. Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerad Riggin Sent: Monday, June 25, 2007 10:05 AM To: GJP Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios HTTP monitoring Any idea why this -a switch isn't working? If I do this in a command prompt it works fine: ./check_http -S -H url.com -a username:password it returns an OK. The same command in nagios won't work (unauthorized). On 6/22/07, Jerad Riggin [EMAIL PROTECTED] wrote: It's still giving me an unauthorized message. I've verified the credentials work for me to get in through a browser. Is there something else I could be missing? On 6/22/07, GJP [EMAIL PROTECTED] wrote: Jerad, No entirely, because you feed the arguments to the actual command with $ARGn$ So in de service definition: check_http!site.com!5!admin:password And the command_line format in command definition (probably in: /etc/nagios-plugins/config/http.cfg) should be: command_line/usr/lib/nagios/plugins/check_http -H $ARG1$ -t $ARG2$ -a $ARG3$ Be carefull with that -t 5 btw. That is a very low value to timeout. Hope it helps. Regards, Gerard. On Friday 22 June 2007 19:17:29 Jerad Riggin wrote: So check_http!-H site.com http://site.com/ -t 5 -a admin:password should be check_http!-H site.com!-t 5!-a admin:password? On 6/22/07, GJP [EMAIL PROTECTED] wrote: Jerad, I didn't understand that either. That's why I customized the the check_http command definition. That way (in my previous example) you can have your http checks from any Nagios client. Usefull for instance for off-site checks. Regarding the -a switch. The -a $ARG1$ (or whatever) should be in your command definition. And your parms as you 'feed' them to the command in your service definition seperated with !. Regards, Gerard. On Friday 22 June 2007 16:59:30 Jerad Riggin wrote: If I change the hosts.cfg from the IP of the server (10.10.10.7 http://10.10.10.7/ ) to the URL I'm specifying in services.cfg, it works fine. The default site for 10.10.10.7 http://10.10.10.7/ is a CRM site which requires basic auth. So even though i'm specifying a URL in services.cfg, it looks like it's be overridden by the hosts.cfg so it can't auth. What is the point of the -H switch in services.cfg if it always uses the IP for the host in hosts.cfg? I tried that format (-a admin:password) at the end of the check in services.cfgbut it still failed with unauthorized. On 6/22/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto: nagios-users- [EMAIL PROTECTED] On Behalf Of Jerad Riggin Sent: Friday, June 22, 2007 8:41 AM To: GJP Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios HTTP monitoring I have a check_http command that works perfectly at the command prompt ./check_http -H lagarde -t 5 -s LaGarde Intranet site However in nagios, check_http!-H lagarde -t 5 -s LaGarde Intranet site still returns an unauthorized. So basically why would it work in a command prompt but not in nagios? Perhaps some difference in environment? Did you test as the nagios user? Is that the _exact_ way it's defined in the config? And what is the syntax for the -a (basic auth) switch? Thanks again for everyones help. -a username:password. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to ::: /dev/null - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net
[Nagios-users] Nagios monitoring limits: hosts and services
I'm starting to get complaints from our Operations group that the Nagios web GUI is getting slow. This is on a version 1.x Nagios server. The server is monitoring 678 hosts and 3481 services organized in 29 host groups. Most checks are done on 5 minutes intervals. I've gone over all of the documented tweaks to improve performance. The hardware seems adequate and isn't starved for CPU; loads seem reasonable; although the Check Latency under the Performance Info screen continually creeps up - currently at Max. 23 seconds. Time to load the Status Overview screen: 8,5,6,6 seconds Time to load the Status Summary screen: 42,35 I guess my first question is what do your uses expect in terms of performance? Am I missing the boat on something real basic here? How many hosts/services do you manage per Nagios host? Thanks in advance - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Citrix
Does anyone else have a citrix farm of machines to suport? How do you moniotor them with Nagios? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Notifications and Event Handlers
Dumb question - if I have global notification disabled, will event-handlers still be able to fire and complete? OS: Linux edcnagios2 2.4.21-47.0.1.ELsmp Nagios: version 1.2 From nagios.cfg: check_external_commands=1 enable_notifications=0 All logging is turned on. - 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] Active checks of the service have been disabled
When I restart Nagios some of the service checks come up with a big P on them ~ Active checks of the service have been disabled. Is there a way to set an option so that all service checks are active on a restart? .. The information contained in this communication may be confidential or legally privileged and is intended only for the recipient named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication or its contents is strictly prohibited. If you have received this communication in error, please immediately advise the sender and delete the original and any copies from your computer system.- 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] /tmp directory filling up
Sorry about the double post - the original advice was to check the permissions on the /tmp directory with lsattr -d /tmp. That didn't help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hugo van der Kooij Sent: Friday, October 20, 2006 2:10 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] /tmp directory filling up On Fri, 20 Oct 2006, [EMAIL PROTECTED] wrote: In the past couple of weeks the /tmp directory has been filling up with thousands of zero length files list this ~ embedded23S23e embeddedoIBi1e. What is wrong with the thread you started 4 days ago? Did you read the answer you got? How did it help you? Hugo. -- [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. - 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 - 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] /tmp directory filling up
In the past couple of weeks the /tmp directory has been filling up with thousands of zero length files list this ~ embedded23S23e embeddedoIBi1e. This is for Nagios version 1.2 Can you help? - 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] /tmp/embedded* files
One of my Nagios servers is not cleaning up /tmp/embedded* files. Has anyone seen this? What is the fix? - 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] NC_NET / Windows 2003 / MSSQLSERVER - not recognized
Has anyone run into a problem with NC_NET not being able to see running SQL processes on Windows 2003 machines? The net start command shows the server running as SQL Server (MSSQLSERVER), but this test always fails under NC_NET. Any help appreciated. --- 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=lnkkid0709bid3057dat1642 ___ 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] VMRL problem
I have a VMRL viewer. When I click on 3-D Status Map, it asks if I want to open the file, I click open, but I get a dialog box that says Internet explorer cannot download statuswrl.cgi?host=all from nadcnagios.tshmg.com. Does anyone know what Im doing wrong?
[Nagios-users] Service Clusters - how to suppress individual checks
I have a true service cluster of 3 machines. At any given moment, only 1 service is running. I have built a cluster monitor, and it works great. The problem is that for the cluster monitor to work, all 3 individual services (portmapper) need to be monitored. At any time, 2 of these are critical, but that is OK. I'd like to be able to suppress the *display* of the individual services and still allow the cluster monitor to function. A feeble attempt to insert a register 0 for the individual service caused the cluster monitor to report incorrectly. Is there a way to NOT display a service check on the GUI, but still have the check performed? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ 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 SSH to run remote command checks
Thanks for the reply . Yeah, I'm running the command '/usr/bin/ssh -l nagios blah blah', works from command line, no output. I have specifically logged into our nagios site as the nagios user and run the test just fine. I went so far as to create a small script on the target system that writes out a timestamp when it is called - again, works from the command line, not from nagios, in fact, from nagios, the log file never gets written. Did a tcpdump - no avail. Is there some more verbose logging that can be turned on that will capture *everything* happening during nagios tests? Thanks, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Thursday, December 22, 2005 12:07 PM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Using SSH to run remote command checks -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, December 22, 2005 8:46 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Using SSH to run remote command checks I tested the following command from the command line ~ /usr/bin/ssh -l nagios host1 chkAdminServer.pl and it returns OK with an exit code of 0. Great. When I put it into the following service definition, I get a Status UNKNOWN with STATUS INFORMATION (No Output) define service{ namecheck_adminserver service_description AdminServer use hg.prod.check_5min hosthost1,host2 contact_groups systemgrp check_command check_command_ssh!/path/to/perl/script/bin/chkAdminServer.pl! } The check command definition is really simple also ~ define command{ command_namecheck_command_ssh command_line/usr/bin/ssh -l nagios $HOSTADDRESS$ $ARG1$ } I have checked permissions, log files, verified public keys on the remote server, everything I can think of - but it continues to fail. In fact, it appears that the command isn't even attempting to run. Any ideas? The majority of the time this happens because people run their tests as root or some other user who does not have the same access levels as the nagios user. Did you perform your test as the nagios user? My first suspicion is that the host key hasn't been accepted for that host for the nagios user. You can also try changing your command definition to make sure nagios is calling ssh and in exactly the way you expect it is with -- define command{ command_namecheck_command_ssh command_lineecho /usr/bin/ssh -l nagios $HOSTADDRESS$ $ARG1$ /tmp/ssh_exec } -- Marc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=ick ___ 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. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ 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