data_sendmsg
data_sendmsg - spong-network module that sends copies of update messages to
other spong-servers
This is a plugin module for the Spong the spong-server manpage 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.
- $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.
$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$', );
the spong-server manpage, the spong.conf manpage,
Spong Developer Guide
The check_interfaces module use SNMP to poll a host. It retrieves the
ifIndex, ifDesc, ifType, ifAdminStatus, and ifOperStatus fields
for every entry in the ifTable table. The module then scans all of all of
the network interfaces inretrieved from the table. Any interface that is
administratively up and is not operationally up will result in an critical
status (red) being return.
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.
Stephen L Johnson <sjohnson@monsters.org
>.
[Top]
Generated by Pod::HTML 0.41 on Wed Nov 29 21:02:19 2000