I've spent 2 days on this and installed/uninstalled close to 30 times and Zabbix just keeps breaking.
I'll explain the steps I've been using
- I've installed agent2 on the server.
- I've already configured the host in Zabbix so it pulls metrics from the server like CPU, memory and disk space.
- I install the plugin for MSSQL.
- I modify the conf file of the agent to it points to the correct directory where the plugin conf file lives.
- The plugin conf file is correct so I don't make any changes to it.
- I restart the Zabbix service and it fails to start.
And from this bit its a mixture of uninstalling the plugin then restarting the service, that sometimes works so it at least starts again.
If that doesn't work I reboot the server, that worked almost every time.
If its still failing uninstalling the agent and reinstalling it sometimes works.
Just now rebooting didn't work and despite me uninstalling the agent I couldn't installed it because there were still remnants of it present on the server so I had to delete registries and folders manually followed by a reboot because the service was stilling showing up in services.msc
I've got the macros set up in the Zabbix GUI but that doesn't even make a difference because as soon as I restart the service everything breaks.
Does anyone have any suggestions?
I'll explain the steps I've been using
- I've installed agent2 on the server.
- I've already configured the host in Zabbix so it pulls metrics from the server like CPU, memory and disk space.
- I install the plugin for MSSQL.
- I modify the conf file of the agent to it points to the correct directory where the plugin conf file lives.
- The plugin conf file is correct so I don't make any changes to it.
- I restart the Zabbix service and it fails to start.
And from this bit its a mixture of uninstalling the plugin then restarting the service, that sometimes works so it at least starts again.
If that doesn't work I reboot the server, that worked almost every time.
If its still failing uninstalling the agent and reinstalling it sometimes works.
Just now rebooting didn't work and despite me uninstalling the agent I couldn't installed it because there were still remnants of it present on the server so I had to delete registries and folders manually followed by a reboot because the service was stilling showing up in services.msc
I've got the macros set up in the Zabbix GUI but that doesn't even make a difference because as soon as I restart the service everything breaks.
Does anyone have any suggestions?
Comment