Vivek Khera wrote:
On Jun 28, 2007, at 8:03 AM, Ugo Bellavance wrote:
2- Use a script, using amrstat. But I'd need a direct ssh access and
from what I've seen, when I login using ssh, there is a menu before
having shell access. Could I create another user that wouldn't have a
menu?
write a script that runs amrstat, compares to known good output, and if
not good, sends an SMS to you, or raises an SNMP trap or some kind of
notification.
Ok, I'll have to learnn how snmp traps work, but it is a good start :).
About SMS, how would you send it?
set up the script to run hourly (or daily) via cron. or you can script
it in php and make it a web-loadable page which is pulled on a regular
basis from some other host.
Hmmm, another good idea, but I don't know php and pfsense's web serving
internals yet to do that.
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]