Hi,
I've just installed Zabbix to monitor a few servers that I administer. First, I'm surprised at just how powerful Zabbix seems to be - good work developers!
Ok, so I've got a few questions that I hope someone can answer:
I need some clarification on how to create Actions. If I wanted an action that triggers when the FTP server is down, is this correct:
Trigger = "FTP server is down on eStyles"
Trigger value = "TRUE"
What if I want a trigger that alerts me if the FTP server AND the MySQL server is down for example? I'm not quite sure how to do that one.
If I view "Latest Data" for a host, and then view a graph of one of the items (Processor Load for example), nothing is drawn on the graph! Down the bottom of the graph it says "min: 0.04 max:0.27 last: 0.27" so it is getting data. That is for the last 2 hours. If I view the last 12 hours, there is the occasional line drawn on the graph, but it's not a constant line or anything (I can provide a screenshot if you like).
Am I doing something wrong to view the graphs?
Ok, next I want to be SMS'd for some actions. I don't have a GSM modem so I can't use the in-built SMS feature. I know PHP so I can code something up in that to call a third party API to send an SMS, but how do I call the PHP script from Zabbix? Is it fine to put "php -f /path/to/php/file.php" inside a bash script and enter the bash script in to the "Script" media type?
Next, for most actions that I create I want to send myself an e-mail alerting me, but there are a few (ie server down) that I want to be SMS'd as well as e-mailed. Is this possible to do? I had a quick look at it looks like you assign media types to the user, so you can't select more/less media types on a per-action basis? If not, the best I could think of doing would be to create two user accounts for myself - one that has e-mail assigned as a media type, and one that has SMS assigned. That way, if I want an SMS I just assign both users to the action.
What is the best way to check to see if a server is down? My main reason for installing Zabbix was to alert me if any of my servers have gone down so I need to figure this one out
Also, is there any way to simulate the server being down (ie make Zabbix think the server is down, so it triggers the Action etc) just so I can test it? I don't want to have to wait for downtime to find out that I didn't set up the Actions properly!
When the server does go down, is it possible to have one action that will be triggered immediately, and then after about 2 hours is it possible to have another action triggered if the server is still down? It looks like it should be possible but I can't figure out what conditions I need to do it.
And finally, I'm hosting Zabbix on a dev server at home, so the internet connection wont have 100% uptime. What happens if the internet connection here falls over - will Zabbix be able to recognise that and stop monitoring, or will it still trigger alerts for server down etc?
Sorry for the long post, I hope someone can help me out!
I've just installed Zabbix to monitor a few servers that I administer. First, I'm surprised at just how powerful Zabbix seems to be - good work developers!

Ok, so I've got a few questions that I hope someone can answer:
I need some clarification on how to create Actions. If I wanted an action that triggers when the FTP server is down, is this correct:
Trigger = "FTP server is down on eStyles"
Trigger value = "TRUE"
What if I want a trigger that alerts me if the FTP server AND the MySQL server is down for example? I'm not quite sure how to do that one.
If I view "Latest Data" for a host, and then view a graph of one of the items (Processor Load for example), nothing is drawn on the graph! Down the bottom of the graph it says "min: 0.04 max:0.27 last: 0.27" so it is getting data. That is for the last 2 hours. If I view the last 12 hours, there is the occasional line drawn on the graph, but it's not a constant line or anything (I can provide a screenshot if you like).
Am I doing something wrong to view the graphs?
Ok, next I want to be SMS'd for some actions. I don't have a GSM modem so I can't use the in-built SMS feature. I know PHP so I can code something up in that to call a third party API to send an SMS, but how do I call the PHP script from Zabbix? Is it fine to put "php -f /path/to/php/file.php" inside a bash script and enter the bash script in to the "Script" media type?
Next, for most actions that I create I want to send myself an e-mail alerting me, but there are a few (ie server down) that I want to be SMS'd as well as e-mailed. Is this possible to do? I had a quick look at it looks like you assign media types to the user, so you can't select more/less media types on a per-action basis? If not, the best I could think of doing would be to create two user accounts for myself - one that has e-mail assigned as a media type, and one that has SMS assigned. That way, if I want an SMS I just assign both users to the action.
What is the best way to check to see if a server is down? My main reason for installing Zabbix was to alert me if any of my servers have gone down so I need to figure this one out
Also, is there any way to simulate the server being down (ie make Zabbix think the server is down, so it triggers the Action etc) just so I can test it? I don't want to have to wait for downtime to find out that I didn't set up the Actions properly!When the server does go down, is it possible to have one action that will be triggered immediately, and then after about 2 hours is it possible to have another action triggered if the server is still down? It looks like it should be possible but I can't figure out what conditions I need to do it.
And finally, I'm hosting Zabbix on a dev server at home, so the internet connection wont have 100% uptime. What happens if the internet connection here falls over - will Zabbix be able to recognise that and stop monitoring, or will it still trigger alerts for server down etc?
Sorry for the long post, I hope someone can help me out!
Comment