Next:
developer-guide
Previous:
check_snmp
 [Table of Contents][Index]

data_sendmsg



NAME

data_sendmsg - spong-network module that sends copies of update messages to other spong-servers

DESCRIPTION

This is a plugin module for the Spong the spong-server entry elsewhere in this document program. This module sends incoming update messages to other spong-servers. It's purpose is to set up regional Spong configurations that feed incoming status messages to upper level Spong configurations.

Configuration

$SENDMSG_SERVERS
A string that has the list of other Spong Servers that you want to the status update messages to. The syntax is "hostname[:port] hostname[:port] ...". If the :port is not specified, Spong::Status::SendMsg defaults to $main::SPONG_UPDATE_PORT variable passed in the procedure call. See the section on $SPONG_UPDATE_PORT in the spong.conf manpage for more details.
@SENDMSG_INC_HOSTS
This is ia list of hosts who's status messages are sent to the other Spong Server specified in $SENDMSG_SERVERS. These entries can be partial host names or Perl regular expressions.
@SENDMSG_EXCL_HOSTS
This is a list of hosts that should be exclude from send to the other Spong Servers specified in $SENDMSG_SERVERS. These entries can be partial host names or Perl regulare expressions.

EXAMPLES

 $SENDMSG_SERVERS = "spong-reg1.myinc.com:1998 spong-toplevel.myinc.com:1998
                     spong-proxy.myinc.com:19980";

 $SENDMSG_INC_HOSTS = ( '.*', );

 $SENDMSG_EXCL_HOSTS = ( 'test1', 'test2', '.engr.myinc.com$', );

SEE ALSO

the spong-server entry elsewhere in this document, the spong.conf manpage, the Spong Developer Guide|developer-guide entry elsewhere in this document

RESTRICTIONS

data_sendmsg uses the Spong::Status library module to work. It uses the new capability to send a status message to multiple servers. It is only available in versions 0.02 and up of the Spong::Status module.

AUTHOR

Stephen L Johnson <sjohnson@monsters.org>.


[Top] Generated by Pod::HTML 0.43 on Wed Jun 13 11:17:40 2001