Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-3998

Add to housekeeping deleting from RRD

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • Enterprise Edition
    • Scripts
    • None

    Description

      Hi 

      How can I perform via HOUSEKEEPING deletion from the rrd file themselves
      I want to keep only 1-2 WEEKS of history Maby for some devices more time
      now the rrd contains all the history from the day the device/port was added
      without "MAX TIME" for that 

       

      Attachments

        Activity

          [OBS-3998] Add to housekeeping deleting from RRD

          Thanks Mike

          I ment to do that by the housekeeping scripts , not from the begining.

          As far as I Know the  RRD is time based.
          Isn't there a way to move from [item.rrd] from [date] to [date]  to a tmp.rrd and then remove old with the tmp rrd ?

          The use case is reducing HDD to get full with unwanted data

          arielme ariel muler added a comment - Thanks Mike I ment to do that by the housekeeping scripts , not from the begining. As far as I Know the  RRD is time based. Isn't there a way to move from [item.rrd] from [date] to [date]   to a tmp.rrd and then remove old with the tmp rrd ? The use case is reducing HDD to get full with unwanted data

          If you really have Enterprise Subscription please prefer requests by support mail: support@observium.org

          landy Mike Stupalov added a comment - If you really have Enterprise Subscription please prefer requests by support mail: support@observium.org

          Hrm.. you mean limit stored data by time in RRD?
          This is very hard feature, because no standard ways for this in RRD.
          It is need to export the data, delete unnecessary (old) data and then import back into RRD...
          Very very hard and additionally impossible with rrdcached.

          And at last point I really not know for which user cases is this necessary?..

          landy Mike Stupalov added a comment - Hrm.. you mean limit stored data by time in RRD? This is very hard feature, because no standard ways for this in RRD. It is need to export the data, delete unnecessary (old) data and then import back into RRD... Very very hard and additionally impossible with rrdcached. And at last point I really not know for which user cases is this necessary?..

          Hi , Its not related to snmpwalk / device add or remove

          arielme ariel muler added a comment - Hi , Its not related to snmpwalk / device add or remove

          General questions and device support can be discussed in our Discord channel, click here to join.


          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk

            If device not support SNMP version 2c, replace -v2c with -v1.

          • If you have problems with discovery or poller processes, please do and attach these debugs:

            ./discovery.php -d -h <device>
            ./poller.php -d -h <device>

          • additionally attach device and/or vendor specific MIB files

          This comment is added automatically.

          bot Observium Bot added a comment - General questions and device support can be discussed in our Discord channel, click here to join . Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk If device not support SNMP version 2c, replace -v2c with -v1. If you have problems with discovery or poller processes, please do and attach these debugs: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files This comment is added automatically.

          People

            adama Adam Armstrong
            arielme ariel muler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: