Post your configuration for the service, host, command and contact in question - we're just stabbing in the dark without it.
Andy. Dhaval Thakar wrote: > 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" > <nagios-users@lists.sourceforge.net> > 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 > 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 > > !DSPAM:37,45a3a3b9137101955318944! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- 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