snmp and mrtg

From: William Jackson <wj@dont-contact.us>
Date: Fri, 25 Feb 2000 11:52:00 +0100

I am looking at the squid monitoring page linked via the mrtg homepage

I wish to use the patch file

but am not sure how to apply it

I tried using the mrtg.pl before but when I run it it doesnt like some of
the commands in the mrtg.cfg like RunAsDaemon and others

I have at the moment mrtg-2.8.12 installed

This is what I have tried so far

joe'd the patch file and changed the paths

=

*** /usr/src/mrtg-2.8.12/run/mrtg.orig Wed Feb 11 14:10:45 1998
--- /usr/src/mrtg-2.8.12/run/mrtg

*** /usr/src/mrtg-2.8.12/src/rateup.c.orig Fri Oct 24 06:30:12 1997
--- /usr/src/mrtg-2.8.12/src/rateup.c

but when I do

from
hercules:/usr/src/mrtg-2.8.12# patch -i mrtg-squid-patch.txt
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|*** /usr/src/mrtg-2.8.12/run/mrtg.orig Wed Feb 11 14:10:45 1998
|--- /usr/src/mrtg-2.8.12/run/mrtg Mon Feb 23 15:18:17 1998
--------------------------
File to patch:

??

I have even gone into the run directory and copied the mrtg to mrtg.orig so
that both files exist

need help
cheers

William Jackson MCP
Network Administrator
Isola & Isola

Email: wj@isolaandisola.com

CONFIDENTIALITY NOTICE
This E-mail and/or the documents accompanying are privileged and contain
confidential information. If the recipient is not the addressee or the
employee or agent of the addressee any unauthorised use, disclosure,
copying, distribution or dissemination is strictly prohibited and in any
such event please immediately notify us by telephone on 76651 and return
this
E-mail and destroy any copies.
Received on Fri Feb 25 2000 - 04:02:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:34 MST