[pfSense Support] alerts on WAN failure

2006-06-13 Thread Raja Subramanian

Hi,

I have a dual WAN setup on a BETA 4 box.  I would like to be
notified when a WAN connection fails.

Is it possible to setup email notification or other?

- Raja

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [pfSense Support] alerts on WAN failure

2006-06-13 Thread Holger Bauer
beta4 doesn't report this, but RC1 is sending some syslog info about the 
monitor IP:

Jun 13 09:33:08 slbd[412]: Service wanpool changed status, reloading 
filter policy
Jun 13 09:33:08 slbd[412]: ICMP poll succeeded for XX.XX.0.1, marking 
service UP
Jun 13 09:33:03 slbd[412]: Service wanpool changed status, reloading 
filter policy
Jun 13 09:33:03 slbd[412]: ICMP poll failed for XX.XX.0.1, marking 
service DOWN
Jun 13 07:58:47 slbd[412]: Service wanpool changed status, reloading 
filter policy

Easiest thing is to send the info to a remote syslogserver that generates the 
email on this event. Mailnotification from the pfSense itself can't be done 
without hacking in some smtp support.

Holger

 -Original Message-
 From: Raja Subramanian [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 13, 2006 9:39 AM
 To: support@pfsense.com
 Subject: [pfSense Support] alerts on WAN failure
 
 
 Hi,
 
 I have a dual WAN setup on a BETA 4 box.  I would like to be
 notified when a WAN connection fails.
 
 Is it possible to setup email notification or other?
 
 - Raja
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


Virus checked by G DATA AntiVirusKit


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [pfSense Support] alerts on WAN failure

2006-06-13 Thread Raja Subramanian

On 6/13/06, Holger Bauer [EMAIL PROTECTED] wrote:

beta4 doesn't report this, but RC1 is sending some syslog info about the 
monitor IP:

Jun 13 09:33:08 slbd[412]: Service wanpool changed status, reloading 
filter policy


All the /var/log/*.log files on my beta 4 box are binary and are
exactly 1 bytes!
How can I read these files?



Easiest thing is to send the info to a remote syslogserver that generates the 
email on this event. Mailnotification from the pfSense itself can't be done 
without hacking in some smtp support.


My pfSense box does not have any other unixen near by for syslog
support.  I would
like to export the syslog messages over RSS, and can submit a patch
for this if others
are also interested.

I would be very thankful if someone can show me how to decipher
/var/log/*.log from php.

Thanks for your time.

- Raja

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [pfSense Support] alerts on WAN failure

2006-06-13 Thread Raja Subramanian

On 6/13/06, Raja Subramanian [EMAIL PROTECTED] wrote:

All the /var/log/*.log files on my beta 4 box are binary and are
exactly 1 bytes!
How can I read these files?


Sorry for posting without doing my homework.  /usr/sbin/clog and
/usr/local/www/guiconf.inc:dump_clog() have the whole story.

- Raja

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [pfSense Support] alerts on WAN failure

2006-06-13 Thread Holger Bauer
There are also no unix syslog solutions like for example 
http://www.kiwisyslog.com/info_syslog.htm if that helps.

Holger

 -Original Message-
 From: Raja Subramanian [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 13, 2006 11:17 AM
 To: support@pfsense.com
 Subject: Re: [pfSense Support] alerts on WAN failure
 
 
 On 6/13/06, Holger Bauer [EMAIL PROTECTED] wrote:
  beta4 doesn't report this, but RC1 is sending some syslog 
 info about the monitor IP:
 
  Jun 13 09:33:08 slbd[412]: Service wanpool changed 
 status, reloading filter policy
 
 All the /var/log/*.log files on my beta 4 box are binary and are
 exactly 1 bytes!
 How can I read these files?
 
 
  Easiest thing is to send the info to a remote syslogserver 
 that generates the email on this event. Mailnotification from 
 the pfSense itself can't be done without hacking in some smtp support.
 
 My pfSense box does not have any other unixen near by for syslog
 support.  I would
 like to export the syslog messages over RSS, and can submit a patch
 for this if others
 are also interested.
 
 I would be very thankful if someone can show me how to decipher
 /var/log/*.log from php.
 
 Thanks for your time.
 
 - Raja
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


Virus checked by G DATA AntiVirusKit


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [pfSense Support] alerts on WAN failure

2006-06-13 Thread Robert Goley
It shouldn't be very had if he wants the pfsense machine to do all the work.  
A simple shell script using grep and msmtp would work.  It could be setup in 
a couple of minutes.  Not sure if msmtp is part of the default freebsd but 
would not be hard to compile at worst.  It would be a great way to implement 
SMTP support from pfsense in general.  It is small and simple to use.  

Robert

On Tuesday 13 June 2006 04:48, Holger Bauer wrote:
 beta4 doesn't report this, but RC1 is sending some syslog info about the
 monitor IP:

 Jun 13 09:33:08   slbd[412]: Service wanpool changed status, reloading
 filter policy Jun 13 09:33:08 slbd[412]: ICMP poll succeeded for
 XX.XX.0.1, marking service UP Jun 13 09:33:03 slbd[412]: Service 
 wanpool
 changed status, reloading filter policy Jun 13 09:33:03   slbd[412]: ICMP
 poll failed for XX.XX.0.1, marking service DOWN Jun 13 07:58:47   
 slbd[412]:
 Service wanpool changed status, reloading filter policy

 Easiest thing is to send the info to a remote syslogserver that generates
 the email on this event. Mailnotification from the pfSense itself can't be
 done without hacking in some smtp support.

 Holger

  -Original Message-
  From: Raja Subramanian [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, June 13, 2006 9:39 AM
  To: support@pfsense.com
  Subject: [pfSense Support] alerts on WAN failure
 
 
  Hi,
 
  I have a dual WAN setup on a BETA 4 box.  I would like to be
  notified when a WAN connection fails.
 
  Is it possible to setup email notification or other?
 
  - Raja
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 
 Virus checked by G DATA AntiVirusKit


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [pfSense Support] alerts on WAN failure

2006-06-13 Thread Bill Marquette

On 6/13/06, Raja Subramanian [EMAIL PROTECTED] wrote:

On 6/13/06, Holger Bauer [EMAIL PROTECTED] wrote:
 beta4 doesn't report this, but RC1 is sending some syslog info about the 
monitor IP:

 Jun 13 09:33:08 slbd[412]: Service wanpool changed status, reloading 
filter policy

All the /var/log/*.log files on my beta 4 box are binary and are
exactly 1 bytes!
How can I read these files?


 Easiest thing is to send the info to a remote syslogserver that generates the 
email on this event. Mailnotification from the pfSense itself can't be done 
without hacking in some smtp support.

My pfSense box does not have any other unixen near by for syslog
support.  I would
like to export the syslog messages over RSS, and can submit a patch
for this if others
are also interested.


It'd be useful if this wasn't done via cron but at the users polling
interval.  ie the rss feed lived at
http(s)://firewallip/rss/system.php (or some such path) and that
displayed the rss on the fly with the correct mime type (you could
presumably also cache it then if needed to save on CPU).

--Bill

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]