Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

It's the first time that i install a Zabbix server on my dedicated server (debian 5). But zabbix cannot collect data from the server itself (no remote server, it's installed on the server i have to monitor)

alt text

Do you have an idea on what's going on ?

PS: on the server, there were already a zabbix agent which allowed me only to see traffic usage on the server hosting pannel. Can it be related ? I installed via :

apt-get install zabbix-server-mysql zabbix-frontend-php zabbix-agent

Thanks

share|improve this question
add comment

2 Answers

things to check :

  1. that zabbix agent daemon is running;
  2. that firewall allow connections to whatever ip you configured for that local host on port 10050;
  3. that ip used for local host in zabbix frontend matches the ip set in agent daemon configuration file, "Server" directive;
  4. configuration->hosts in the frontend, whether any errors are reported for the zabbix server.
share|improve this answer
add comment

Check your agent config file. If you've told the agents to only accept connections from the server IP (eg 192.168.1.1), but the server is configured to poll itself via localhost, then the agent will see the local connection coming from 127.0.0.1 and deny it.

To fix it, you can add multiple IPs to the agent config, or set the server to poll the proper IP of the server.

A quick test is to run zabbix_get -s localhost -k <key> and then zabbix_get -s <server IP> -k <key> and see if it makes a difference.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.