I'm having a heckuva time getting httpd stats to show up on MRTG.
I have added the following to my snmpd.conf file:
####################################################################### ###
#
# Check for processes running
#
proc httpd proc snmpd
and when I do a snmpwalk on the server I get:
[bw:~] bw% snmpwalk -v 1 -c public server 1.3.6.1.4.1.2021.2.1 UCD-SNMP-MIB::prIndex.1 = INTEGER: 1 UCD-SNMP-MIB::prIndex.2 = INTEGER: 2 UCD-SNMP-MIB::prNames.1 = STRING: httpd UCD-SNMP-MIB::prNames.2 = STRING: snmpd UCD-SNMP-MIB::prMin.1 = INTEGER: 0 UCD-SNMP-MIB::prMin.2 = INTEGER: 0 UCD-SNMP-MIB::prMax.1 = INTEGER: 0 UCD-SNMP-MIB::prMax.2 = INTEGER: 0 UCD-SNMP-MIB::prCount.1 = INTEGER: 2 UCD-SNMP-MIB::prCount.2 = INTEGER: 1 UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 0 UCD-SNMP-MIB::prErrorFlag.2 = INTEGER: 0 UCD-SNMP-MIB::prErrMessage.1 = STRING: UCD-SNMP-MIB::prErrMessage.2 = STRING: UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0 UCD-SNMP-MIB::prErrFix.2 = INTEGER: 0 UCD-SNMP-MIB::prErrFixCmd.1 = STRING: UCD-SNMP-MIB::prErrFixCmd.2 = STRING:
I've added the following to my mrtg .cnf file:
# # httpd Connection Monitoring (per minute) #
Target[server_httpdconns]: 1.3.6.1.4.1.2021.2.1.5.1&1.3.6.1.4.1.2021.2.1.5.2:[EMAIL PROTECTED]
Title[server_httpdconns]: httpd and snmpd processes -- server
PageTop[server_httpdconns]: <H1>httpd and snmpd processes -- server</H1>
MaxBytes1[server_httpdconns]: 100
MaxBytes2[server_httpdconns]: 100
ShortLegend[server_httpdconns]: # Procs
YLegend[server_httpdconns]: Processes
Legend1[server_httpdconns]: Httpd Processes
Legend2[server_httpdconns]: snmpd Processes
LegendI[server_httpdconns]: Httpd Processes
LegendO[server_httpdconns]: snmpd Processes
and no ERRORs show up when it compiles, but I still see nothing on the graph!
Anyone have any hints on what I'm doing wrong?
Thanks!
bw
--- Bill Whitacre [EMAIL PROTECTED]
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users