welcome: please sign in
location: zabbix / ZabbixFaq / WinPopUpExample

WinPopUp Alerts

This is an easy example using smbclient posted by misterdan http://sourceforge.net/forum/forum.php?thread_id=1130980&forum_id=74299

# Script to send WinPopUp message to Zabbix admins

echo -e "$2\n\n"$3 > /etc/zabbix/msg.txt

# Send the message
cat /etc/zabbix/msg.txt|/usr/bin/smbclient -M \01289W2K -U Zabbix

where 01289W2K is the Netbios name of the administrator's machine and $2 and $3 are the Zabbix message subject and body respectively.

zabbix/ZabbixFaq/WinPopUpExample (last edited 2008-07-14 09:55:44 by localhost)