المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : الان حل مشكلة الرسائل



Chakira
11-02-2013, بتوقيت غرينيتش 12:47 AM
السلام عليكم ورحمه الله وبركاته

اليوم اقدم لكم طريقة حل مشكلة الرسائل

بسم الله الرحمن الرحيم

اول شىء نحمل البرنامج عن طريق هذا الكود code :




wget http://www.r-fx.org/downloads/sim-current.tar.gz
نفك ضغط البرنامج عن طريق هذا الكود code :


tar -xzvf sim-current.tar.gz



بعدها :


cd sim-2.5-3
ثم نعطى امر التنصيب setup :


./setup -i



قم بالضغط على مفتاح انتر وعندما ترى الكلمة MORE اضغط زرار مسافة ثم enter
ثانيا وعندما ترى الكلمة MORE اضغط زرار مسافة ثم enter

Where is SIM installed ?
/usr/local/sim
هنا بيسالك عل مكان التنصيب setup اختار انتر

Press Enter

Where should the sim.log file be created ?
/usr/local/sim/sim.log

هنا بيسالك عن مكان اللوج بتاعت البرنامج اضغط انتر

Press Enter

Max size of sim.log before rotated ? (value in KB)
[128]:

Type: 512

غير الرقم من 128 ل 512 وقم بالضغط على مفتاح انتر

Press Enter

The larger the file the more SIM (System Integrity Monitor) logs we can view. This is good for looking back.
Where should alerts be emailed to ? (e.g: root, user@domain)
[root]:

اكتب اميلك ويفضل ان يكون على موقع على سيرفر SERVER اخر بحيث لو كان هناك مشكلة فى سيرفر SERVERكى وقم بالضغط على مفتاحا انتر
Type: youreamil@yourdaomin (One off server would be more secure.)

Press Enter

Disable alert emails after how many events, to avoid email flood ?
(Note: events stats are cleared daily)
[8]:

اضغط انتر

Press Enter

The below are configuration options for Service modules:
press return to continue...

اضغط انتر

Press Enter

Auto-restart services found to be offline ? (true=enable, false=disable)

[true]: اكتب true و اضغط انتر

Press Enter

Enforce laxed service checking ? (true=enable, false=disable)
[true]: اكتب true و اضغط انتر

Press Enter

Disable auto-restart after how many downed service events ?
(Note: events stats are cleared daily)

[10]: اضغط انتر

Press Enter

Enable FTP service monitoring ? (true=enable, false=disable)

[false]: اكتب false و اضغط انتر

Press Enter

Enable HTTP service monitoring ? (true=enable, false=disable)
[false]: اكتب true و اضغط انتر

Type: true

Press Enter

Enable DNS service monitoring ? (true=enable, false=disable)
[false]: لو انت تستخدم لوحة تحكم انسايم اضغط انتر فقط لو لوحة اخرى اكتب true ثم انتر

Type: true (if you are running ensim do not type true just press enter)

Press Enter

Enable SSH service monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم اضغط انتر
Type: true

Press Enter

Enable MYSQL service monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم انتر

Type: true

Press Enter

Enable SMTP service monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم انتر
Type: true

Press Enter

TCP/IP port that SMTP operates on ?
[25]: اضغط انتر

Press Enter

Enable XINET service monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم انتر
Type: true

Press Enter

TCP/IP port that any XINET service operates on (e.g: pop3, 110) ?
[110]: اضغط انتر

Press Enter

Enable ENSIM service monitoring ? (true=enable, false=disable)
[false]: اضغط انتر

Press Enter

Enable PGSQL service monitoring ? (true=enable, false=disable)

[false]: اضغط انتر

After an unclean HTTP shutdown, semaphore array's may remain allocated
and cause the service to fall into a looping restart cycle. Using this
feature clears semaphore arrays on HTTP restart.
Enable semaphore cleanup ?
[false]: اضغط انتر

Press Enter

This is an implamented feature in the http module, its purpose is to
determine if/when the apache server locks up or otherwise stops



responding.
Enable URL aware monitoring ?
اكتب true ثم اضغط انتر

Type: true
Press Enter

