Andy, Same command (smbclient -M adminmachine -I adminip) I checked with nagios user, it is working.
I created "/tmp/smbclient.log" file with nagios user, but still there is no input in the file ----- Original Message ----- From: "Andy Shellam (Mailing Lists)" <[EMAIL PROTECTED]> To: "Dhaval Thakar" <[EMAIL PROTECTED]>; "Nagios Users mailinglist" <[email protected]> Sent: Tuesday, January 09, 2007 7:04 PM Subject: Re: [Nagios-users] Fw: nagios alerts to pc > Dhaval Thakar wrote: >> the reason to redirect to logs was to ensure execution of the command, >> but log is not created. i tried with mentioned command from shell using >> root. it is working hence communication to windows machine is ok. > There could be your problem - test the plugin running as the "nagios" > user. >> >> i have not created file "/tmp/smbclient.log", just mentioned in >> commands.cfg >> nagios user has the rights to write to /tmp dir > Don't forget to copy the list in on your replies as it could help somebody > else in the future when searching the archives. > > > Andy. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] 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
