Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» SNMP» Need More Info from SNMP
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Need More Info from SNMP  (Read 18477 times)
0 Members and 1 Guest are viewing this topic.
milpo2717
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: November 04, 2005, 08:54:23 pm »

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
Logged
Myntric
Jr. Member
**
Offline Offline

Posts: 33


View Profile
« Reply #1 on: November 04, 2005, 11:37:21 pm »

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 000

where 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
Logged
sullrich
Hero Member
*****
Offline Offline

Posts: 5135


View Profile WWW
« Reply #2 on: November 04, 2005, 11:40:53 pm »

Also note http://cvstrac.pfsense.com/tktview?tn=257
Logged
Sharaz
Jr. Member
**
Offline Offline

Posts: 45


View Profile
« Reply #3 on: November 05, 2005, 09:21:47 am »

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
Logged

Jonathan
milpo2717
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #4 on: November 06, 2005, 11:28:04 pm »

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
Logged
Snille
Newbie
*
Offline Offline

Posts: 10


If you don't have it, make it!


View Profile WWW
« Reply #5 on: January 26, 2006, 10:49:01 am »

Hi all SNMP users.... Smiley

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?
Logged

The only truth - Cause and effect!
sullrich
Hero Member
*****
Offline Offline

Posts: 5135


View Profile WWW
« Reply #6 on: January 26, 2006, 12:39:46 pm »

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.
Logged
Wookie7
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #7 on: January 31, 2006, 09:15:43 am »

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?
Logged
Wookie7
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #8 on: January 31, 2006, 09:24:36 am »

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
Logged
sullrich
Hero Member
*****
Offline Offline

Posts: 5135


View Profile WWW
« Reply #9 on: January 31, 2006, 12:47:10 pm »

We are using bsnmpd from current so if its going to be in RELENG_6_1 then it should be in there too.
Logged
mbreitba
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #10 on: August 30, 2006, 01:33:09 pm »

Has anyone figured out what the OID's are for monitoring CPU usage?  I'd really like to graph that info.
Logged
sullrich
Hero Member
*****
Offline Offline

Posts: 5135


View Profile WWW
« Reply #11 on: August 30, 2006, 01:37:05 pm »

http://cvstrac.pfsense.com/tktview?tn=257
Logged
mbreitba
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #12 on: August 30, 2006, 05:55:28 pm »

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?
Logged
sullrich
Hero Member
*****
Offline Offline

Posts: 5135


View Profile WWW
« Reply #13 on: August 30, 2006, 07:11:35 pm »

You should check the file locations mentioned in the article as not all of the mibs are ouputted on the same page. 
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.035 seconds with 19 queries.