Fw: nagios alerts to pc

Dhaval Thakar dpthakar at hotmail.com
Tue Jan 9 13:47:48 CET 2007


Hi,


Thanks for the reply,
I tried configuring alters using smbclient as mentioned in the following 
URL.
http://www.nagiosexchange.org/typo3conf/ext/net_nagext/pi1/download.php?file=uploads/tx_netnagext_pi1/Net_send_notification/configuration.txt&ext=.txt

I checked following

"smbclient -M adminmachine -I adminip" is working properly.

redirecting output of the to log file, does not shows any input to the file.
command_line    /bin/echo '$SERVICESTATE$ alert for 
$HOSTALIAS$/$SERVICEDESC$' | /usr/bin/smbclient -M netbios_name_of_client -U 
NAGIOS >> /tmp/smbclient.log

i suspect there must some problem with contact configuration.

define contact{
        contact_name                    nagios-fw1
        alias                           Nagios fw1
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,r
        service_notification_commands   notify-by-smbclient
        host_notification_commands      host-notify-by-smbclient
       email                           nag_fw at domain.co
}

i intentionaly kept email object for the contact nagios-fw1, as putting 
smbclient or address throws error "Error: Invalid contact object directive 
'smbclient'."

Kindly suggest if there any solution for the same.
----- Original Message ----- 
From: "Jim Perrin" <jperrin at gmail.com>
To: "dhaval thakar" <dpthakar at hotmail.com>
Cc: <nagios-users at lists.sourceforge.net>
Sent: Sunday, January 07, 2007 10:33 PM
Subject: Re: [Nagios-users] nagios alerts to pc


> On 1/7/07, dhaval thakar <dpthakar at hotmail.com> wrote:
>> Dear All,
>>
>> I want to send host/service alters on Windows PC,
>> is there any plugin available for the same??
>>
>
> Look at  http://www.nagiosexchange.org/Notifications.35.0.html
> There are several things there which may do what you want.
>
>
> -- 
> During times of universal deceit, telling the truth becomes a 
> revolutionary act.
> George Orwell
> 


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