View Full Version : Monitoring Apache2
I have seen that when you run apache 2 Zabbix is not recognise it as a running proces.
Normally you check this with "check_service[http]" but this doesn't seem to work with Apache2.
Any idea ?
On some boxes it's working and on some boxes it isn't.
jpawlowski
18-05-2005, 11:49
make sure you are monitoring the correct process name. for apache and apache2 it is httpd (have a look to the last character)
regards,
Julian
make sure you are monitoring the correct process name. for apache and apache2 it is httpd (have a look to the last character)
regards,
Julian
I have tried httpd and it wasn't supported by the agent. On another box with the same configuration it was.
A thing that I aslo can't figure out is that when port 80 is available that it's shown as down
jpawlowski
18-05-2005, 13:21
ah i see your problem...
you should better use proc_cnt to monitor the number of processes as you you can take it for every daemon. check if the current state is >0 and the server is up, if it's 0, no process is running and therefore the server is down.
That's a good option indeed ! The option you gave me here was automaticly added by the template. So I think I will just customize everything on the servers I need.
Thnx !
jpawlowski
18-05-2005, 15:52
no problem!
anyhow, it's only RT(F)M
:-)
best regards,
jP
no problem!
anyhow, it's only RT(F)M
:-)
best regards,
jP
Already done that, but was wondering why there were 2 versions of apache-monitoring :)
jpawlowski
18-05-2005, 16:00
:-)
There are always a lot of roads leading to Rome.
:-)
There are always a lot of roads leading to Rome.
Indeed, but you need to get the best and quiest one that leads to your target :p