Jump to content

Mysql queries for ticket count


Recommended Posts

Hello there,

 

I know that this is a bit off topic, but I would like to monitor my tickets using zabbix. The basic idea is to run a bash script for querying the mysql database of whmcs and then return the ticket count to zabbix.

 

Since I'm not familiar with whmcs database, or even not very familiar with mysql at all, can someone helpme with those queries? (I can handle with the rest, but the queries are a bit complicated for me)

 

I would need to get the counts for tickets:

- Awaiting reply

- All active tickets

- Closed tickets

 

It would also be great if I could get a count for tickets "Awaiting reply" with "High Priority" is this possible?

 

Thank you!

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated