TECHZEN Zenoss User Community ARCHIVE  

No data in graphs ZenPacks.JanGaraj.ZabbixAgent for AWS ec2 instances?

Subject: No data in graphs ZenPacks.JanGaraj.ZabbixAgent for AWS ec2 instances?
Author: [Not Specified]
Posted: 2016-07-20 14:02

Hello,
I'm new to zenoss and I'm trying to connect zabbix-agent with zenoss. My issue is that there's no data on zabbix graphs.

I installed zenoss on one ec2 and zabbix agent on another one.
Zenoss server is in VPC1 and ec2 with zabbix-agent installed is in VPC2. I added ip of zenoss server into zabbix-agent.conf, allowed all traffic between those 2 instances, installed zabbix and aws zenoss packs, added devices (screenshot below)

I added zabbix templates (not sure about that part as well). I don't know how to bind zabbix templates to individual ec2 instances. If someone could give me some tips, I would really appreciate it.

I tried testing connection with zenoss and command doesn't fail:

[root@zenoss ~]# /home/zenoss/ZenPacks.JanGaraj.ZabbixAgent/ZenPacks/JanGaraj/ZabbixAgent/libexec/zabbix_get_zenoss.py -s client-test -d system.cpu.load.all.avg1 -k "system.cpu.load[all,avg1]"
{"values":{"":{"system.cpu.load.all.avg1":0.000000}},"events":[{"severity":0,"summary":"Clearing previous problems","message":"Clearing previous problems","eventClass":"/Status/ZabbixAgent","eventKey":"system.cpu.load[all,avg1]"},{"severity":0,"summary":"Clearing previous problems","message":"Clearing previous problems","eventClass":"/Status/ZabbixAgent","eventKey":"connection"}]}

but I don't think things are setup correctly.

I tried following https://github.com/monitoringartist/ZenPacks.JanGaraj.ZabbixAgent but I don't think I'm going anywhere.

Any tips appreciated,
Thank you



Subject: Your connectivity (sec. group
Author: Jan Garaj
Posted: 2016-07-20 21:55

Your connectivity (sec. group) looks ok, because server part is able to get metric value from the agent part.

Problem is that templates provided in the Zenpack are device templates and you need component templates.

Or add each EC2 instance as a device (then you can use device template).

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: Yes, you can modify any
Author: Jan Garaj
Posted: 2016-07-21 12:09

Yes, you can modify any device template and create component template. IMHO it's out of the scope of this thread.

The best approach depends on many factors and you should to know what's the best one for you. AWS Zenpacks = Cloudwatch metrics - if it fits your needs, then you don't need any aditional Zenpack.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: Amazon Web Services Pack -
Author: [Not Specified]
Posted: 2016-07-21 13:48

Amazon Web Services Pack - that was the first pack that I installed but after few hrs of troubleshooting and research I couldn't figured it out why graphs are not showing any data.
Since we are using zabbix I decided to test if I can plug in agent and get all monitoring that way.

I'll go back to cloudwatch and see what's going on with AWS Pack.

Thanks



< Previous
Problem while executing plugin aws.EC2
  Next
zSnmpAuthPassword - Can specify via API or CLI?
>