Fw: Fw: nagios alerts to pc

Dhaval Thakar dpthakar at hotmail.com
Tue Jan 9 15:14:44 CET 2007


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)" <andy.shellam-lists at mailnetwork.co.uk>
To: "Dhaval Thakar" <dpthakar at hotmail.com>; "Nagios Users mailinglist"
<nagios-users at 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 at 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





More information about the Users mailing list