URL path to a local file ? (exclude HTTP://)
Note: This URL should be valid and reside on the local server, otherwise
HTTP will loop restarting
[127.0.0.1/index.html]:
غيرها لأسم موقع مثلا egyhat.com/index.htmlواضغط انتر
Type: site.com/index.html that resides on your local server
Press Enter

HTTP log files can grow large and cause the service to crash
(segfault), this feature will keep the main HTTP logs incheck.
Enable HTTP log monitor ?

[false]:اضغط انتر

Press Enter

MySQL uses a /tmp symlink of its mysql.sock socket file. This
feature verifies that the symlink exists from the main mysql.sock
file, and if not it is recreated.
Enable MySQL Socket correction ?
[false]:اضغط انتر

Press Enter

Enable NETWORK monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم انتر

Type: true
Press Enter

interface to monitor ?
[eth0]: اضغط انتر

Press Enter

Enable LOAD monitor ? (true=enable, false=disable)
[false]: اكتب true ثم اضغط انتر

Type: true
Press Enter

Load level before status condition 'warning' ?
[25]: اكتب 5 واضغط انتر

Type: 5
Press Enter

Load level before status condition 'critical' ?
[45]: هنا ححد الرقم الى بيصل ليه اللود يكون عالى بحيث ينبهك البرنامج مثلا هنختار 10 يمكنك تغيرها حسب رغبتك ونضغط انتر بعدها

Type: 10
Press Enter

Enable a global (wall) message at status condition 'warning' & 'critical' ?
[false]: اضغط انتر
Press Enter

Renice services at status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]: اضغط انتر
Press Enter

Stop nonessential services at status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]: اضغط انتر
Press Enter

Reboot system on status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]: اضغط انتر
Press Enter

Now the SIM (System Integrity Monitor) has been configured we will add a cron. هنا هنضيف البرنامج فى الكرون جوب ليؤدى عمله وانت غير موجود بالسيرفر SERVER عن طريق ./setup -c لو ظهر لنا الكلمة Removed SIM cronjob اكتب دى تانى ./setup -c كده لازم يكون ضافه للكرون جوب .
Type: ./setup -c
If it says "Removed SIM cronjob." then you must type it again.
Type: ./setup -c
Now it should say Installed SIM cronjob.
بسم الله الرحمن الرحيم

اول شىء نحمل البرنامج عن طريق هذا الكود code :




wget http://www.r-fx.org/downloads/sim-current.tar.gz
نفك ضغط البرنامج عن طريق هذا الكود code :


tar -xzvf sim-current.tar.gz



بعدها :


cd sim-2.5-3
ثم نعطى امر التنصيب setup :


./setup -i



قم بالضغط على مفتاح انتر وعندما ترى الكلمة MORE اضغط زرار مسافة ثم enter
ثانيا وعندما ترى الكلمة MORE اضغط زرار مسافة ثم enter

Where is SIM installed ?
/usr/local/sim
هنا بيسالك عل مكان التنصيب setup اختار انتر

Press Enter

Where should the sim.log file be created ?
/usr/local/sim/sim.log

هنا بيسالك عن مكان اللوج بتاعت البرنامج اضغط انتر

Press Enter

Max size of sim.log before rotated ? (value in KB)
[128]:

Type: 512

غير الرقم من 128 ل 512 وقم بالضغط على مفتاح انتر

Press Enter

The larger the file the more SIM (System Integrity Monitor) logs we can view. This is good for looking back.
Where should alerts be emailed to ? (e.g: root, user@domain)
[root]:

اكتب اميلك ويفضل ان يكون على موقع على سيرفر SERVER اخر بحيث لو كان هناك مشكلة فى سيرفر SERVERكى وقم بالضغط على مفتاحا انتر
Type: youreamil@yourdaomin (One off server would be more secure.)

Press Enter

Disable alert emails after how many events, to avoid email flood ?
(Note: events stats are cleared daily)
[8]:

اضغط انتر

Press Enter

The below are configuration options for Service modules:
press return to continue...

اضغط انتر

Press Enter

Auto-restart services found to be offline ? (true=enable, false=disable)

[true]: اكتب true و اضغط انتر

Press Enter

Enforce laxed service checking ? (true=enable, false=disable)
[true]: اكتب true و اضغط انتر

Press Enter

Disable auto-restart after how many downed service events ?
(Note: events stats are cleared daily)

