Zabbix Issue

69 views
Skip to first unread message

Jerry Kiedrowski

unread,
Aug 31, 2023, 11:02:41 AM8/31/23
to Milwaukee Linux User's Group
A little hesitant to post this in here in fear of looking like a moron, but that's never stopped me before... I've been using linux for years from a desktop user and  minimal CLI. Recently I have been tasked to deploy a zabbix server in our infrastructure for network monitoring. What i've completed so far is install Ubuntu 22.04 LTS as a VM on a windows Hyper-V host., Then installed all of the components of the latest Zabbix distro 6.4 for ubuntu using mysql as a database host, Zabbix server is hosted on the ubuntu server as is the web UI. I can access the web UI fine, but I keep getting error stating that the "zabbix server is not running: the information displayed may not be current".

From the Zabbix forum I've narrowed it down to the web ui password and the database password for some reason aren't authenticating. The fix is apperently an adjustment to a configuration file, and here is where my knowledge of linux is to say the least, questionable. This from what I've read is a common issue, i may understand what the issue, but i do not know how to fix it. Via CLI. I think it's a simple fix, but at a loss.

Here is where I found the information:


I can enter basic commands for installs, updates, but I am i little gun shy on editing config files. Any help would be appreciated even if it's a basic command to get into the config file, and how I should edit it.

Thank You in advance.
Jerry

Sean Malloy

unread,
Aug 31, 2023, 10:59:20 PM8/31/23
to Milwau...@googlegroups.com
Jerry,

I read through the Zabbix forum post you linked. Assuming the answer in the forum post is correct. It sounds like you would need to edit either /etc/zabbix/web/zabbix.conf.php or /etc/zabbix/zabbix_server.conf.

Here is what I would do:
1. cp /etc/zabbix/web/zabbix.conf.php /etc/zabbix/web/zabbix.conf.php.backup # make a backup
2 cp /etc/zabbix/zabbix_server.conf /etc/zabbix/zabbix_server.conf.backup # make a backup
3. less /etc/zabbix/web/zabbix.conf.php # Figure out which file you need to change
4. less /etc/zabbix/zabbix_server.conf # Figure out which file you need to change
5. nano /etc/zabbix/web/zabbix.conf.php OR nano /etc/zabbix/zabbix_server.conf  # edit the file

If you are not familiar with using a text editor on the terminal you will probably want to follow a tutorial to get familiar with one prior to attempting step 5. In step 5 above I used the nano command. You can use whatever text editor you want(i.e. vim, nano emacs, etc). I personally use vim, but you can use whatever you want.

Here is an example nano tutorial: https://www.howtogeek.com/42980/the-beginners-guide-to-nano-the-linux-command-line-text-editor/. I don't use nano, so I can't confirm if this is a good tutorial or not.

I hope that helps.

Sean Malloy


--
Homepage: http://www.milwaukeelug.org/home
This forum online: https://groups.google.com/forum/#!forum/MilwaukeeLUG
---
You received this message because you are subscribed to the Google Groups "Milwaukee Linux User's Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to MilwaukeeLUG...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/MilwaukeeLUG/f95d1c05-5dc0-4a8c-8828-24a3f73f94c8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages