jookies / jasmin-monitoring Goto Github PK
View Code? Open in Web Editor NEWScripts, configs and templates for monitoring RabbitMQ, Redis and Jasmin through Zabbix 2.4+.
License: Apache License 2.0
Scripts, configs and templates for monitoring RabbitMQ, Redis and Jasmin through Zabbix 2.4+.
License: Apache License 2.0
Hello ?! I have a problem connecting a jasmin to Zabbix after I installed Zabbix agent and Zabbix reading linux figures from same VM ?
My zabbix version is 5.4 with latest Jasmin version
Error on zabbix server
discovery rule "[servername]:jasmin.discovery[{HOSTNAME},smppcs]" became not supported: Unsupported item key.
discovery rule "[servername]:jasmin.discovery[{HOSTNAME},users]" became not supported: Unsupported item key.
I followed this steps
After a correct configuration of every py scripts and the import of the XML into the zabbix server:
On the zabbix server web interface: go to configuration -> templates -> Template App Jasmin
For each item (25), change the type from "Zabbix agent (active)" to "Zabbix trapper"
In the same "Template" section select the tab "Discovery rules"
For both the lines ("Jasmin SMPP client connectors" and "Jasmin users") go into "Item prototypes" and do the same action (change the type from "Zabbix agent (active)" to "Zabbix trapper")
After that apply the template to the host and wait some minutes to permit the discovery rule to be executed.
To verify on the zabbix client side (probably the jasmin host):
# /etc/zabbix/script/jasmin/jasmin_discover.py --hostname [INSERT_THE_HOSTNAME] -d smppcs
should print the json list of your upstream connection
# /etc/zabbix/script/jasmin/jasmin_discover.py --hostname [INSERT_THE_HOSTNAME] -d users
should print the json list of your configured user in jasmin
# /etc/zabbix/script/jasmin/jasmin_get.py --host [INSERT_THE_HOSTNAME] should not give you any output
If you uncomment the line 144 [#print(resp)] you should see something like this:
{u'info': u'processed: 313; failed: 0; total: 313; seconds spent: 0.007436', u'response': u'success'}
but not fixed wth result the result of jasmin_get.py is
{u'info': u'processed: 0; failed: 77; total: 77; seconds spent: 0.001077', u'response': u'success'}
any ideas waht to do ?
Hi @farirat,
as we also are using Zabbix [4.0] to monitor every services we have, I've installed the jasmin monitoring module (only the jasmin one, not yet redis and rabbit).
I updated parameters like server IP, usernames and password in the script and verified they are correctly working manually executing them.
It seems to be all right on the zabbix server (it show a lot of items foreach customer, and upstream connection) but zabbix-agent is NOT reporting any data and ciclically log 312 lines like the one in the Subject. Every line has a different metric (Eg: "8155:20200220:105016.271 active check "jasmin[user.smppsapi.elink_count,testlink_hq]" is not supported: Unsupported item key." ) but the error is always the same: "active check jasmin[...] is not supported: Unsupported item key.".
Can you give me any idea in order to solve it?
Googling I found another user with the same issue but no solution yet: https://www.zabbix.com/forum/zabbix-help/360925-unsupported-item-key
Thank you!
hello,
Actually i am trying install jasmin-monitoring. But i don't understand how to install that can you help?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.