|
We are currently trying to get bb2ns (v1.1) to receive bb messages from bbproxy.
Mostly we are doing fine, but we have issues in some special cases.
1) Combo format messages:
Some messages are sent in a combo format, whis is a container for several status messages (each separated by two \n).
2) Page format messages:
Some messages are in a "page" format, but looks like a regular status message (instead of "status" the first characters of the message simply says "page").
3) Parsing error conditions in messages:
12:53 status fqdn,tld.disk red Thu Apr 12 12:53:18 RDT 2007 [fqdn.tld]
&red /FIXED/C/ (83%) has reached the PANIC level (25%)
Filesystem 1K-blocks Used Avail Capacity Mounted
C 10240783 8568695 1672088 83% /FIXED/C ()
D 43084780 34119380 8965400 79% /FIXED/D (New Volume)
12:53 Incoming message received
The date format parses up OK, but we have an empty pointer for *msg on these alerts - which means that writing the HTML fails and the daemon breaks down when beginning to operate on the msg (around line 455).
Do you have any suggestions for us to consider?
|