SOURCES: sysmon.init (NEW), sysmon.sysconfig (NEW), sysmon-DESTDIR...

undefine undefine at pld-linux.org
Thu Sep 21 21:22:40 CEST 2006


Author: undefine                     Date: Thu Sep 21 19:22:40 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- sysmon by pi3ter

---- Files affected:
SOURCES:
   sysmon.init (NONE -> 1.1)  (NEW), sysmon.sysconfig (NONE -> 1.1)  (NEW), sysmon-DESTDIR-headers.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/sysmon.init
diff -u /dev/null SOURCES/sysmon.init:1.1
--- /dev/null	Thu Sep 21 21:22:40 2006
+++ SOURCES/sysmon.init	Thu Sep 21 21:22:35 2006
@@ -0,0 +1,73 @@
+#!/bin/sh
+#
+# rxstack	Regina Stack daemon
+#
+# chkconfig:	345 80 30
+# description:	Regina Stack daemon
+# processname:	rxstack
+# pidfile:	/var/run/rxstack.pid
+# config:	/etc/sysconfig/rxstack
+
+# source function library
+. /etc/rc.d/init.d/functions
+
+# Get network config
+. /etc/sysconfig/network
+
+# Get service config 
+[ -f /etc/sysconfig/sysmond ] && . /etc/sysconfig/sysmond
+
+# Check that networking is up.
+if is_yes "${NETWORKING}"; then
+	if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
+		msg_network_down sysmon
+		exit 1
+	fi
+else
+	exit 0
+fi
+
+RETVAL=0
+case "$1" in
+  start)
+	# Check if the service is already running?
+	if [ ! -f /var/lock/subsys/sysmond ]; then
+		msg_starting sysmon service
+		daemon /usr/bin/sysmond -f $SYSMOND_CONFIG $SYSMOND_OPTIONS
+		RETVAL=$?
+		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/sysmond
+	else
+		msg_already_running sysmon
+	fi
+	;;
+  stop)
+	# Stop daemons.
+	if [ -f /var/lock/subsys/sysmond ]; then
+		msg_stopping sysmon 
+		killproc /usr/bin/sysmond -15
+		rm -f /var/lock/subsys/sysmond
+	else
+		msg_not_running sysmon 
+	fi
+	;;
+  restart)
+  	$0 stop && $0 start
+  	;;
+  reload)
+  	if [ ! -f /var/lock/subsys/sysmond ]; then
+		msg_reloading sysmon 
+		killproc /usr/bin/sysmond -HUP
+	else
+		msg_not_running sysmon
+	fi
+	;;
+  status)
+	status sysmond
+	RETVAL=$?
+	;;
+  *)
+	msg_usage "$0 {start|stop|restart|reload|status}"
+	exit 3
+esac
+
+exit $RETVAL

================================================================
Index: SOURCES/sysmon.sysconfig
diff -u /dev/null SOURCES/sysmon.sysconfig:1.1
--- /dev/null	Thu Sep 21 21:22:40 2006
+++ SOURCES/sysmon.sysconfig	Thu Sep 21 21:22:35 2006
@@ -0,0 +1,20 @@
+#Sysmon service options
+
+#options to append at startup
+# -b             : IP Address to listen on
+# -f config-file : Alternate config file location
+# -n             : Don't do notifies
+# -d             : Don't fork
+# -i             : Disable ICMP
+# -v             : Print version then exit
+# -w             : Toggle warning messages
+# -D             : Toggle debug messages
+# -M             : Toggle memory debugging
+# -t             : Test/check config file then exit
+# -p #           : Change port number listening on (0 to disable)
+# -q             : Quiet
+# -l             : do not syslog
+SYSMOND_OPTIONS=""
+
+#service configuration file
+SYSMOND_CONFIG=/etc/sysmon.conf

