Closed

FreePBX Trixbox email script on reboot/reload

This project was awarded to meral for $100 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$30 - $250 USD
Total Bids
5
Project Description

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"

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

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online