Log in

View Full Version : Email me if Server Load = ?


mikeinjersey
01-31-2009, 05:00 PM
Anybody know if there is a mod out there for vBulletin that can email me if my server load goes over a particular level ?

--------------- Added 1233450474 at 1233450474 ---------------

somebody's gotta know... no?

Dismounted
02-03-2009, 07:11 AM
I think you may want something like a shell script that monitors this (Google should help with this). It would be more efficient, and would not depend on people browsing your site (like scheduled tasks).

mikeinjersey
02-03-2009, 02:17 PM
I found one... not sure if im suppose to post links here but -

https://forums.misdivision.com/showthread.php?t=703

anybody know where the main default /scripts/ folder is on a linux / CentOs system ? Its something I never needed to use beforehand.

I have root access to all.

gmerin
02-03-2009, 04:41 PM
I found one... not sure if im suppose to post links here but -

https://forums.misdivision.com/showthread.php?t=703

anybody know where the main default /scripts/ folder is on a linux / CentOs system ? Its something I never needed to use beforehand.

I have root access to all.

its a unix/solaris (centos is basically solaris on RH) system so if you don't already have a scripts directory just make one, and modify the line in your crontab to point to the directory location.

mikeinjersey
02-03-2009, 05:13 PM
its a unix/solaris (centos is basically solaris on RH) system so if you don't already have a scripts directory just make one, and modify the line in your crontab to point to the directory location.

The script folder is probably there, I just dont know the path. What is the general path of the common script folders.. like usr/local/etc/ , etc .. ? so I generally know where to look..to find it. is that the same as cgi-bin ?

Dismounted
02-04-2009, 07:01 AM
You can place your script in any directory. You just need to allow it to be executed. However, if you are running cronjobs, there are several cron folders located in /etc (usually).