[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     [nocol-users] snips 1.0 notifier problem

Title: Message
Hi!  I'm seeing all kinds of messages in my snips error log, so I decided to debug it a little bit.. and I found what appears to be data corruption .. I can't imagine that the raw data is corrupt, because the snipstv and web interface show it all correctly.. but the notifier is hosed.
 
inside processevents() I added the following lines right after "my %event = unpack_event($event);"
 
        my $key;
        foreach $key (keys %event) {
                print "$key: $event{$key}\n";
        }
and here's what I'm seeing:
 
eventtime: p
device_addr: 10.31.5.2
var_value: 5
var_threshold: 3
state: 1
device_subdev:
var_name: ICMP-ping
polltime: <80>
rating: 224
op:
loglevel: 4
device_name: nocol-gw.int
severity: 4
var_units: Pkts
id: ^A
sender: ippingmon
eventtime: °
device_addr: 10.31.5.2
var_value: 0
var_threshold: 100
state: 1
device_subdev:
var_name: ICMP-RTT
polltime: <80>
rating: 224
op:
loglevel: 4
device_name: nocol-gw.int
severity: 4
var_units: msecs
id: ^A
sender: ippingmon
etc ..
 
notice how some of the fields are fine, but others are totally bogus.
 
This is running on a RedHat 7.0 (fully-updated) system.  Perl is self-built version 5.6.1 - not the included 5.6.0.
 
Help! :-)
 
Thanks -
 
    -=| Ben