ZabbixImplementationMSNRobotsAlarmThe specific steps are as follows!
First download phpmsnclass_1.9z, for: http://code.google.com/p/phpmsnclass/downloads/list
Use the following method to install
1. Create some folders like:
Mkdir/var/spool/msnbot
Mkdir/var/spool/msnbot/log
Mkdir/var/spool/msnbot/spool
2. Change the attribute for spool folder:
Chmod 777/var/spool/msnbot/spool
Chmod o + t/var/spool/msnbot/spool
3. Put msnbot. php, config. php and msn. class. php to/var/spool/msnbot/, and make msnbot. php executable:
Chmod + x/var/spool/msnbot. php
4. change the setting in config. php
5. Use msnbot. sh as your startup script to execute msnbot after system boot.
6. Change processMsg function in msnbot. php to do whatever you want.
7. If you need to send message to someone, just create a file under/var/spool/msnbot/spool, the filename like '*. msn ',
And the format like test. msn, first line is TO: email1, email2, and the other lines is the message.
After create the file, just change the attribute to 0666, then msnbot will try to send it.
NOTICE: file encoding shocould be a UTF-8 if needed ded non-English word.