How monitor an Intel printer server with Cacti

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
soneedu
Posts: 12
Joined: Sun Nov 20, 2005 8:05 pm

How monitor an Intel printer server with Cacti

Post by soneedu »

i'm an newbie ,there is an Intel printer server with snmp, i have add it in Cacti for ucd/net snmp host Template,but the graphic have no data. i want monitor Printer's traffic and cpu , process, or the print task. how to?

and how to find useful info or OID of the printer's traffic ,process,task from information blew:


snmpwalk -v 1 192.168.123.31 -c printer :

SNMPv2-MIB::sysDescr.0 = STRING: NetportExpress(tm) 10/100 3-port Print Server
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.343.2.4.12
SNMPv2-MIB::sysUpTime.0 = Timeticks: (512200) 1:25:22.00
SNMPv2-MIB::sysContact.0 = STRING: sysContact not set
SNMPv2-MIB::sysName.0 = STRING: PR518BFF
SNMPv2-MIB::sysLocation.0 = STRING: sysLocation not set
SNMPv2-MIB::sysServices.0 = INTEGER: 79
IF-MIB::ifNumber.0 = INTEGER: 1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifDescr.1 = STRING: NetportExpress(tm) 10/100
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 100000000
IF-MIB::ifPhysAddress.1 = STRING: 0:90:27:51:8b:ff
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 40448
IF-MIB::ifInUcastPkts.1 = Counter32: 40448
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 25778
IF-MIB::ifOutUcastPkts.1 = Counter32: 25778
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero.0
RFC1213-MIB::atIfIndex.0.255.255.255.255 = INTEGER: 0
RFC1213-MIB::atIfIndex.1.192.168.123.19 = INTEGER: 1
RFC1213-MIB::atIfIndex.1.192.168.123.39 = INTEGER: 1
RFC1213-MIB::atPhysAddress.0.255.255.255.255 = Hex-STRING: 00 00 01 00 FF FF
RFC1213-MIB::atPhysAddress.1.192.168.123.19 = Hex-STRING: 00 11 09 ED 1D 5F
RFC1213-MIB::atPhysAddress.1.192.168.123.39 = Hex-STRING: 00 11 11 9D 96 04
RFC1213-MIB::atNetAddress.0.255.255.255.255 = Network Address: FF:FF:FF:FF
RFC1213-MIB::atNetAddress.1.192.168.123.19 = Network Address: C0:A8:7B:13
RFC1213-MIB::atNetAddress.1.192.168.123.39 = Network Address: C0:A8:7B:27
IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2)
IP-MIB::ipDefaultTTL.0 = INTEGER: 255
IP-MIB::ipInReceives.0 = Counter32: 33333
IP-MIB::ipInHdrErrors.0 = Counter32: 0
IP-MIB::ipInAddrErrors.0 = Counter32: 2054
IP-MIB::ipForwDatagrams.0 = Counter32: 0
IP-MIB::ipInUnknownProtos.0 = Counter32: 0
IP-MIB::ipInDiscards.0 = Counter32: 0
IP-MIB::ipInDelivers.0 = Counter32: 31279
IP-MIB::ipOutRequests.0 = Counter32: 24607
IP-MIB::ipOutDiscards.0 = Counter32: 0
IP-MIB::ipOutNoRoutes.0 = Counter32: 0
IP-MIB::ipReasmTimeout.0 = INTEGER: 60
IP-MIB::ipReasmReqds.0 = Counter32: 0
IP-MIB::ipReasmOKs.0 = Counter32: 0
IP-MIB::ipReasmFails.0 = Counter32: 0
IP-MIB::ipFragOKs.0 = Counter32: 0
IP-MIB::ipFragFails.0 = Counter32: 0
IP-MIB::ipFragCreates.0 = Counter32: 0
IP-MIB::ipAdEntAddr.192.168.123.31 = IpAddress: 192.168.123.31
IP-MIB::ipAdEntIfIndex.192.168.123.31 = INTEGER: 1
IP-MIB::ipAdEntNetMask.192.168.123.31 = IpAddress: 255.255.255.0
IP-MIB::ipAdEntBcastAddr.192.168.123.31 = INTEGER: 1
IP-MIB::ipAdEntReasmMaxSize.192.168.123.31 = INTEGER: 1500
RFC1213-MIB::ipRouteDest.192.168.123.0 = IpAddress: 192.168.123.0
RFC1213-MIB::ipRouteIfIndex.192.168.123.0 = INTEGER: 1
RFC1213-MIB::ipRouteMetric1.192.168.123.0 = INTEGER: -1
RFC1213-MIB::ipRouteMetric2.192.168.123.0 = INTEGER: -1
RFC1213-MIB::ipRouteMetric3.192.168.123.0 = INTEGER: -1
RFC1213-MIB::ipRouteMetric4.192.168.123.0 = INTEGER: -1
RFC1213-MIB::ipRouteNextHop.192.168.123.0 = IpAddress: 192.168.123.31
RFC1213-MIB::ipRouteType.192.168.123.0 = INTEGER: direct(3)
RFC1213-MIB::ipRouteProto.192.168.123.0 = INTEGER: other(1)
RFC1213-MIB::ipRouteAge.192.168.123.0 = INTEGER: 0
RFC1213-MIB::ipRouteMask.192.168.123.0 = IpAddress: 255.255.255.0
RFC1213-MIB::ipRouteMetric5.192.168.123.0 = INTEGER: -1
RFC1213-MIB::ipRouteInfo.192.168.123.0 = OID: SNMPv2-SMI::zeroDotZero.0
IP-MIB::ipNetToMediaIfIndex.192.168.123.19 = INTEGER: 1
IP-MIB::ipNetToMediaIfIndex.192.168.123.39 = INTEGER: 1
IP-MIB::ipNetToMediaIfIndex.255.255.255.255 = INTEGER: 0
IP-MIB::ipNetToMediaPhysAddress.192.168.123.19 = STRING: 0:11:9:ed:1d:5f
IP-MIB::ipNetToMediaPhysAddress.192.168.123.39 = STRING: 0:11:11:9d:96:4
IP-MIB::ipNetToMediaPhysAddress.255.255.255.255 = STRING: 0:0:1:0:ff:ff
IP-MIB::ipNetToMediaNetAddress.192.168.123.19 = IpAddress: 192.168.123.19
IP-MIB::ipNetToMediaNetAddress.192.168.123.39 = IpAddress: 192.168.123.39
IP-MIB::ipNetToMediaNetAddress.255.255.255.255 = IpAddress: 255.255.255.255
IP-MIB::ipNetToMediaType.192.168.123.19 = INTEGER: dynamic(3)
IP-MIB::ipNetToMediaType.192.168.123.39 = INTEGER: dynamic(3)
IP-MIB::ipNetToMediaType.255.255.255.255 = INTEGER: -1
IP-MIB::ipRoutingDiscards.0 = Counter32: 0
IP-MIB::icmpInMsgs.0 = Counter32: 2
IP-MIB::icmpInErrors.0 = Counter32: 0
IP-MIB::icmpInDestUnreachs.0 = Counter32: 0
IP-MIB::icmpInTimeExcds.0 = Counter32: 0
IP-MIB::icmpInParmProbs.0 = Counter32: 0
IP-MIB::icmpInSrcQuenchs.0 = Counter32: 0
IP-MIB::icmpInRedirects.0 = Counter32: 0
IP-MIB::icmpInEchos.0 = Counter32: 2
IP-MIB::icmpInEchoReps.0 = Counter32: 0
IP-MIB::icmpInTimestamps.0 = Counter32: 0
IP-MIB::icmpInTimestampReps.0 = Counter32: 0
IP-MIB::icmpInAddrMasks.0 = Counter32: 0
IP-MIB::icmpInAddrMaskReps.0 = Counter32: 0
IP-MIB::icmpOutMsgs.0 = Counter32: 1479
IP-MIB::icmpOutErrors.0 = Counter32: 1477
IP-MIB::icmpOutDestUnreachs.0 = Counter32: 1477
IP-MIB::icmpOutTimeExcds.0 = Counter32: 0
IP-MIB::icmpOutParmProbs.0 = Counter32: 0
IP-MIB::icmpOutSrcQuenchs.0 = Counter32: 0
IP-MIB::icmpOutRedirects.0 = Counter32: 0
IP-MIB::icmpOutEchos.0 = Counter32: 0
IP-MIB::icmpOutEchoReps.0 = Counter32: 2
IP-MIB::icmpOutTimestamps.0 = Counter32: 0
IP-MIB::icmpOutTimestampReps.0 = Counter32: 0
IP-MIB::icmpOutAddrMasks.0 = Counter32: 0
IP-MIB::icmpOutAddrMaskReps.0 = Counter32: 0
TCP-MIB::tcpRtoAlgorithm.0 = INTEGER: vanj(4)
TCP-MIB::tcpRtoMin.0 = INTEGER: 2000 milliseconds
TCP-MIB::tcpRtoMax.0 = INTEGER: -3072 milliseconds
TCP-MIB::tcpMaxConn.0 = INTEGER: 64
TCP-MIB::tcpActiveOpens.0 = Counter32: 0
TCP-MIB::tcpPassiveOpens.0 = Counter32: 84
TCP-MIB::tcpAttemptFails.0 = Counter32: 0
TCP-MIB::tcpEstabResets.0 = Counter32: 2
TCP-MIB::tcpCurrEstab.0 = Gauge32: 1454047232
TCP-MIB::tcpInSegs.0 = Counter32: 22187
TCP-MIB::tcpOutSegs.0 = Counter32: 22515
TCP-MIB::tcpRetransSegs.0 = Counter32: 2
TCP-MIB::tcpConnState.0.0.0.0.21.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.23.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.80.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.139.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.515.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.2501.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.3001.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.3002.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.192.168.123.31.139.192.168.123.19.1853 = INTEGER: established(5)
TCP-MIB::tcpConnState.192.168.123.31.139.192.168.123.39.1856 = INTEGER: established(5)
TCP-MIB::tcpConnState.192.168.123.31.139.192.168.123.79.1632 = INTEGER: established(5)
TCP-MIB::tcpConnState.192.168.123.31.139.192.168.123.222.2254 = INTEGER: established(5)
TCP-MIB::tcpConnState.192.168.123.31.139.192.168.123.225.1821 = INTEGER: established(5)
TCP-MIB::tcpConnLocalAddress.0.0.0.0.21.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnLocalAddress.0.0.0.0.23.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnLocalAddress.0.0.0.0.80.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnLocalAddress.0.0.0.0.139.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnLocalAddress.0.0.0.0.515.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnLocalAddress.0.0.0.0.2501.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnLocalAddress.0.0.0.0.3001.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnLocalAddress.0.0.0.0.3002.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnLocalAddress.192.168.123.31.139.192.168.123.19.1853 = IpAddress: 192.168.123.31
TCP-MIB::tcpConnLocalAddress.192.168.123.31.139.192.168.123.39.1856 = IpAddress: 192.168.123.31
TCP-MIB::tcpConnLocalAddress.192.168.123.31.139.192.168.123.79.1632 = IpAddress: 192.168.123.31
TCP-MIB::tcpConnLocalAddress.192.168.123.31.139.192.168.123.222.2254 = IpAddress: 192.168.123.31
TCP-MIB::tcpConnLocalAddress.192.168.123.31.139.192.168.123.225.1821 = IpAddress: 192.168.123.31
TCP-MIB::tcpConnLocalPort.0.0.0.0.21.0.0.0.0.0 = INTEGER: 21
TCP-MIB::tcpConnLocalPort.0.0.0.0.23.0.0.0.0.0 = INTEGER: 23
TCP-MIB::tcpConnLocalPort.0.0.0.0.80.0.0.0.0.0 = INTEGER: 80
TCP-MIB::tcpConnLocalPort.0.0.0.0.139.0.0.0.0.0 = INTEGER: 139
TCP-MIB::tcpConnLocalPort.0.0.0.0.515.0.0.0.0.0 = INTEGER: 515
TCP-MIB::tcpConnLocalPort.0.0.0.0.2501.0.0.0.0.0 = INTEGER: 2501
TCP-MIB::tcpConnLocalPort.0.0.0.0.3001.0.0.0.0.0 = INTEGER: 3001
TCP-MIB::tcpConnLocalPort.0.0.0.0.3002.0.0.0.0.0 = INTEGER: 3002
TCP-MIB::tcpConnLocalPort.192.168.123.31.139.192.168.123.19.1853 = INTEGER: 139
TCP-MIB::tcpConnLocalPort.192.168.123.31.139.192.168.123.39.1856 = INTEGER: 139
TCP-MIB::tcpConnLocalPort.192.168.123.31.139.192.168.123.79.1632 = INTEGER: 139
TCP-MIB::tcpConnLocalPort.192.168.123.31.139.192.168.123.222.2254 = INTEGER: 139
TCP-MIB::tcpConnLocalPort.192.168.123.31.139.192.168.123.225.1821 = INTEGER: 139
TCP-MIB::tcpConnRemAddress.0.0.0.0.21.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.0.0.0.0.23.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.0.0.0.0.80.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.0.0.0.0.139.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.0.0.0.0.515.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.0.0.0.0.2501.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.0.0.0.0.3001.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.0.0.0.0.3002.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.192.168.123.31.139.192.168.123.19.1853 = IpAddress: 192.168.123.19
TCP-MIB::tcpConnRemAddress.192.168.123.31.139.192.168.123.39.1856 = IpAddress: 192.168.123.39
TCP-MIB::tcpConnRemAddress.192.168.123.31.139.192.168.123.79.1632 = IpAddress: 192.168.123.79
TCP-MIB::tcpConnRemAddress.192.168.123.31.139.192.168.123.222.2254 = IpAddress: 192.168.123.222
TCP-MIB::tcpConnRemAddress.192.168.123.31.139.192.168.123.225.1821 = IpAddress: 192.168.123.225
TCP-MIB::tcpConnRemPort.0.0.0.0.21.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.0.0.0.0.23.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.0.0.0.0.80.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.0.0.0.0.139.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.0.0.0.0.515.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.0.0.0.0.2501.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.0.0.0.0.3001.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.0.0.0.0.3002.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.192.168.123.31.139.192.168.123.19.1853 = INTEGER: 1853
TCP-MIB::tcpConnRemPort.192.168.123.31.139.192.168.123.39.1856 = INTEGER: 1856
TCP-MIB::tcpConnRemPort.192.168.123.31.139.192.168.123.79.1632 = INTEGER: 1632
TCP-MIB::tcpConnRemPort.192.168.123.31.139.192.168.123.222.2254 = INTEGER: 2254
TCP-MIB::tcpConnRemPort.192.168.123.31.139.192.168.123.225.1821 = INTEGER: 1821
TCP-MIB::tcpInErrs.0 = Counter32: 0
TCP-MIB::tcpOutRsts.0 = Counter32: 4
UDP-MIB::udpInDatagrams.0 = Counter32: 4839
UDP-MIB::udpNoPorts.0 = Counter32: 4251
UDP-MIB::udpInErrors.0 = Counter32: 0
UDP-MIB::udpOutDatagrams.0 = Counter32: 607
UDP-MIB::udpLocalAddress.0.0.0.0.137 = IpAddress: 0.0.0.0
UDP-MIB::udpLocalAddress.0.0.0.0.138 = IpAddress: 0.0.0.0
UDP-MIB::udpLocalAddress.0.0.0.0.161 = IpAddress: 0.0.0.0
UDP-MIB::udpLocalPort.0.0.0.0.137 = INTEGER: 137
UDP-MIB::udpLocalPort.0.0.0.0.138 = INTEGER: 138
UDP-MIB::udpLocalPort.0.0.0.0.161 = INTEGER: 161
SNMPv2-MIB::snmpInPkts.0 = Counter32: 710
SNMPv2-MIB::snmpOutPkts.0 = Counter32: 675
SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 35
SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0
SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0
SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0
SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0
SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0
SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0
SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 677
SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0
SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 15
SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 674
SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0
SNMPv2-MIB::snmpInTraps.0 = Counter32: 0
SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0
SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 9
SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0
SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0
SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 0
SNMPv2-MIB::snmpOutTraps.0 = Counter32: 0
SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: disabled(2)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You'll need to get that Intel MIB file. What you snmpwalked and pasted is just standard interface info.
nugai
Posts: 49
Joined: Thu Nov 03, 2005 10:48 pm

Post by nugai »

The first 2 lines of the snmpwalk indicate that the device is a "NetportExpress(tm) 10/100 3-port Print Server" and its sysObjectID is "enterprises.343.2.4.12".

The enterprise OID for Intel is: 1.3.6.1.4.1.343

Therefore, try to snmpwalk the following OIDs:

1.3.6.1.4.1.343.2.4.12 (OID for this specific device)
1.3.6.1.4.1.343.2.4.3 (generic Intel OID for netport-express products)
1.3.6.1.4.1.343.2.4 (generic OID for Intel printer products)

See what information you're getting.

The correct Intel MIB file is still important for learning what the internal variables are called and what type they are.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Moved to scripts and templates
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: haflinger and 0 guests