FreePBX Trixbox email script on reboot/reload
- Status Closed
- Budget $30 - $250 USD
- Total Bids 5
FreePBX script change
Basically I would like the system to email me anytime somebody makes a change that requires a reload, or the server is rebooted with the IP address of the server that was reloaded or rebooted(Either GUI or command line reload/reboot). I know I will be receiving quite a few emails, however, our team will be flagged that someone has made changes to the system.
I believe the module is /var/lib/asterisk/bin/module_admin reload
There is already sendmail loaded on the servers - /usr/lib/sendmail -oi
Just need the script added to the module_admin so that it emails the team when a reboot or reload occurs. Must happen either from GUI or command line.
You supply the code and we will add it to our servers.
The email should be very short:
To: Support Team
From: Server 1
Subject: Reboot/Reload occured at $time $date
"If easily available, IP adress that initiated the reload or all IP addresses logged in at the time"Get free quotes for a project like this
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online