slansing wrote:It looks like nobody mentioned when they uploaded their plugins that you you need mod status enabled to read the information from apache, one of the plugins says this and I was able to get check_apachestatus.pl working with Nagios now.
<Location /server-status>
SetHandler server-status
#Order Deny,Allow
#Deny from all
#Allow from .example.com
</Location>
And then search for ExtendedStatus and un-comment its line so that it is set to on.
If you are using VI or VIM to edit, you can use the "/" followed by the text you need to search for and hit enter. This will take you to the line it is located on.
Ah that's very good to know! Thank You.
I added that section to the bottom of my file. However, I have no ExtendedStatus text in my config file.
Okay, didn't know we were doing this on a Windows system, we have been walking you through this thinking you were trying to first monitor your localhost, and then a linux apache server sorry for the confusion. I've looked at a couple examples of httpd.conf files on windows apache server's at it looks like ExtendedStatus should be able to be added like this.. right above where we added the handler:
Sorry my appologies, I should have explained it better. I need to approach it in a fair approach, so first of all im trying it on a windows server and then ill be trying it on a Ubuntu.
Ok so I went into httpd.conf and the bottom of the file now looks like