zabbix-template-snmp-dell-openmanage icon indicating copy to clipboard operation
zabbix-template-snmp-dell-openmanage copied to clipboard

Template Import Failure

Open apssupport opened this issue 8 years ago • 8 comments

Good evening,

I am receiving this error when attempting to import.

Import failed
Details
Created: Application "DELL Hardware" on "Template-snmp-dell-openmanage".
Created: Application "Processes" on "Template-snmp-dell-openmanage".
Created: Application "Services" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: Chassis Express Service Code Name" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: Chassis Manufacturer Name" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: Chassis Model Name" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: Chassis Service TagName" on "Template-snmp-dell-openmanage".
Created: Item "SNMP on port 161 in LISTEN state" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: dsm_sa_datamgrd running" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: dsm_sa_eventmgrd running" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: dsm_sa_snmpd running" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: Event Log Status" on "Template-snmp-dell-openmanage".
Created: Item "OMSA: Processor Status" on "Template-snmp-dell-openmanage".

apssupport avatar Sep 16 '16 23:09 apssupport

Hello, I had the same issue and I managed to fix it. The template ICMP changed, so you need to edit the template to match.

Please change this:

           <dependency>
                <name>Host is unavailable via ICMP ping</name>
                <expression>{Template-icmp-ping:icmpping[].max(#3)}=0</expression>
            </dependency>

to this:

            <dependency>
                <name>{HOST.NAME} is unavailable by ICMP</name>
                <expression>{Template ICMP Ping:icmpping.max(#3)}=0</expression>
            </dependency>

Also remember when you add this template, you also need to add the "Template ICMP Ping"

I hope this helps.

ilvipero avatar Feb 16 '17 08:02 ilvipero

Thank you! I will try this out.

apssupport avatar Feb 17 '17 15:02 apssupport

Hi

Thank you for your work.

I have made some change as suggested by ilvipero, I still get the same issue.

Please help

sirsosnet avatar Mar 17 '17 13:03 sirsosnet

Hi Sirsosnet,

This template depends on Zabbix default template "Template ICMP Ping". This template seem to have changed over the various Zabbix versions. What I did is I went in templates, looked at the "Template ICMP Ping", opened it and had a look at the expression there. Modified this Dell Openmanage template to match.

One more thing to check if you are editing the template from windows, your editor might cause issues. I recommend you to use notepad++. Download a fresh copy of the template and edit that one. if you still cannot manage, please let me know your zabbix version. If it matches mine, I can send you the template I edited.

Cheers ilVipero

ilvipero avatar Mar 17 '17 14:03 ilvipero

Ok, it seems there are 2 error reports for the same issue. Issue 1 has the same discussion and someone already shared a working template. Please check here: https://github.com/rafaelma/zabbix-template-snmp-dell-openmanage/issues/1

ilvipero avatar Mar 17 '17 14:03 ilvipero

Thanks so much, issue #1 solved the error.

sirsosnet avatar Mar 17 '17 16:03 sirsosnet

Hello, a contributor has posted a corrected version of the template, here :

https://github.com/roelandjansen/zabbix-template-snmp-dell-openmanage.

I have just found a bug this newly template to be totally functional, on line 2683 replace:

<snmp_community>public</snmp_community>

by this value:

<snmp_community>{$SNMP_COMMUNITY}</snmp_community>

Regards,

YannuX06

YannuX06 avatar May 05 '17 14:05 YannuX06

Had to remove the entire trigger section for port 161 to get this to import. Then again it's provided by the Generic SNMP template I guess so I can just add that separately.

Frosthar avatar Mar 10 '22 14:03 Frosthar