================================================================
Index: SOURCES/sysmon-DESTDIR-headers.patch
diff -u /dev/null SOURCES/sysmon-DESTDIR-headers.patch:1.1
--- /dev/null	Thu Sep 21 21:22:40 2006
+++ SOURCES/sysmon-DESTDIR-headers.patch	Thu Sep 21 21:22:35 2006
@@ -0,0 +1,1084 @@
+diff -urN sysmon-0.92.2/autoconf/Makefile.in sysmon-0.92.2-ok/autoconf/Makefile.in
+--- sysmon-0.92.2/autoconf/Makefile.in	2003-11-06 04:41:31.000000000 +0100
++++ sysmon-0.92.2-ok/autoconf/Makefile.in	2006-09-13 01:02:35.000000000 +0200
+@@ -11,7 +11,7 @@
+ CC              = @CC@
+ LEX		= @LEX@
+ CFILE           = @sysconfdir@/sysmon.conf
+-INCLUDES	= -I/usr/local/include
++INCLUDES	= -I/usr/local/include -I/usr/include/ncurses
+ CFLAGS          = @CFLAGS@ '@SENDMAIL@' -DCFILE='"$(CFILE)"' @SNP@ $(INCLUDES)
+ #@IPV6@
+ 
+@@ -54,13 +54,13 @@
+ 	grep SYSM_VERS config.h | mail -s"Sysmon Registration" jared at puck.nether.net
+ 
+ install:	all
+-	@echo "installing into @bindir@"
+-	-mkdir -p @bindir@
+-	-mv @bindir@/sysmond @bindir@/sysmond.old
+-	-mv @bindir@/sysmon @bindir@/sysmon.old
+-	cp sysmon sysmond @bindir@
+-	@echo "creating directory @sysconfdir@"
+-	-mkdir -p @sysconfdir@
++	@echo "installing into $(DESTDIR)@bindir@"
++	-mkdir -p $(DESTDIR)@bindir@
++	-mv @bindir@/sysmond $(DESTDIR)@bindir@/sysmond.old
++	-mv @bindir@/sysmon $(DESTDIR)@bindir@/sysmon.old
++	cp sysmon sysmond $(DESTDIR)@bindir@
++	@echo "creating directory $(DESTDIR)@sysconfdir@"
++	-mkdir -p $(DESTDIR)@sysconfdir@
+ 
+ strip:
+ 	-strip @PROGS@
+diff -urN sysmon-0.92.2/autoconf/Makefile.in~ sysmon-0.92.2-ok/autoconf/Makefile.in~
+--- sysmon-0.92.2/autoconf/Makefile.in~	1970-01-01 01:00:00.000000000 +0100
++++ sysmon-0.92.2-ok/autoconf/Makefile.in~	2006-09-13 00:57:45.000000000 +0200
+@@ -0,0 +1,105 @@
++# Automatically generated by configure, do not edit unless you know what
++# you are doing :)
++
++srcdir = @srcdir@
++VPATH = @srcdir@
++
++INSTALL = @INSTALL@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
++
++CC              = @CC@
++LEX		= @LEX@
++CFILE           = @sysconfdir@/sysmon.conf
++INCLUDES	= -I/usr/local/include -I/usr/include/ncurses
++CFLAGS          = @CFLAGS@ '@SENDMAIL@' -DCFILE='"$(CFILE)"' @SNP@ $(INCLUDES)
++#@IPV6@
++
++LIBS		= @LIBS@
++LDFLAGS         = @LDFLAGS@
++RM		= /bin/rm -f
++
++prefix = @prefix@
++exec_prefix = @exec_prefix@
++
++# Directory in which to install scripts.
++bindir = @bindir@
++
++# Directory in which to install library files.
++datadir = @datadir@
++acdatadir = $(datadir)/autoconf
++
++# Directory in which to install documentation info files.
++infodir = @infodir@
++
++# targets
++
++all:	@PROGS@
++
++DAEMON_OBJECTS = heartbeat.o syswatch.o page.o tcp.o udp.o icmp.o pop3.o \
++		umichX500.o loadconfig.o smtp.o nntp.o talktcp.o imap.o lib.o \
++		textfile.o http.o srvclient.o dnscache.o ircd.o sysmon.o \
++		radius.o md5.o parser.o snpp.o snmp.o pingv6.o logging.o dns.o ssh.o
++
++sysmon: client.o talktcp.o lib.o  dnscache.o
++	-$(RM) sysmon
++	$(CC) $(LDFLAGS) -o sysmon client.o talktcp.o lib.o\
++		 dnscache.o $(LIBS)
++
++sysmond: $(DAEMON_OBJECTS)
++	-$(RM) sysmond core sysmond.core
++	$(CC) $(LDFLAGS) -o sysmond $(DAEMON_OBJECTS) $(LIBS)
++
++register:
++	grep SYSM_VERS config.h | mail -s"Sysmon Registration" jared at puck.nether.net
++
++install:	all
++	@echo "installing into @bindir@"
++	-mkdir -p @bindir@
++	-mv @bindir@/sysmond @bindir@/sysmond.old
++	-mv @bindir@/sysmon @bindir@/sysmon.old
++	cp sysmon sysmond @bindir@
++	@echo "creating directory @sysconfdir@"
++	-mkdir -p @sysconfdir@
++
++strip:
++	-strip @PROGS@
++
++clean:
++	-$(RM) *.o @PROGS@ core sysmond.core sysmon.core
++
++heartbeat.o: 	config.h Makefile heartbeat.c
++syswatch.o:	config.h Makefile syswatch.c
++page.o:		config.h Makefile page.c
++tcp.o:		config.h Makefile tcp.c
++udp.o: 		config.h Makefile udp.c
++icmp.o:		config.h Makefile icmp.c
++pop3.o:		config.h Makefile pop3.c
++umichX500.o:	config.h Makefile umichX500.c
++loadconfig.o:	config.h Makefile loadconfig.c
++smtp.o:		config.h Makefile smtp.c
++nntp.o:		config.h Makefile nntp.c
++talktcp.o:	config.h Makefile talktcp.c
++imap.o:		config.h Makefile imap.c
++lib.o:		config.h Makefile lib.c
++textfile.o:	config.h Makefile textfile.c
++http.o:		config.h Makefile http.c
++srvclient.o:	config.h Makefile srvclient.c
++dnscache.o:	config.h Makefile dnscache.c
++dns.o:		config.h Makefile dns.c
++ircd.o:		config.h Makefile ircd.c
++sysmon.o:	config.h Makefile sysmon.c
++radius.o:	config.h Makefile radius.c
++md5.o:		config.h Makefile md5.c md5.h
++snpp.o:		config.h Makefile snpp.c
++snmp.o:		config.h Makefile snmp.c
++pingv6.o:	config.h Makefile pingv6.c
++logging.o:	config.h Makefile logging.c
++ssh.o:		config.h Makefile ssh.c
++
++parser.c: parser.l
++	-$(RM) parser.c
++	$(LEX) -t parser.l > parser.c
++
++parser.o: parser.c config.h
++
+diff -urN sysmon-0.92.2/src/config.h sysmon-0.92.2-ok/src/config.h
+--- sysmon-0.92.2/src/config.h	2005-10-12 05:30:05.000000000 +0200
++++ sysmon-0.92.2-ok/src/config.h	2006-09-13 00:57:23.000000000 +0200
+@@ -21,7 +21,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/time.h>
+ #include <sys/resource.h>
+-#include <sys/stat.h>
++//#include <sys/stat.h>
+ #include <sys/param.h>
+ #ifdef _AIX32
+ #include <fcntl.h>
+diff -urN sysmon-0.92.2/src/config.h~ sysmon-0.92.2-ok/src/config.h~
+--- sysmon-0.92.2/src/config.h~	1970-01-01 01:00:00.000000000 +0100
++++ sysmon-0.92.2-ok/src/config.h~	2005-10-12 05:30:05.000000000 +0200
+@@ -0,0 +1,926 @@
++/* $Id$ */
++
++#include "defines.h"
++
++/* change define -> undef if sysmond cores for you */
++#define QSORT_WAY
++#include <signal.h>
++#include <stdio.h> 
++#include <ctype.h>
++#include <stdlib.h>
++#include <time.h>  
++#include <netdb.h>
++#include <string.h>
++#include <pwd.h>
++#include <limits.h>
++#if (defined(__svr4__) || defined(unixware))   /* slo-laris */
++#include <sys/filio.h>
++#endif
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <sys/ioctl.h>
++#include <sys/time.h>
++#include <sys/resource.h>
++#include <sys/stat.h>
++#include <sys/param.h>
++#ifdef _AIX32
++#include <fcntl.h>
++#else /* _AIX32 */
++#include <sys/fcntl.h>
++#endif /* _AIX32 */
++#include <errno.h>
++#include <unistd.h>
++#ifdef HAVE_PATHS_H
++#include <paths.h>
++#endif
++#include <netinet/in.h>
++#include <netinet/in_systm.h>
++#include <netinet/ip.h>
++#include <netinet/ip_icmp.h>
++
++#ifdef HAVE_NETINET_ICMP6_H
++#define HAVE_IPv6
++#include <netinet/icmp6.h>
++#endif /* ENABLE_IPV6 */
++
++#include <arpa/inet.h>
++#include <syslog.h>
++#include <stdarg.h>
++#include <sys/utsname.h>
++#include <sys/wait.h>
++#include <strings.h>
++
++#ifdef HAVE_LIBWRAP
++#ifdef HAVE_TCPD_H
++#include <tcpd.h>
++#define ALLOWSEVERITY LOG_INFO;
++#define DENYSEVERITY LOG_NOTICE;
++#define DAEMONNAME "sysmond\0"
++#endif /* HAVE_TCPD_H */
++#endif /* HAVE_LIBWRAP */
++
++#ifdef HAVE_LIBPTHREAD
++#include <pthread.h>
++#endif /* HAVE_LIBPTHREAD */
++
++#ifdef HAVE_LIBNCURSES
++#define NICEINTERFACE  /* define for ncurses interface in client */
++#endif /* HAVE_LIBNCURSES */
++
++#ifdef HAVE_LIBCURSES
++#define NICEINTERFACE  /* define for ncurses interface in client */
++#endif /* HAVE_LIBNCURSES */
++
++#ifdef NICEINTERFACE
++#ifdef sgi
++#include "/usr/local/include/ncurses.h"
++#else
++#include <curses.h>
++#endif /* sgi */
++#endif /* NICEINTERFACE */
++
++#ifdef HAVE_NET_SNMP_VERSION_H
++#define ENABLE_SNMP
++#endif /* HAVE_NET_SNMP_VERSION_H */
++
++#ifdef HAVE_UCD_SNMP_VERSION_H
++#define ENABLE_SNMP
++#endif /* HAVE_UCD_SNMP_VERSION_H */
++
++
++#define SYSM_VERS	"v0.92.2"
++#ifdef _PATH_VARRUN
++#define PIDFILE		_PATH_VARRUN "sysmond.pid"
++#else
++#define PIDFILE		"/etc/sysmond.pid"
++#endif
++#define PMESG		"%H (%I) %w is %u %d\0"
++#define SUBJECT		"%h is %u\0"
++#define UPCOLOR		"77ff77" /* green  */
++#define RECENTCOLOR	"ffff00" /* yellow */
++#define DOWNCOLOR	"ff5500" /* sumthin */
++
++#define SYSMON_PORTNUM		1345
++#define	MAX_ARGS		100
++#define MAX_STRLEN		32768
++
++/* the following should be read from /etc/services */
++
++/* SSH Remote Login Protocol */
++#define SSH_PORTNUM 22
++
++/* Per rfc */
++#define SMTP_PORTNUM 25
++
++/* per assigned ports */
++#define SNMP_PORTNUM 161
++#define SNMP_TRAP_PORTNUM 162
++#define SNMP_SYSTEM_SYSUPTIME ".1.3.6.1.2.1.1.3.0"
++
++/* per rfc */
++#define HTTP_PORTNUM 80
++
++/* per rfc */
++#define IMAP_PORTNUM 143
++
++/* per rfc */
++#define NNTP_PORTNUM 119
++
++/* per rfc? */
++#define POP2_PORTNUM 109
++
++/* per rfc? */
++#define POP3_PORTNUM 110
++
++/* */
++#define DNS_PORTNUM 53
++
++/* Radius */
++#define RADIUS_PORTNUM 1645
++
++/* SSL Http */
++#define HTTPS_PORTNUM 443
++
++/* Bootp */
++#define BOOTP_CLIENT 68
++#define BOOTP_SERVER 67
++
++#ifdef    HAVE_IPv6
++#ifndef   ICMPV6_ECHO_REQUEST
++#define   ICMPV6_ECHO_REQUEST             128
++#endif /* ICMPV6_ECHO_REQUEST */
++#ifndef   ICMPV6_ECHO_REPLY
++#define   ICMPV6_ECHO_REPLY               129
++#endif /* ICMPV6_ECHO_REPLY */
++#endif /* HAVE_IPv6 */
++
++#ifndef bool
++#define bool char
++#endif
++
++#ifndef MAX
++#define MAX(a,b) (((a)>(b))?(a):(b))
++#endif /* MAX */
++
++#define ICMP_PACKET_SIZE 	64	/* packet size */
++#define ICMP_HOLD_PACKETS	1500	/* number of packets in the air */
++#define ICMP_HOLD_LEN		5	/* 5 seconds worth of packets */
++#define ICMP_HOLD_QUEUE (ICMP_PACKET_SIZE*ICMP_HOLD_PACKETS*ICMP_HOLD_LEN)
++
++#define ICMP_PHDR_LEN   sizeof(struct timeval)
++
++
++#ifndef FALSE
++#define FALSE 0
++#endif
++#ifndef TRUE
++#define TRUE 1
++#endif
++
++/* Check Types */
++#define SYSM_TYPE_TCP	1 /* TCP Checks */
++#define	SYSM_TYPE_UDP	2 /* UDP Checks */
++#define SYSM_TYPE_PING	3 /* Ping */
++#define	SYSM_TYPE_SNMP	4 /* Snmp based checks */
++#define	SYSM_TYPE_NNTP	5 /* nntp checks */
++#define SYSM_TYPE_SMTP	6 /* smtp checks */
++#define SYSM_TYPE_IMAP	7 /* imap check */
++#define	SYSM_TYPE_POP3	8 /* pop3 check */
++#define SYSM_TYPE_X500	9 /* umichX500 check */
++#define SYSM_TYPE_POP2	10 /* pop2 check */
++#define SYSM_TYPE_BOOTP	11 /* bootp check */
++#define	SYSM_TYPE_DNS	12 /* check dns server */
++#define SYSM_TYPE_WWW	13 /* www content check */
++#define SYSM_TYPE_RADIUS 14 /* radius server check */
++#define SYSM_TYPE_HTTPS	15 /* https content check */
++#define SYSM_TYPE_SYSM	16 /* check another sysmond */
++#define SYSM_TYPE_SSHD	17 /* sshd check */
++#define SYSM_TYPE_IRCD	18 /* ircd check - connect, send quit */
++#define SYSM_TYPE_PING_LATENCY 19 /* latency - stick timeval in packet */
++#define SYSM_TYPE_PINGv6 20 /* IPv6 PING */
++#define SYSM_TYPE_UDP_RTT 21 /* udp rtt packet timeval coolness */
++
++/* Return Values */
++#define SYSM_ERR	-2
++#define SYSM_OK 	0
++#define SYSM_CONNREF 	1
++#define SYSM_NETUNRCH 	2
++#define SYSM_HOSTDOWN	3
++#define SYSM_TIMEDOUT 	4
++#define SYSM_NODNS	5
++#define SYSM_UNPINGABLE	6
++#define SYSM_THROTTLED	7
++#define SYSM_NOAUTH	8
++#define SYSM_NORESP	9
++#define SYSM_INPROG	10
++#define SYSM_BAD_AUTH 	11
++#define SYSM_BAD_RESP 	12
++#define X500_WEDGED 	13
++#define SYSM_KILLED	14 /* killed locally */
++#define SYSM_HOSTUNRCH	15
++#define SYSM_RTT_HIGH   16
++#define SYSM_SNMP_REBOOT 17
++#define SYSM_SNMP_HIGH	18
++#define SYSM_SNMP_LOW	19
++#define SYSM_SNMP_OOR	20
++#define SYSM_SNMP_NOTEXACT 21
++#define SYSM_SNMP_HIGHRATE 22
++
++/* SNMP subTYPES */
++
++#define SYSM_SNMP_TYPE_REBOOT   1 /* if system.sysUpTime.0 goes down */
++#define SYSM_SNMP_TYPE_HIGH     2
++#define SYSM_SNMP_TYPE_LOW      3 
++#define SYSM_SNMP_TYPE_RANGE	4
++#define SYSM_SNMP_TYPE_EXACT    5
++#define SYSM_SNMP_TYPE_COMPARE	6 /* compare two oid values if eq */
++#define SYSM_SNMP_TYPE_RATE	7 /* have a rate in val/sec, if avg
++					exceeds, gen alert */
++
++/* when to contact */
++#define SYSM_CONTACT_DOWN	1
++#define SYSM_CONTACT_UP		2
++
++struct hostinfo {
++        unsigned char *hostname; /* name of system to check */
++        unsigned int type; /* 1 = tcp, 2 = udp, 3 = ping, 4 = snmp, 5 = nntp 
++		6 = smtp, 7 = imap, 8 = pop3 9 = umichX500 10 = pop2
++		11 = bootp 12 = dns 13 = www-content, 14 = radius,
++		15 = https, 16 = sysmon, 17 = ssh, 18=ircd, 
++		19= latency, 20 = ping6, 21 = rtt */
++        unsigned int port; /* only relevant for tcp/udp */
++        unsigned char *message; /* message to print for outages */
++        unsigned char *contact; /* e-mail contact for this */
++	unsigned char *snmp_community; /* snmp community */
++	unsigned char *snmp_oid; /* OID to query - can be numerical 
++					or textual*/
++	unsigned char *snmp_oid_sec; /* used in snmp compare two values chk */
++	unsigned char *snmp_up_msg; /* message for snmp up */
++	unsigned char *snmp_down_msg; /* pmesg for snmp down */
++	unsigned char *pmesg; /* custom per-object pmesg */
++	unsigned int snmp_test_type; /* 1 = sysUpTime.0/reboot,
++		2 = high threshold (ie: alert if it goes above that value)
++		3 = low threshold (ie: alert if it goes below that value)
++		4 = range threshold (ie: specify a high+low and alert if
++			it is out of range 
++		5 = exact threshold (ie: alert if it is != our value) */
++	unsigned long snmp_low, snmp_high, snmp_exact;
++	unsigned long snmp_rate; /* rate/sec */
++	bool snmp_octets; /* is rate in octets? true/false */
++	unsigned long system_uptime; /* system.sysUpTime.0 or last snmp value */
++	time_t last_snmp_resptime;
++	unsigned char *dns_query; /* name to do dns query of */
++	bool dns_aa; /* require AA response */
++	bool dns_recursion; /* perform recursive query */
++        unsigned int lastcheck; /* lastchecked status  0 = ok,  1 = conn ref
++		2 = ENETUNREACH, 3 = EHOSTDOWN||EHOSTUNREACH,
++		4 = ETIMEDOUT, 5 = no dns entry, 6 = unpingable,
++		7 = Throttled, 8 = no auth, 9 = no response 
++		10 = connection in progress, 11 = bad auth 
++		12 = bad remote response, 13 = x500 error */
++	unsigned char *username; /* for pop3, imap, etc */
++	unsigned char *password; /* for pop3, imap, etc */
++	unsigned char *hdr;
++	unsigned char *hdrval;
++	unsigned char *secret; /* used for RADIUS */
++	unsigned char *lastmsgid; /* Message ID */
++	unsigned char *unique_id; /* Unique id created by loadconfig
++			never to change even if we catch sighup, and be
++			unique enough between sysmon respawns */
++	unsigned char *url; /* url for www */
++	unsigned char *url_text; /* text to find within url */
++	unsigned char *command; /* command to run on failure */
++	unsigned long totalchecked; /* total times checked */
++	unsigned long totaldown; /* total times checked as down */
++	unsigned long downct; /* number of times counted as down.. */
++	unsigned long upct; /* number of times counted as down.. */
++	unsigned long max_down; /* max times down before we contact someone */
++
++	unsigned long queuetime; /* per-object check-interval in seconds */
++	time_t next_queuetime; /* next time object should be queued */
++
++	unsigned int send_pings; /* number of pings to send to host */
++	unsigned int min_pings; /* min number of pings to require for
++		host to be up */
++
++	bool reverse; /* if true then {if down, follow siblings}, else
++			behave as we do otherwise */
++	bool contacted; /* true if mailed contact -- false if not */
++	time_t lastcontacted; /* last time we "contacted" someone */
++
++	int contact_when; /* page someone when it comes up */
++	
++	bool queued; /* 0 if not, 1 if in queue */
++	bool warnlog; /* 0 if already done warnlog, 1 if not */
++	bool trace;
++
++	time_t lchecktime; /* time last checked */
++	time_t check_start; /* time of start of check */
++	time_t deathtime; /* time of death ;-) */
++	time_t last_up; /* time it last came back */
++
++        } ;
++
++
++/* New structures for monitoring */
++
++struct nei_list {
++	unsigned char *nei_name;
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list