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

    Need More Info from SNMP

    SNMP
    7
    14
    28.5k
    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

      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

        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

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

          1 Reply Last reply Reply Quote 0
          • S
            Sharaz
            last edited by

            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

              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

                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

                  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

                    @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

                      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

                        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

                          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

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

                            1 Reply Last reply Reply Quote 0
                            • M
                              mbreitba
                              last edited by

                              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

                                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.