Ian Masters wrote: >> On doing "check_snmp -H 172.25.198.36 -C xxxx -o sysUpTime.0", it returns >> SNMP OK - TimeTicks: (17742960) 2 days, 1:17:09.60 >> > > If Nagios can succeed on the command line without changing your snmp config I > would presume that means the problem is in your nagios .cfg file. > Either that, or it is a permissions problem or an environment problem. Nagios executes checks as user "nagios" not as "root". Off the top of my head, I'm not sure what, if any, environment variables are passed to the check.
-- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ 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