Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to get the log file's name that we are monitoring using zabbix.
Is there a way to do this?

I created one item in zabbix to monitor log file like this: logrt["/var/logs/error_[0-9]{1,3}.log","Critical"]

When it fetches data, it gives me the exact row but I want to know from which file that data came as I am monitoring multiple error log files.

share|improve this question
Please add more details. – rvs Sep 13 '11 at 5:12

It is not so easy but you can try getting information directly from your zabbix DB. As information about every item is stored for several days (which is user-adjustable), you can try finding it in history table. For more details you can look through this (/

share|improve this answer

Your Answer


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.