How to remove Server Status Items ?

bin_asc

Well-Known Member
Jul 18, 2005
280
0
166
I want to remove server status items, from the server status page.That means removing versions from apache, bind and other services, and also remove the mount points.can anyone tell me how that is done ?

Regards,
Adrian

PS: I searched the forum without luck.
 

jsnape

Well-Known Member
Mar 11, 2002
174
0
316
Not sure, but it would probably involve the main cPanel script, which is binary and cannot be edited without breaking the license agreement. Plus it would be overwritten on the nxt update. You could always edit the pages and remove the tag <cpanel Serverinfo="servicestatus()"> and insert your own status call, or just replace it with static content:

Server Status:

All good <green ball.gif>

If the server is down, the status page will be down.

Or change the link to open your own custom status page

Also some of those version labels are editable just by editing the config file - apache is anyway, but changing the label can break other things. Changing the Apache lable seems to not work well when running mod_security.

***



Locate status.html

/usr/local/cpanel/base/frontend/monsoon/servicestatus.html
/usr/local/cpanel/base/frontend/monsoon/mail/changestatus.html
/usr/local/cpanel/base/frontend/monsoon/cpanelpro/changestatus.html
/usr/local/cpanel/base/frontend/monsoon/status.html
/usr/local/cpanel/base/frontend/x/status.html
/usr/local/cpanel/base/frontend/x/mail/changestatus.html
/usr/local/cpanel/base/frontend/x2/status.html
/usr/local/cpanel/base/frontend/xmail/status.html
/usr/local/cpanel/base/frontend/xmail/mail/changestatus.html
/usr/local/cpanel/base/frontend/xcontroller/infostatus.html
/usr/local/cpanel/base/frontend/xcontroller/menu/info_status.html
/usr/local/cpanel/base/frontend/xcontroller/boxtrapper/changestatus.html
/usr/local/cpanel/base/frontend/bluelagoonadvanced/servicestatus.html
/usr/local/cpanel/base/frontend/bluelagoon/status.html
/usr/local/cpanel/base/frontend/bluelagoon/trunk/status.html
/usr/local/cpanel/base/frontend/default/tests/servicestatus.html
/usr/local/cpanel/base/frontend/Xskin/status.html
 
Last edited: