Jump to content
c4forums | The Control4 Community

Zabbix template to monitor controllers


Recommended Posts

I had a particularly nasty issue with an EA3 rebooting.  I never knew why and we could never catch it in the act when it happened - every 3 weeks seemingly randomly. Tech support was no good as we couldn't reproduce the issue. What to do? Sadly, SNMP went away in 3.x so I went a bit brute force to monitor this box and ended up using direct SSH login.

This template pulls the load 1, 5, and 15 values, swap usage, free RAM (with buffers taken out to show actual available free RAM should a process request it) and CPU user, sys, idle and nice values, top 10 CPU and top 10 RAM using processes. There are also graphs for the numeric data.

I have attached a Zabbix template that you can use. It is pre-populated with the old default Control4 root password. You can find/replace that with whatever password is on your controller.

If you want to expand this template or have ideas on something I should add (or think this is very very wrong and have a better idea), let me know.

Hopefully this helps someone. Seeing that bump in CPU at 2:34PM and then having an event to correlate to (Were you home? What were you doing? Your 3 year old was doing WHAT with the Neeo?!) is a good feeling.

 

 

Control4_monitor_template.yamlCPUGraph.thumb.png.f22acb7d629192592100d0ea073d3f7d.pngFreeRAM-UsedSwapGraph.thumb.png.8bcee34915949a48c9513bdf5b17aec1.pngLoadGraph.thumb.png.7c57aaf049a01f486e5db85ed02b58fe.pngTop10CPU.thumb.png.a2a7c7da09becafce6a0e524442dfbb7.pngTop10RAM.thumb.png.b9839b6cb480a6f9fcd537f0533addcf.png

Edited by BubbaDuck
Add screen shots
Link to post
Share on other sites
  • 1 month later...

8 minutes ago, BubbaDuck said:

I never did. I suspect it was a firmware issue as I haven't had a single issue since 3.2.1.

oh bummer could have been a driver leaking memory or something as well. hopefully and automatic update fixed it.

Link to post
Share on other sites
  • 2 months later...

@BubbaDuck Thx for this! Easily imported this into my zabbix instance (latest on rhel) and working great. I ended up creating a new zabbix user on the controllers (adduser zbx) to separate out root from the zabbix account. Otherwise, used straight away. Thanks for sharing it!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...