rict;
use warnings;
use bignum;
use base 'Salvation::AnyNotify::Plugin::Graphite::Monitor';
use JSON ();
use Salvation::Method::Signatures;
use constant {
POINT_IDX_TIME => 1,
POINT_IDX_VA
if( scalar( @warnings ) > 0 ) {
my $bus = $core -> bus();
my $json = JSON
-> new()
-> allow_blessed()
-> al
foreach my $warning ( @warnings ) {
$bus -> notify( $warning -> { 'type' }, $json -> encode( $warning ) );
}
}
}
};
}
1;
__END__