This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mail command in Astaro?

Hello all!
I have what I think is a stupid question but I cannot seem to find the answer.  My boss' Astaro box at home has been going into states of high CPU usage and I have been tasked with tracking it down.  I have SSH and webadmin access to it.  Anyway I found a nice little script here that can be scheduled as a cron job to email me on the processes that go above a set CPU usage (say 70%).  I have modified it slightly to stop throwing some errors about a defunct process but I am now receiving this error:

./monitorCpuUsage.sh: line 124: mail: command not found

and that leads me to the actual question, what is the command to mail something on Astaro?  I simply want it to send out a report of the high CPU processes whenever the script runs, probably every 5 minutes or so.

If there is an easier way to do this please let me know.  Thanks for your time!!!


This thread was automatically locked due to age.
Parents
  • We have this same need in order to have our RAID controller information sent out to us. We are using HP hardware and Astaro does not have 1st party support for things like HP's SNMP hooks, etc.

    I did notice that perl is available on the server so that might be a viable option.
Reply
  • We have this same need in order to have our RAID controller information sent out to us. We are using HP hardware and Astaro does not have 1st party support for things like HP's SNMP hooks, etc.

    I did notice that perl is available on the server so that might be a viable option.
Children
No Data