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

Error on importing the template

Open christophgasser opened this issue 8 years ago • 14 comments

I get this error message when trying to import the template. Any idea, how to solve that?

Trigger "Hardware monitoring not available - SNMP on port 161 is not in LISTEN state" depends on trigger "Host is unavailable via ICMP ping", which does not exist.

BR Christoph

christophgasser avatar Aug 12 '16 08:08 christophgasser

Hello

The template has some dependencies to the ICMP ping template delivered by Zabbix as a core template. Do you have the ICMP Ping template installed and linked to the hosts that are going to use the template-snmp-dell-openmanage?

regards

rafaelma avatar Aug 15 '16 07:08 rafaelma

I changed the xml that I downloaded and searched for "Host is unavailable via ICMP ping" and updated that to "{HOST.NAME} is unavailable by ICMP". I then could import the template.

pcdiks avatar Aug 29 '16 12:08 pcdiks

I followed pcdiks's solution, except I had to rename the expression as well. I installed Zabbix-3.0.4 from RPM repo, and the template is not called Template-icmp-ping but Template ICMP Ping. Also, I had to get rid of the [] after icmpping. After that, importing worked.

So IMO the correct dependency on line 2989 should look like this:

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

storm49152 avatar Sep 20 '16 08:09 storm49152

for the lazy amongst us:

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

has it fixed and uploads fine as a template in zabbix 3.2

roelandjansen avatar Nov 24 '16 10:11 roelandjansen

Man, thx for the fix in the file. Its a life savior for me! Peace!

portalthiago avatar Jan 23 '17 17:01 portalthiago

Hello, you fixed the template in November 2016, I can successfully import it, but I added the host, can not get the data from snmp-agent, And I have added snmp-agent SNMP_COMMUNITY to pulic, zabbix server also added the global macro {$ SNMP_COMMUNITY} for the public, I _20170209134641 found through the zabbix server log information as follows: "Temporary disabling SNMP agent checks on host" 172.22.22.206 ": host unavailable", but in zabbix server, I can snmp order "snmpwalk-t 10 -v 2c -c public 172.22.22.206 .1.3.6.1.4.1.674.10893.1.20.130.4.1.21" success Access to the value of 172.22.22.206, my zabbix server version 3.0, snmp-agent and openmanage installed in the DELL server windows (172.22.22.206), you can help me solve this problem, thank you!

xaon2017 avatar Feb 09 '17 05:02 xaon2017

I currently do not have a zabbix instance to test with so I cannot help you atm... :-(

I recall the zabbix server config also has snmp poller directives -- possibly disabled? Just a very ... VERY long shot.

roelandjansen avatar Feb 13 '17 12:02 roelandjansen

Hello, first thank you for your template, I have been able to use this template, but now I have a problem, when I add a host, everything looks normal, zabbix can successfully obtain all the DELL server hardware information , Such as raid type, disk size, but after a period of time, it can not get a second value, everything seems to be prohibited, I try to restart zabbix service, it can successfully obtain all the DELL server hardware information, once again. But only once the value, and then after a period of time, it can not get the value, that is only when I restart zabbix service can get all the DELL server hardware information, and then can not get the value, I want to know the problem with the template or DELL OpenManager. can you help me solve it ? Thank you!

xaon2017 avatar Feb 16 '17 03:02 xaon2017

I'd say -- check the logs -- maybe it still is a server side issue. Which zabbix service do you restart? Agent, server itself? The latter -- how do the queues look like?

roelandjansen avatar Feb 16 '17 08:02 roelandjansen

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

On my Zabbix 3.4

I just had to change the downloaded .xml like below (line 2989) :

<dependency> <name>Unavailable by ICMP ping</name> <expression>{Template Module ICMP Ping:icmpping.max(#3)}=0</expression> </dependency>

It works for me, I hope it'll help you.

Fl0Ka avatar Sep 14 '17 08:09 Fl0Ka

@xaon2017 How did you enabled snmp on the dell openmange and in esxi side . can you please explain

ashokv54 avatar Dec 17 '18 06:12 ashokv54

I'm trying to import this template on Zabbix 4.4.5 and hitting a very similar import error as above. Have made the changes described but still getting told that trigger doesn't exist. I have also verified that I have the "default" ICMP Ping template on our Zabbix server too as it appears to be calling it from that one.

KMTMark avatar Jul 17 '20 15:07 KMTMark

for zabbix 5.0LTS you must change

Host is unavailable via ICMP ping {Template ICMP Ping:icmpping[].max(#3)}=0

to

Unavailable by ICMP ping {Template Module ICMP Ping:icmpping.max(#3)}=0

rrrjuchin avatar Dec 02 '21 10:12 rrrjuchin