Need More Info from SNMP
-
First, let me say PFSense is an outstanding piece of software. Love it!
My question is it appears that only network stats can be derived from from the SNMP mibs. How can I obtain information like CPU utilization, memory utilization, disk space usage?
I also need help with getting interface utilizations (Rx and Tx), Tx Utilization (%), Traffic in Kbps (both Rx and Tx), and Errors in pkts.
Is this possible?
Jonathan Merrill
MCP, CCA, NET+
www.gomerrill.com -
Jonathan,
If you use a MIB Browser to walk the MIB, you will see the interface information. The transmit utilization is (to my knowledge) does not have a standard MIB OIB in the SNMP MibII library, but can be obtained via a method found on http://www.faqs.org/faqs/snmp-faq/part1/, which states:
(DELTA(ifInOctets) + DELTA(ifOutOctets)) * 8
–------ * 100
(DELTA(sysUpTime) / 100) * 1 540 000where DELTA(attribute) means the difference of the value
of attribute between two polls. Of course, the values for
ifInOctets, ifOutOctets and sysUpTime should be requested
in one single PDU.For work, I use a great program to walk MIB's from a company called iReasoning (http://www.ireasoning.com) that I've found more than valuable. As an example if what I looked at when browsing the MIB, load RFC1213 and UCD-SNMP-MIB into your MIB Tree. If you need more help, let me know. Thanks!
Mike
-
Also note http://cvstrac.pfsense.com/tktview?tn=257
-
sounds like you might be looking for something like this:
i use rrdtool, frontended by cacti. right now i have the same problem with the mibs, so far i only get interface information, but ill walk the mibs soon too.
if you want to see my very small cacti project, its here:
http://mrtg.dfwlp.com/mrtg/dfwlp.com/zeus.dfwlp.com_7.html
-
Here is what I am dealing with. I am using the network monitoring product called OpManager from ManageEngine (http://manageengine.adventnet.com/products/opmanager/index.html?ad-main).
W've gotten hitched to it as it allows help desk integration and so on. However, there is a fair amount of getting it just right to have the monitoring go without a hitch.
No matter what I do - I can't get the aforementioned stats to appear. Very frustrating. OpManage recognizes all the interfaces on the firewall, but doesn't actively track the stats. Im told it's because the mibs are not right.
Anyone run this too and can provide guidance?
JMM
-
Hi all SNMP users…. :)
Dos anyone know what OID to use for reading the CPU usage from the pfSense box?
Is there any other information about the SNMP traps in pfSense then the http://cvstrac.pfsense.com/tktview?tn=257
Or maybe a way to read it out? -
Please try an image from http://www.pfsense.com/~sullrich/1.0-BETA1-TESTING-SNAPSHOT-1-25-06/ as it has a lot of expanded MIBS now that we imported BSNMPD from FreeBSD-Current.
-
Please try an image from http://www.pfsense.com/~sullrich/1.0-BETA1-TESTING-SNAPSHOT-1-25-06/ as it has a lot of expanded MIBS now that we imported BSNMPD from FreeBSD-Current.
I am downloading the snapshot, but could you tell me if some 802.11x association tables are included? I would like to try out pfSense as an access point/router combination but our monitoring currently uses Cisco SNMP on 1200 series APs. Having an association table with rssi, errors, duplicates, etc. is a must for me. I hope this is in, or will be in pfSense at some point. Does BSNMPD have wireless client stats?
-
I may be answering my own question but it looks like wireless MIBs may not be included until the FreeBSD 6.1 release?… or is the the documentation of it?
http://lists.freebsd.org/pipermail/freebsd-doc/2006-January/009562.html
-
We are using bsnmpd from current so if its going to be in RELENG_6_1 then it should be in there too.
-
Has anyone figured out what the OID's are for monitoring CPU usage? I'd really like to graph that info.
-
http://cvstrac.pfsense.com/tktview?tn=257
-
So from what I can tell, you can't monitor CPU usage via SNMP? I'm not sure exactly what I'm looking at in that ticket, but I think it's the list of all of the OID's that I can querry. Am I in the ballpark?
-
You should check the file locations mentioned in the article as not all of the mibs are ouputted on the same page.