[Nagiosplug-help] Displaying pop up on remote systems

Andreas Baetz lac01 at web.de
Sun Mar 9 23:45:19 CET 2003

On Wednesday 05 March 2003 16:26, Pascal Miquet wrote:
> I'd like to send pop up messages on remote systems like PC running
> Windows 98/2000/XP How could it be done ?

I have done it this way (using clients with Windows NT):

define command{
        command_name    service-netsend
        command_line    /usr/bin/printf "%b" "***** Nagios 1.0b6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/smbclient -M $CONTACTEMAIL$ -U nagios

define command{
        command_name    host-netsend
        command_line    /usr/bin/printf "%b" "***** Nagios 1.0b6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/smbclient -M $CONTACTEMAIL$ -U Nagios

define contact{
        service_notification_commands   service-netsend
        host_notification_commands      host-netsend
        email                                     target_machine

It only works with Machine names, not with Usernames, and sometimes
it seems to not deliver all messages (maybe a client problem).

Andreas Baetz

More information about the Help mailing list