Comments (3)
Just committed changes on devel branch with details what needs to be don to monitor MySQL.
If you think that it is enough clear please close that ticket :)
from zabbix-templates.
Thanks alot but i get this error. can you please help :-
[root@zabbixdb bin]# su - zabbix -s /bin/bash -c "mysql_config_editor set --login-path=monitoring --user monitoring --password"
su: warning: cannot change directory to /usr/lib/zabbix: No such file or directory
mysql_config_editor: Can't create/write to file '/usr/lib/zabbix/.mylogin.cnf' (OS errno 2 - No such file or directory)
couldn't create the login file : No such file or directory
mysql_config_editor: Error on close of 'UNKNOWN' (OS errno 9 - Bad file descriptor)
operation failed. : Bad file descriptor
from zabbix-templates.
i can see the direcotry should be /usr/lib/zabbix ? i might be wrong...can u confirm
mkdir -p /var/lib/zabbix (should be /usr/lib/zabbix)
chwon zabbix:zabbix /var/lib/zabbix
chmod 700 /var/lib/zabbix
su - zabbix -s /bin/bash -c "mysql_config_editor set --login-path=monitoring --user monitoring --password"
after changing it gives this below error :-
su - zabbix -s /bin/bash -c "mysql_config_editor set --login-path=monitoring --user monitoring --password"
su: warning: cannot change directory to /usr/lib/zabbix: Permission denied
-bash: /usr/lib/zabbix/.bash_profile: Permission denied
mysql_config_editor: Can't create/write to file '/usr/lib/zabbix/.mylogin.cnf' (OS errno 13 - Permission denied)
couldn't create the login file : Permission denied
mysql_config_editor: Error on close of 'UNKNOWN' (OS errno 9 - Bad file descriptor)
from zabbix-templates.
Related Issues (8)
- Error when try to import OS Windows template HOT 14
- /usr/bin/mysql: unknown variable 'login-path=monitoring' HOT 3
- Add a trigger for the Processor Times graph (at 80-85% level)? HOT 1
- Disk IO(Bps to ms + 2 triggers)
- Add graph(s) that represent currents transfer speeds for all available network interface(cards). HOT 1
- Error in import HOT 2
- Announcement: development cycle comments HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zabbix-templates.