On 14-02-09 02:21 PM, David QuayCendre wrote:
Hello,
I'm looking for monitoring on the left space on my pfSense hard drive.
I found this shell script :
http://bash.cyberciti.biz/monitoring/shell-script-monitor-unix-linux-diskspace/
It seem works but the mail fonction not exist !
psSense shell says : mail: not found
I'm just looking for a little sript or solution.
Do you have already monitor free space ?
Can we send mail in the shell ?
1. It's displayed on the main Dashboard, down at the bottom: "Disk usage"
2. (I think) It's available via SNMP, if you have that turned on.
3. No, you can't send mail via the "mail" command, however pfSense comes
with a different command that you *could* use if you're dead set on
sending email from the firewall, /usr/local/bin/mail.php. It requires
that you have an SMTP server configured correctly under
System->Advanced->Notifications.
--
-Adam Thompson
[email protected]
_______________________________________________
List mailing list
[email protected]
http://lists.pfsense.org/mailman/listinfo/list