• Welcome to The Network People Support Forums. Please login or sign up.

rrdutil and apache stats

Started by gjsiiger, April 16, 2004, 06:57:51 AM

Previous topic - Next topic

gjsiiger

I would like to see how my Apache is doing with the "apache" feature in rrdutil but I can't figure out how to enable that part.

My snmpd.conf is setup correctly, and I can poll data via the script:
apache_total_hits:834:apache_total_kbytes:3263:apache_busy_workers:1:apache_idle_workers:9:req_per_sec:.0186928:bytes_per_req:4006.37

So that part work, but how to get it listed in rrdutil.cgi I don't know.

Any thoughts ?

BR, Gorm

matt

have a look in rrdutil.conf.

Matt

gjsiiger

rrdutil says:

monitor35 = localhost, apache,    workers,       apache_workers
monitor36 = localhost, apache,    bytes_per_req, apache_bytes_per_req
monitor37 = localhost, apache,    req_per_sec,   apache_req_per_sec

apacheOid = .1.3.6.1.4.1.2021.8.1.101.12

What more do I need ?

Rob Lensen

Is the OID ok?
Check the manpage of snmpwalk for the correct syntax
(snmpwalk -c public localhost ....)