[squid-users] hel required for squid and mrtg to work

From: pranoy <[email protected]>
Date: Tue, 13 May 2003 11:26:30 +0545

hi
i want to use mrtg to monitor squid
my squid is in one linux server and mrtg in another linux server
settings in my squid.conf file
snmp_port 161
snmp_access allow snmppublic all
settings in my /etc/services file in my squid
snmp 161
output when i user snmpwalk -p 161 ipaddressofsquid public system

system.sysDescr.0 = "Linux snppoy 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT
2001 i686"
system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.linux
system.sysUpTime.0 = Timeticks: (6846849) 19:01:08.49
system.sysContact.0 = "Root <root@localhost> (configure
/etc/snmp/snmp.local.conf)"
f)"
system.sysName.0 = "snppoy"
system.sysLocation.0 = "Unknown (edit /etc/snmp/snmpd.conf)"
system.sysORLastChange.0 = Timeticks: (1) 0:00:00.01
system.sysORTable.sysOREntry.sysORID.1 = OID: ifMIB
system.sysORTable.sysOREntry.sysORID.2 = OID:
.iso.org.dod.internet.snmpV2.snmpModules.snmpMIB
system.sysORTable.sysOREntry.sysORID.3 = OID: tcpMIB
system.sysORTable.sysOREntry.sysORID.4 = OID: ip
system.sysORTable.sysOREntry.sysORID.5 = OID: udpMIB
system.sysORTable.sysOREntry.sysORID.6 = OID:
.iso.org.dod.internet.snmpV2.snmpModules.16.2.2.1
system.sysORTable.sysOREntry.sysORID.7 = OID:
.iso.org.dod.internet.snmpV2.snmpModules.snmpFrameworkMIB.snmpFramewo
rkMIBConformance.snmpFrameworkMIBCompliances.snmpFrameworkMIBComplian
ce
system.sysORTable.sysOREntry.sysORID.8 = OID:
.iso.org.dod.internet.snmpV2.snmpModules.11.3.1.1
system.sysORTable.sysOREntry.sysORID.9 = OID:
.iso.org.dod.internet.snmpV2.snmpModules.15.2.1.1
system.sysORTable.sysOREntry.sysORDescr.1 = The MIB module to
describe
generic objects for network interface sub-layers
system.sysORTable.sysOREntry.sysORDescr.2 = The MIB module for SNMPv2
entities
system.sysORTable.sysOREntry.sysORDescr.3 = The MIB module for
managing TCP implementations
system.sysORTable.sysOREntry.sysORDescr.4 = The MIB module for
managing IP and ICMP implementations
system.sysORTable.sysOREntry.sysORDescr.5 = The MIB module for
managing UDP implementations
system.sysORTable.sysOREntry.sysORDescr.6 = View-based Access Control
Model for SNMP.
system.sysORTable.sysOREntry.sysORDescr.7 = The SNMP Management
Architecture MIB.
system.sysORTable.sysOREntry.sysORDescr.8 = The MIB for Message
Processing and Dispatching.
system.sysORTable.sysOREntry.sysORDescr.9 = The management
information
definitions for the SNMP User-based Security Model.
system.sysORTable.sysOREntry.sysORUpTime.1 = Timeticks: (1)
0:00:00.01
system.sysORTable.sysOREntry.sysORUpTime.2 = Timeticks: (1)
0:00:00.01
system.sysORTable.sysOREntry.sysORUpTime.3 = Timeticks: (1)
0:00:00.01
system.sysORTable.sysOREntry.sysORUpTime.4 = Timeticks: (1)
0:00:00.01
system.sysORTable.sysOREntry.sysORUpTime.5 = Timeticks: (1)
0:00:00.01
system.sysORTable.sysOREntry.sysORUpTime.6 = Timeticks: (1)
0:00:00.01
system.sysORTable.sysOREntry.sysORUpTime.7 = Timeticks: (1)
0:00:00.01
system.sysORTable.sysOREntry.sysORUpTime.8 = Timeticks: (1)
0:00:00.01
system.sysORTable.sysOREntry.sysORUpTime.9 = Timeticks: (1)
0:00:00.01
End of MIB

the file does not form for mrtg to display the graph for apache even
though i get above output which normally gets formed for other cases
like routers so that apache can display it as a graph
this file is supposed to be formed in /usr/local/apache/htdocs in my
mrtg server
i have copied my mib.txt from squid server in
/usr/local/mrtg-2/mibs/mib.txt of the mrtg server
and have included the line
LoadMIB : /usr/local/mrtg-2/mibs/mib.txt
in the mrtg.cfg configuration file for mrtg
does anyone have any remedies

Pranoy Pradhan
Info Comm Pvt Ltd.
Kathmandu
Received on Mon May 12 2003 - 23:39:56 MDT

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