Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template for Nexsan E48 #415

Open
baghiyat opened this issue Jan 9, 2025 · 0 comments
Open

Template for Nexsan E48 #415

baghiyat opened this issue Jan 9, 2025 · 0 comments

Comments

@baghiyat
Copy link

baghiyat commented Jan 9, 2025

Could you please add Template for Nexsan E48?

i search this pdf

https://www.nexsan.com/wp-content/uploads/2023/12/Nexsan_E48_and_Nexsan_E60_Storage_Systems_Installation_Guide_P0450140_Rev_B.pdf
https://www.nexsan.com/wp-content/uploads/2023/12/Nexsan_E60-E60X-E48-E48X_Quick_Start_Guide_rR.pdf
https://helper.nexsansupport.com/docs/unity/v4/Nexsan_Unity_Hardware_Reference_Guide_h1.pdf
https://www.marketnetworksolutions.com/wp-content/uploads/E-Series_DS.pdf
https://helper.nexsansupport.com/docs/unity/v4/Nexsan_Unity_SNMP_Messages_v4.pdf
https://www.nexsan.com/wp-content/uploads/2023/12/Nexsan_BEAST_and_E-Series_VMware_Best_Practices_Guide_P0450150_Rev_C.pdf

And I got these codes from them, but it doesn't work

<zabbix_export>
  <version>6.0</version>
  <date>2025-01-09T00:00:00Z</date>
  <templates>
    <template>
      <template>Nexsan_E48_Template</template>
      <name>Nexsan E48 Template</name>
      <description>Monitoring template for Nexsan E48 storage systems</description>
      <uuid>{9c2b85d0-9b53-11ed-a8fc-0242ac120002}</uuid>
      <groups>
        <group>
          <name>Templates</name>
        </group>
      </groups>
      <macros>
        <macro>
          <macro>{$SNMP_COMMUNITY}</macro>
          <value>public</value>
          <description>SNMP Community String</description>
        </macro>
        <macro>
          <macro>{$SNMP_TIMEOUT}</macro>
          <value>5s</value>
          <description>SNMP query timeout</description>
        </macro>
        <macro>
          <macro>{$CPU_USAGE_OID}</macro>
          <value>.1.3.6.1.4.1.2021.11.9.0</value>
          <description>OID for CPU usage</description>
        </macro>
        <macro>
          <macro>{$MEMORY_USAGE_OID}</macro>
          <value>.1.3.6.1.4.1.2021.4.6.0</value>
          <description>OID for memory usage</description>
        </macro>
        <macro>
          <macro>{$TEMPERATURE_OID}</macro>
          <value>.1.3.6.1.4.1.12356.101.4.1.5.0</value>
          <description>OID for temperature</description>
        </macro>
        <macro>
          <macro>{$UPTIME_OID}</macro>
          <value>.1.3.6.1.2.1.1.3.0</value>
          <description>OID for device uptime</description>
        </macro>
      </macros>
      <items>
        <item>
          <name>Device Uptime</name>
          <type>SNMPv2</type>
          <snmp_oid>{$UPTIME_OID}</snmp_oid>
          <key>device.uptime</key>
          <delay>60s</delay>
          <description>Device uptime in seconds</description>
        </item>
        <item>
          <name>CPU Usage</name>
          <type>SNMPv2</type>
          <snmp_oid>{$CPU_USAGE_OID}</snmp_oid>
          <key>device.cpu.usage</key>
          <delay>30s</delay>
          <description>CPU usage percentage</description>
        </item>
        <item>
          <name>Memory Usage</name>
          <type>SNMPv2</type>
          <snmp_oid>{$MEMORY_USAGE_OID}</snmp_oid>
          <key>device.memory.usage</key>
          <delay>30s</delay>
          <description>Memory usage in kilobytes</description>
        </item>
        <item>
          <name>Device Temperature</name>
          <type>SNMPv2</type>
          <snmp_oid>{$TEMPERATURE_OID}</snmp_oid>
          <key>device.temperature</key>
          <delay>60s</delay>
          <description>Temperature in Celsius</description>
        </item>
      </items>
      <discovery_rules>
        <discovery_rule>
          <name>Port Discovery</name>
          <key>port.discovery</key>
          <type>SNMPv2</type>
          <snmp_oid>.1.3.6.1.2.1.2.2.1.1</snmp_oid>
          <delay>1h</delay>
          <filters/>
        </discovery_rule>
      </discovery_rules>
    </template>
  </templates>
  <triggers>
    <trigger>
      <description>High CPU usage</description>
      <expression>{Nexsan_E48_Template:device.cpu.usage.last()}>80</expression>
      <priority>3</priority>
    </trigger>
    <trigger>
      <description>High Memory usage</description>
      <expression>{Nexsan_E48_Template:device.memory.usage.last()}>90</expression>
      <priority>3</priority>
    </trigger>
    <trigger>
      <description>High Temperature</description>
      <expression>{Nexsan_E48_Template:device.temperature.last()}>70</expression>
      <priority>4</priority>
    </trigger>
  </triggers>
</zabbix_export>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant