Does anyone have any experience using Nagios to monitor Matrix websites? I'm trying to use the check_http plugin but all it returns is a 404 error. If I run it in verbose mode it shows the page source but still returns 404.
hi Greg,
Is check_http working on other sites you may have?
I would have nagios request either a __data matrix url, or a static page being served by the same apache (add an apache alias), just becuase it is going to be faster and there is no way matrix will need to render the requested page for you.
Might be worth checking you matrix and apache access and error logs for additional data.
Yes, pointing to another virtual host (one setup in apache and not in matrix) returns a 200 OK status code for the page.
[quote]hi Greg,
Is check_http working on other sites you may have?
I would have nagios request either a __data matrix url, or a static page being served by the same apache (add an apache alias), just becuase it is going to be faster and there is no way matrix will need to render the requested page for you.
Might be worth checking you matrix and apache access and error logs for additional data.[/quote]
Thats very odd. We use nagios to monitor all our sites without issues.
Might help running curl or wget from the command line to see whats up. Maybe the URL you have chosen has a redirect and nagios is not following it? What URL is it?
Running wget returns 200 ok so that seems ok.
[quote]Thats very odd. We use nagios to monitor all our sites without issues.
Might help running curl or wget from the command line to see whats up. Maybe the URL you have chosen has a redirect and nagios is not following it? What URL is it?[/quote]