Zabbix "Expert Consultation" Issue 194 Q&A Summary

Question one

Q: Excuse me, my monitor has been connected to optical communication and V7000 through trap, and the mib file has also been uploaded. In the usr/snmp/mibs/V7000 directory, is the created monitoring item calling the mib file in this folder, or is it automatically found? ?

A: The mib file is only used for mib content parsing. To test whether the mib is imported successfully, you can use the command snmptranslate + OID to test. The mib file parsing is done by the system's snmp service and has nothing to do with zabbix.

question two

Q: The TRap of Optical Communications has no data for 22 hours, I wonder if it is normal?
insert image description here
The V7000 is also more than ten hours.
insert image description here
A: You can check whether the status of the snmptrapd service is normal. It may be that the snmptrapd process is down. Combine the log of snmptrapd and the zabbix_traps file to check.

Q: There are only previous collected data records in the log, and the service is normal.
insert image description here
A: If the service has received a trap message, check whether this IP has the latest trap record?
insert image description here
Q: 172.**.. is another machine. My V7000 and optical switch are on the zabbix web side, and there is no data for a long time. Where is this checked from? Does his trap send information to the server when a new log is generated, or how often does it send it?

A: The snmptrapd service receives the trap message, "calls the perl script, and outputs the trap to the path defined by the script, "the server process monitors the trap file in real time", "generates a new record", and "writes the data to the database" interface can be seen.
insert image description here
question three

Q: I report to the police several times a day, is there any good way to tune it? I have tried all the tuning methods on the Internet, but to no avail. insert image description here
A: Does the underlying database use mysql or PG? Zabbix's own housekeeper is indeed slower when processing data cleanup.

Q:mysql。

A: Are there stored procedures and table partition operations?

Q: No.

A: You can refer to the article to optimize the table partition to replace the cleaning operation of the zabbix housekeeper.

https://blog.csdn.net/weixin_42123737/article/details/93736065

question four

Q: Why does the alarm content of the action take precedence over the content in the alarm medium type?

A: That's the logic. If you don't want to use the content in the action, just don't check the custom option.

Question five

Q: Guys, please monitor the redhat server port, and it shows that there is no relevant key value. What is the problem?

A: as follows

If monitoring in agent mode:

1.agent版本过低

2.键值设定出错

If it is a simple inspection method monitoring:

1.键值设定出错

question six

Q: Guys, do you not need to open the port if you use the active mode of agent2?

A: The agent1/2 generations are the same, as long as all monitoring items use the active mode, there is no need to open ports.

question seven

Q: Are there any reliable articles about HA deployment for versions 6 and above?

A: The process is basically the same as that of a stand-alone deployment. The cluster needs to configure these two configurations in the server configuration file to complete the cluster construction. insert image description here
Question eight

Q: Guys, use zabbixjavagateway to monitor jvm, and the data acquisition of some monitoring items is not continuous. Is this normal? Is the template the template that comes with zabbix?

A: As follows.

1.检查 Zabbix Server 的日志文件,查看是否有任何错误或警告信息。

2.检查 JVM 的日志文件,查看是否有任何错误或警告信息。

3.检查子监控“java poller”繁忙度,如果繁忙度较高,则需要调整server配置加大轮询进程数。
更多zabbix技术问题,可以持续关注乐维社区

おすすめ

転載: blog.csdn.net/weixin_43631631/article/details/131106738