PDA

View Full Version : Server Zabbix server is unreachable


pccruz
17-06-2011, 17:48
Caros, você sabem o que significa essa mensagem?

Data Descrição Status Risco Duração Visto Ações

16/Jun/2011 14:37:39 Server Zabbix server is unreachable PROBLEMA Alto (High) 22h 2m 50s Sim -

Procedimentos que já adotei para verificação:

This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

# SETLOCALDEFS= Check local definition changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

/etc/init.d/iptables stop
/etc/init.d/ip6tables stop

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ps -ef | grep zabbix_agent
root@omega ~]# ps -ef | grep zabbix_agent
zabbix 2229 1 0 16:44 ? 00:00:00 /usr/local/zabbix/sbin/zabbix_agentd
zabbix 2232 2229 0 16:44 ? 00:00:00 /usr/local/zabbix/sbin/zabbix_agentd
zabbix 2233 2229 0 16:44 ? 00:00:00 /usr/local/zabbix/sbin/zabbix_agentd
zabbix 2234 2229 0 16:44 ? 00:00:00 /usr/local/zabbix/sbin/zabbix_agentd
zabbix 2235 2229 0 16:44 ? 00:00:00 /usr/local/zabbix/sbin/zabbix_agentd
zabbix 2236 2229 0 16:44 ? 00:00:00 /usr/local/zabbix/sbin/zabbix_agentd
root 2582 2389 0 16:45 pts/1 00:00:00 grep zabbix_agent

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

[root@omega ~]# nmap -A -T4 127.0.0.1
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2011-06-16 16:45 BRT
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 1673 closed ports
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 4.3 (protocol 2.0)
25/tcp open smtp Sendmail 8.13.8/8.13.8
80/tcp open http Apache httpd 2.2.3 ((CentOS))
111/tcp open rpcbind 2 (rpc #100000)
631/tcp open ipp CUPS 1.2
682/tcp open status 1 (rpc #100024)
3306/tcp open mysql MySQL 5.0.77
No exact OS matches for host (If you know what OS is running on it, see http://www.insecure.org/cgi-bin/nmap-submit.cgi).
TCP/IP fingerprint:
SInfo(V=4.11%P=i686-redhat-linux-gnu%D=6/16%Tm=4DFA5D88%O=22%C=1)
TSeq(Class=RI%gcd=1%SI=4381F7%IPID=Z%TS=1000HZ)
TSeq(Class=RI%gcd=1%SI=4380E3%IPID=Z%TS=1000HZ)
TSeq(Class=RI%gcd=1%SI=4383CE%IPID=Z%TS=1000HZ)
T1(Resp=Y%DF=Y%W=8000%ACK=S++%Flags=AS%Ops=MNNTNW)
T2(Resp=N)
T3(Resp=Y%DF=Y%W=8000%ACK=S++%Flags=AS%Ops=MNNTNW)
T4(Resp=Y%DF=Y%W=0%ACK=O%Flags=R%Ops=)
T5(Resp=Y%DF=Y%W=0%ACK=S++%Flags=AR%Ops=)
T6(Resp=Y%DF=Y%W=0%ACK=O%Flags=R%Ops=)
T7(Resp=Y%DF=Y%W=0%ACK=S++%Flags=AR%Ops=)
PU(Resp=Y%DF=N%TOS=C0%IPLEN=164%RIPTL=148%RID=E%RI PCK=E%UCK=E%ULEN=134%DAT=E)
Uptime 49.709 days (since Wed Apr 27 23:44:53 2011)
Service Info: Host: omega.checkexpress.local; OS: Unix
Nmap finished: 1 IP address (1 host up) scanned in 20.911 seconds
You have new mail in /var/spool/mail/root

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

[root@omega ~]# netstat -nlpt | grep 10051
tcp 0 0 0.0.0.0:10051 0.0.0.0:* OUÃA 2240/zabbix_server

[root@omega ~]# netstat -nlpt | grep 10050
tcp 0 0 0.0.0.0:10050 0.0.0.0:* OUÃA 2229/zabbix_agentd


- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Alguém tem noção do que pode ser isso?

Att.

osorio88
20-06-2011, 23:32
try to restart your mysql... that worked for me... if it doesn't work for you maybe you need more space on disc or cache.

That work for me.. hope it works for you.

pccruz
20-06-2011, 23:50
Hy Osorio.

Thanks, Can it really be HD? mine is 40 GB.

[root@omega ~]# df
Sist. Arq. 1K-blocos Usad Dispon. Uso% Montado em
/dev/hda1 37853184 2310948 33588332 7% /

Do you think better to change the Hard Disk?

Also restarted the MySQL Server but the message remains Zabbix server is unreachable.

efrain02
23-06-2011, 17:39
When it happens to me it was also because the cache size. I think you should check if you can access to your phpmyadmin or where is your database. In my case when i try to access to phpmyadmin there was a notice about no space left. So i search for a script to repair mysql and then i restart the server. Check the files size... maybe a tmp folder is too big. Make sure to serch here on the forum "Zabbix unreachable" and check other users posts because sometimes are different problems related to this message.

Hope you find a solution! ;)

Update:
Now i remember that mine was beacuase i had too many notification emails.

Update #2:
Ironicly today it happen to me... now is solved. Put this on Putty:

mysqlcheck -u user -p nameofdb --auto-repair

Put your mysql username in user and the name of the data base on nameofdb. Thats what i did and now is working again.

mariocarvalhope25
02-09-2011, 15:53
service zabbix_server start

pccruz
09-09-2011, 15:12
Resolvi este problema, comprei outra HD de 320 Sata. Refiz a reinistalação do centOS e recompilei novamente a instalação do Zabbix, normalizado