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 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