• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Need More Info from SNMP

Scheduled Pinned Locked Moved SNMP
14 Posts 7 Posters 28.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    milpo2717
    last edited by Nov 5, 2005, 1:54 AM

    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

    1 Reply Last reply Reply Quote 0
    • M
      Myntric
      last edited by Nov 5, 2005, 4:37 AM

      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

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by Nov 5, 2005, 4:40 AM

        Also note http://cvstrac.pfsense.com/tktview?tn=257

        1 Reply Last reply Reply Quote 0
        • S
          Sharaz
          last edited by Nov 5, 2005, 2:21 PM

          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

          Jonathan

          1 Reply Last reply Reply Quote 0
          • M
            milpo2717
            last edited by Nov 7, 2005, 4:28 AM

            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

            SampleGraph.JPG
            SampleGraph.JPG_thumb
            SampleGraph.JPG_thumb

            1 Reply Last reply Reply Quote 0
            • S
              Snille
              last edited by Jan 26, 2006, 3:49 PM

              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?

              If you can't find it, make it and share it!

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by Jan 26, 2006, 5:39 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.

                1 Reply Last reply Reply Quote 0
                • W
                  Wookie7
                  last edited by Jan 31, 2006, 2:15 PM

                  @sullrich:

                  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?

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wookie7
                    last edited by Jan 31, 2006, 2:24 PM

                    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

                    1 Reply Last reply Reply Quote 0
                    • S
                      sullrich
                      last edited by Jan 31, 2006, 5:47 PM

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

                      1 Reply Last reply Reply Quote 0
                      • M
                        mbreitba
                        last edited by Aug 30, 2006, 6:33 PM

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

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by Aug 30, 2006, 6:37 PM

                          http://cvstrac.pfsense.com/tktview?tn=257

                          1 Reply Last reply Reply Quote 0
                          • M
                            mbreitba
                            last edited by Aug 30, 2006, 10:55 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?

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by Aug 31, 2006, 12:11 AM

                              You should check the file locations mentioned in the article as not all of the mibs are ouputted on the same page.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                This community forum collects and processes your personal information.
                                consent.not_received