Hello Guys,
I am stuck in a little Problem i can't solve.
My task is "simple" but i am a total noob when it comes to zabbix.
I have an MSSQL-Database, and i have to Monitor certain values in it.
I've wrote a python script wich is working perfectly fine and does what its supposed. It connects to the database and check the values and it prints 0, 1 or 2 depending on the current value.
So my idea was creating a Item on the zabbix server (where i created that python script, and let it run).
I can execute it on the commandshell on the zabbix server, but it wont work within zabbix
the location of the python file is /home/User/odbc-test3
the Item configuration is:
Name - get odbc-test
Type - Zabbix agent
Key - system.run[python /home/User/odbc-test3]
Interface - 127.0.01
Intervall 5s
Ive configured the /etc/zabbix/zabbix_agend.conf with
altough it says
but i still get the information unsupported item Key.
I am stuck in a little Problem i can't solve.
My task is "simple" but i am a total noob when it comes to zabbix.
I have an MSSQL-Database, and i have to Monitor certain values in it.
I've wrote a python script wich is working perfectly fine and does what its supposed. It connects to the database and check the values and it prints 0, 1 or 2 depending on the current value.
So my idea was creating a Item on the zabbix server (where i created that python script, and let it run).
I can execute it on the commandshell on the zabbix server, but it wont work within zabbix
the location of the python file is /home/User/odbc-test3
the Item configuration is:
Name - get odbc-test
Type - Zabbix agent
Key - system.run[python /home/User/odbc-test3]
Interface - 127.0.01
Intervall 5s
Ive configured the /etc/zabbix/zabbix_agend.conf with
Code:
AllowKey:system.run[*]
Code:
# If no AllowKey or DenyKey rules defined, all keys are allowed.
Comment