Ad Widget

Collapse

Monitoring Maildir

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Heinzz
    Junior Member
    • Nov 2011
    • 13

    #1

    Monitoring Maildir

    Hi,

    I have a question about monitoring maildir in linux.
    I want to monitoring how many files there are in the maildir from all users and not to make seperate items for it.

    Thank you,

    Heinzz
  • justinc
    Junior Member
    • Aug 2011
    • 20

    #2
    I am not sure how large your maildir is but if is you can process this fairly quickly then you can use it in a userparameter. If you are getting a response back that is bit slow then use a script called from a cron and use zabbix sender.

    There are many ways you can get this. First thing that comes to mind is a simple find piped to a a line count:
    find /path -type f | wc -l


    Sorry for typos, responding from phone.

    Comment

    Working...