[10]: اضغط انتر

Press Enter

Enable FTP service monitoring ? (true=enable, false=disable)

[false]: اكتب false و اضغط انتر

Press Enter

Enable HTTP service monitoring ? (true=enable, false=disable)
[false]: اكتب true و اضغط انتر

Type: true

Press Enter

Enable DNS service monitoring ? (true=enable, false=disable)
[false]: لو انت تستخدم لوحة تحكم انسايم اضغط انتر فقط لو لوحة اخرى اكتب true ثم انتر

Type: true (if you are running ensim do not type true just press enter)

Press Enter

Enable SSH service monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم اضغط انتر
Type: true

Press Enter

Enable MYSQL service monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم انتر

Type: true

Press Enter

Enable SMTP service monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم انتر
Type: true

Press Enter

TCP/IP port that SMTP operates on ?
[25]: اضغط انتر

Press Enter

Enable XINET service monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم انتر
Type: true

Press Enter

TCP/IP port that any XINET service operates on (e.g: pop3, 110) ?
[110]: اضغط انتر

Press Enter

Enable ENSIM service monitoring ? (true=enable, false=disable)
[false]: اضغط انتر

Press Enter

Enable PGSQL service monitoring ? (true=enable, false=disable)

[false]: اضغط انتر

After an unclean HTTP shutdown, semaphore array's may remain allocated
and cause the service to fall into a looping restart cycle. Using this
feature clears semaphore arrays on HTTP restart.
Enable semaphore cleanup ?
[false]: اضغط انتر

Press Enter

This is an implamented feature in the http module, its purpose is to
determine if/when the apache server locks up or otherwise stops
responding.
Enable URL aware monitoring ?
اكتب true ثم اضغط انتر

Type: true
Press Enter

URL path to a local file ? (exclude HTTP://)
Note: This URL should be valid and reside on the local server, otherwise
HTTP will loop restarting
[127.0.0.1/index.html]:
غيرها لأسم موقع مثلا egyhat.com/index.htmlواضغط انتر
Type: site.com/index.html that resides on your local server
Press Enter

HTTP log files can grow large and cause the service to crash
(segfault), this feature will keep the main HTTP logs incheck.
Enable HTTP log monitor ?

[false]:اضغط انتر

Press Enter

MySQL uses a /tmp symlink of its mysql.sock socket file. This
feature verifies that the symlink exists from the main mysql.sock
file, and if not it is recreated.
Enable MySQL Socket correction ?
[false]:اضغط انتر

Press Enter

Enable NETWORK monitoring ? (true=enable, false=disable)
[false]: اكتب true ثم انتر

Type: true
Press Enter

interface to monitor ?
[eth0]: اضغط انتر

Press Enter

Enable LOAD monitor ? (true=enable, false=disable)
[false]: اكتب true ثم اضغط انتر

Type: true
Press Enter

Load level before status condition 'warning' ?
[25]: اكتب 5 واضغط انتر

Type: 5
Press Enter

Load level before status condition 'critical' ?
[45]: هنا ححد الرقم الى بيصل ليه اللود يكون عالى بحيث ينبهك البرنامج مثلا هنختار 10 يمكنك تغيرها حسب رغبتك ونضغط انتر بعدها

Type: 10
Press Enter

Enable a global (wall) message at status condition 'warning' & 'critical' ?
[false]: اضغط انتر
Press Enter

Renice services at status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]: اضغط انتر
Press Enter

Stop nonessential services at status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]: اضغط انتر
Press Enter

Reboot system on status condition 'warning' or 'critical' ?
(3 values - warn, crit, false - false=disabled)
[false]: اضغط انتر
Press Enter

Now the SIM (System Integrity Monitor) has been configured we will add a cron. هنا هنضيف البرنامج فى الكرون جوب ليؤدى عمله وانت غير موجود بالسيرفر SERVER عن طريق ./setup -c لو ظهر لنا الكلمة Removed SIM cronjob اكتب دى تانى ./setup -c كده لازم يكون ضافه للكرون جوب .
Type: ./setup -c
If it says "Removed SIM cronjob." then you must type it again.
Type: ./setup -c
Now it should say Installed SIM cronjob.

والسموحة ادا الموضوع مكتوب من قبل




https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى