OpenNMS data collection configuration

1 OpenNMS data collection configuration
Configuration file: etc/datacollection-config.xml

snmpStorageFlag parameter
    "primary": Only device-level data or data of the primary SNMP interface will be stored in the system.
    "all": Data for all interfaces will be stored.
    "select", you can choose the interface data storage. By default, only the SNMP information of the primary and secondary interfaces is saved, but other non-IP interfaces can also be selected through the interface.

rrd data archive configuration
        <rrd step="300">
            <rra>RRA:AVERAGE:0.5:1:2016</rra> <!-- 5 minutes of data, 7 days of storage -->
            <rra>RRA:AVERAGE:0.5 :12:1488</rra> <!-- 1 hour of data, stored for 62 days (2 months) -->
            <rra>RRA:AVERAGE:0.5:288:366</rra> <!-- 1 day of data , stored for 366 days (1 year) -->
            <rra>RRA:MAX:0.5:288:366</rra> <!-- 1 day of data, stored for 366 days (1 year) -->
            <rra>RRA: MIN:0.5:288:366</rra> <!



    gauge Gauge32 integer Integer32 counter Counter64 string timeticks


2 Event configuration

Alarm level
    Indeterminate Cleared Normal Warning Minor Major Critical

<alarm-data reduction-key="%uei%:%dpname%:%nodeid%" alarm-type="3" auto-     clean ="false"/>
    reduction-key: Alarm compression condition
    alarm-type: Indicates the degree of alarm     resolution     etc/trapd-configuration.xml must be edited for the 2 SNMPv3 Trap , adding the following     <snmpv3-user security-name="root" auth-passphrase="123456" auth-protocol="MD5"           privacy-passphrase="123456" privacy- protocol="DES"/>     Note: If you want to add multiple records here, you must ensure that the security-name value is a different OpenNMS video address:









https://edu.csdn.net/course/play/6256/118503
OpenNMS video download: https://pan.baidu.com/s/1k2QdWxBqrN9nhWLIKLIrTQ

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326049600&siteId=291194637