rafaelma / zabbix-template-snmp-dell-openmanage

Zabbix template for DELL OpenManage via SNMP
GNU Lesser General Public License v3.0
19 stars 20 forks source link

Error on importing the template #1

Open christophgasser opened 8 years ago

christophgasser commented 8 years ago

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

rafaelma commented 8 years ago

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

pcdiks commented 8 years ago

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.

storm49152 commented 8 years ago

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>
roelandjansen commented 7 years ago

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

portalthiago commented 7 years ago

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

xaon2017 commented 7 years ago

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!

roelandjansen commented 7 years ago

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.

xaon2017 commented 7 years ago

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!

roelandjansen commented 7 years ago

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?

YannuX06 commented 7 years ago

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:

public

by this value:

{$SNMP_COMMUNITY}

Regards,

YannuX06

Fl0Ka commented 7 years ago

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.

ashokv54 commented 5 years ago

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

KMTMark commented 4 years ago

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.

rrrjuchin commented 2 years ago

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