Skip to main content

CSF bug with whm-server-status

Comments

12 comments

  • cPRex Jurassic Moderator

    Hey there!  This is a known issue we're tracking through case CPANEL-54008 and we hope to have this fixed as part of the next CSF update!

    I've linked this thread to the case so I'll be sure to post an update if I hear anything on my end.

    1
  • bellwood

    Thanks Rex Hatt

    0
  • cPRex Jurassic Moderator

    Anytime!

    0
  • dscreative

    Any idea when this is likely to be fixed? The apache status reports are very useful for seeing what was causing the high load average, and at present we can't take any action to try to stop the problems as we don't know what is causing them. It seems like this would be fairly straight-forward to correct.

    1
  • cPRex Jurassic Moderator

    Let me reach out to the team and I'll let you know what I find!

    0
  • cPRex Jurassic Moderator

    It looks like the specific CSF team leader I wanted to speak with is out today so I may not hear about this until tomorrow, but I'll be sure to post then.

    0
  • chris matthews

    This worked for us, first edit csf.conf and change :

    PT_APACHESTATUS = "http://127.0.0.1/whm-server-status"

    to read:

    PT_APACHESTATUS = "http://127.0.0.1/server-status"

    Save and restart csf

    Next, in WHM open the Apache configuration and click on  the include editor, in the pre-main drop down menu select your apache version and add the following:

    <Location /server-status>
        SetHandler server-status
        Require local
        Require ip 127.0.0.1
    </Location>

    save and restart apache.

    Done!

    0
  • cPRex Jurassic Moderator

    chris matthews - that does indeed work, but we want to ensure that there is a long-term solution without the need to adjust files on the server.

    Our team is still looking into this one on my end.

    0
  • chris matthews

    @ cPRex Adjusting files on servers is something system admins frequently do to make things work  :)

    We look forward to seeing that long term solution when your team gets around to it.

    0
  • Reginaldo Bray

    hello,

    We have cpanel 136.0.33 and same issue here:

    STATS: Unable to retrieve Apache Server Status [http://127.0.0.1/whm-server-status?auto&key=REDACTED] - Unable to download: Not Found

    Any updates on this matter?

    Regards,

    Reginaldo Bray

    0
  • cPRex Jurassic Moderator

    It looks like we have a fix in place and it's going through final testing now.

    0
  • Reginaldo Bray

    Thank you cPRex for the update.

    I will wait for the fix.

    Best regards,

    Reginaldo Bray

    0

Please sign in to leave a comment.