Problems with netguard under tkined/scotty 1.02

John P. Rouillard (rouilj@cs.umb.edu)
Tue, 06 Sep 1994 19:12:28 -0400

I am having a slight problem getting netguard to come up, and I hope
this is a knock off for someone out there.

I fire up the server, and try to arrach with the admin or user
clients. I get the following messages/errors in the netguard.log file.

set_file_name created new file names Tue Sep 6 18:57:59 1994
socket created at Tue Sep 6 18:57:59 1994
start tool ip_netguard ip_netguard at Tue Sep 6 18:57:59 1994 with
jobid 26233
start tool ip_netguard ip_netguard2 at Tue Sep 6 18:58:00 1994 with
jobid 26234
set waittime for timecheck to 18120000
connection from 127.0.0.1 on file9 at Tue Sep 6 18:58:00 1994
connection from 127.0.0.1 on file10 at Tue Sep 6 18:58:01 1994
name ip_netguard inserted Tue Sep 6 18:58:03 1994
name ip_netguard2 inserted Tue Sep 6 18:58:03 1994
connection from 147.249.1.217 on file11 at Tue Sep 6 19:01:11 1994
name rouilj inserted Tue Sep 6 19:01:12 1994
error: rouilj tkined wrong_format Tue Sep 6 19:01:14 1994
error: rouilj tkined wrong_format Tue Sep 6 19:01:15 1994

The error messages keep going on an on and on. The clients report the
same errors. Any ideas? This is on a solaris 2.3 machine. I have other
rstatd monitors working ok.

The syslog shows:

Sep 6 18:58:00 box7.iddis.com scotty[26233]: ip_netguard: connect
Sep 6 18:58:01 box7.iddis.com scotty[26234]: ip_netguard2: connect
Sep 6 18:58:03 box7.iddis.com scotty[26233]: ip_netguard: ok var_data \
{127.0.0.1 {{cp_system 60 var_id.1 {rpc stat}} \
{cp_idle 60 var_id.2 {rpc stat}} {cp_user 60 var_id.3 {rpc stat}}\
{cp_nice 60 var_id.4 {rpc stat}}} 127.0.0.1}
Sep 6 18:58:03 box7.iddis.com scotty[26234]: ip_netguard2: ok var_data \
{127.0.0.1 {{avenrun_0 60 var_id.0 {rpc stat}}} 127.0.0.1}

I used the variables file exactly as distributed, and my config file
looks like:

# INTERFACE NETWORK PROTOTYPE {{VARIABLE INTERVAL} [{VARIABLE INTERVAL}]

127.0.0.1 127.0.0.0 IP {{avenrun_0 60}}
127.0.0.1 127.0.0.0 IP {{cp_system 60} {cp_idle 60} \
{cp_user 60} {cp_nice 60}}

The line break is for the email, it is all one line in the config
file.

The generated data files looks like:
header-file

BEGIN_LABEL_SECTION

BEGIN_INTERVAL
Tue Sep 6 18:57:59 1994
CORRESPONDING DATA-FILE
/usr/tmp/netguard/data/raw-data-1994.Sep.6
CORRESPONDING STATISTIC-FILE
/usr/tmp/netguard/data/statistical-data-1994.Sep.6

END_LABEL_SECTION

BEGIN_DEVICE_SECTION
DEVICE 127.0.0.1
PROTOTYPE IP
PROTOTYPE-ADDRESS 127.0.0.1
CORRESPONDING_VARIABLES
variablename periode internal_id measurement bw-sort
avenrun_0 60 var_id.0 Gauge secs
cp_system 60 var_id.1 Counter secs
cp_idle 60 var_id.2 Counter secs
cp_user 60 var_id.3 Counter secs
cp_nice 60 var_id.4 Counter secs
END_DEVICE_SECTION

and the raw-data file:

{Tue Sep 6 18:59:00 1994} {{var_id.1 13.7167} {var_id.2 66.7667} {var_id.3 18.38
33} {var_id.4 1.16667} {var_id.0 0.988281}}
{Tue Sep 6 19:00:00 1994} {{var_id.1 15.95} {var_id.2 63.4833} {var_id.3 19.8} {
var_id.4 0.783333} {var_id.0 0.761719}}
{Tue Sep 6 19:01:00 1994} {{var_id.1 16.2667} {var_id.2 63.1333} {var_id.3 20.56
67} {var_id.4 0.0333333} {var_id.0 0.59375}}
{Tue Sep 6 19:02:00 1994} {{var_id.1 10.6833} {var_id.2 71.2} {var_id.3 18.0667}
{var_id.4 0.1} {var_id.0 0.492188}}
{Tue Sep 6 19:03:00 1994} {{var_id.1 9.98333} {var_id.2 75.2} {var_id.3 14.4833}
{var_id.4 0.383333} {var_id.0 0.320312}}
{Tue Sep 6 19:04:00 1994} {{var_id.1 7.98333} {var_id.2 77.9833} {var_id.3 13.96
67} {var_id.4 0.1} {var_id.0 0.199219}}
{Tue Sep 6 19:05:00 1994} {{var_id.1 8.65} {var_id.2 76.2667} {var_id.3 14.65} {
var_id.4 0.433333} {var_id.0 0.152344}}
{Tue Sep 6 19:06:00 1994} {{var_id.1 9.5} {var_id.2 75.75} {var_id.3 13.75} {var
_id.4 1.0} {var_id.0 0.15625}}
{Tue Sep 6 19:07:00 1994} {{var_id.1 9.66667} {var_id.2 75.2833} {var_id.3 14.73
33} {var_id.4 0.316667} {var_id.0 0.175781}}
{Tue Sep 6 19:08:00 1994} {{var_id.1 7.88525} {var_id.2 76.8525} {var_id.3 13.40
98} {var_id.4 0.213115} {var_id.0 0.261719}}
{Tue Sep 6 19:09:00 1994} {{var_id.1 8.68333} {var_id.2 77.1333} {var_id.3 13.78
33} {var_id.4 0.4} {var_id.0 0.308594}}

-- John
John Rouillard

Senior Systems Administrator IDD Information Services
rouilj@dstar.iddis.com Waltham, MA (617) 890-1576 x225

Senior Systems Consultant (SERL Project) University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred) Boston, MA, (617) 287-6480
===============================================================================
My employers don't acknowledge my existence much less my opinions.