Posted on October 14, 2015 11:47 am
 |  Asked by Mohammad Zahir Mat Salleh
 |  3719 views
0
0
Print Friendly, PDF & Email

Hi all,

I have problem with the open source monitoring system called Zabbix. I already add Arista switch in that system but until now the data about Memory and CPU utilization didn’t come out. I search for the Arista template but no one have post about the template yet. May be Arista team can communicate with Zabbix team to produce the template for Arista.

Marked as spam
0
Posted by Bas Welman
Answered on October 15, 2015 12:46 pm

Hi Mohammad,

We are using SNMP items within Zabbix to monitor or Arista switches.

For CPU we use: HOST-RESOURCES-MIB::hrProcessorLoad.1
For RAM we use: HOST-RESOURCES-MIB::hrMemorySize.0 to see how much is installed
and HOST-RESOURCES-MIB::hrStorageUsed.1 to read the utilisation.

Have attached our templates (in 1 XML):
– Tmpl SNMP Arista Switch, for CPU, RAM, Serial#, Model
– Tmpl SNMP Arista Transceivers, which discovers the Optics and reports on power budgets
– Tmpl SNMP Network Interfaces, which discovers the Interfaces and reports and alarms when needed
– Tmpl SNMP Network Interfaces Errors, which discovers the Interfaces and alarms when error counts on the interface are hitting a threshold.

We use MACRO’s to avoid hardcoded numbers/thresholds within the templates, defaults are included in the templates but you might want to override those per switch level, not sure if its using any global MACRO’s but you will find them quickly when importing them.

We used some of the work done by:
Martrès Jean-Jacques
https://github.com/jjmartres/Zabbix/tree/master/zbx-templates

Cheers
Bas Welman

 

 

 

 

 

Marked as spam

Hi Bas,
I can’t find your attachment. Would you be so kind to share it ?

Kind Regards,
Marcos

(Marcos Buzo at July 20, 2017 2:58 pm)
0
Answered on October 20, 2015 1:38 am

Sorry, still fail. The error log said

  • Cannot find value map ”SNMP sensor status (entSensorStatus )” used for item prototype ”Operational status $1” of discovery rule ”Fan Trays” on ”Tmpl SNMP Arista Switch”

Thanks,

Regards,

Zahir

0
Posted by Bas Welman
Answered on November 25, 2015 9:59 pm

Hi Zahir,

Sorry for the late response, the value map doen’t get exported automatically (it will in ZBX 3.0).

I got the following value map configured:

Name: SNMP sensor status (entSensorStatus )

Value

Mapped to

Regards
Bas

0
Posted by Bernhard Brandmair
Answered on May 17, 2017 10:32 pm

Does anyone have an updated version of the Arista template for zabbix?

 

Regards

-Bernhard

Hello, I need it too.
Could somebody share it please?

(Stanislav dip at August 28, 2017 11:03 pm)
0
Posted by Stanislav dip
Answered on August 28, 2017 11:05 pm

Hello, I need zabbix template too.

Could somebody share it please?

0
Posted by Abilash
Answered on August 30, 2017 3:02 am

You can try using this.

http://www47.zippyshare.com/v/RLQ3VsOz/file.html

 

Marked as spam
0
Posted by Sean Bindley
Answered on October 31, 2017 5:51 pm

Just to verify…this is the value map you created, your post earlier doesn’t show the details.

{

    “jsonrpc”: “2.0”,

    “method”: “valuemap.create”,

    “params”: {

        “name”: “SNMP sensor status (entSensorStatus )”,

        “mappings”: [

            {

                “value”: “1”,

                “newvalue”: “ok”

            },

            {

                “value”: “2”,

                “newvalue”: “unavailable”

            }

            {

                “value”: “3”,

                “newvalue”: “nonoperational”

            }

        ]

    },

    “auth”: “57562fd409b3b3b9a4d916d45207bbcb“,

    “id”: 1

}

 

 

0
Posted by Steven kamalsky
Answered on January 22, 2018 8:51 pm

HI, FYI,

I was finally able to get the template to import by removing the middle line of the valuemap for “SNMP sensor status”. There are 2 places you have to remove it. I left the <valuemap> </valuemap> in place. 

 

<valuemap>

<name>SNMP sensor status (entSensorStatus )</name>

</valuemap> 

 

 

Post your Answer

You must be logged in to post an answer.