Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

How to lose Carp levels with @CARP_NOT?

by liz (Monsignor)
on Jan 28, 2004 at 21:08 UTC ( #324785=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    our @CARP_NOT = ('Log::Dispatch::Output','Log::Dispatch');
    
  2. or download this
    use Log::Dispatch::Perl;
    
    ...
            Log::Dispatch::_log_to('Log::Dispatch=HASH(0xfc578)','level','
    +alert','name','default','message','This is an alert') called at /usr/
    +local/lib/perl5/site_perl/5.8.3/Log/Dispatch.pm line 74
            Log::Dispatch::log('Log::Dispatch=HASH(0xfc578)','level','aler
    +t','message','This is an alert') called at /usr/local/lib/perl5/site_
    +perl/5.8.3/Log/Dispatch.pm line 22
            Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xfc578)','This is
    + an alert') called at line 7
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://324785]
Approved by xenchu
Front-paged by monktim
help
Chatterbox?
[Corion]: You can only reach me by pager
[Corion]: Maybe the solution would be to launch a cron job every minute that takes two measurements a minute apart and sends a mail if the usage is below on the first and above threshold on the last measurement
[marto]: that's essentially it :)
[marto]: I think the long term solution would be to have sysadmins that do their job, so I don't have to do everything :P
[marto]: they already have an entire BMC patrol system, which they disabled, because it was sending out spurious messages. So rather than fix the issue, or even find out what it was, they turned it off. No messages, can't be any problems, right?
[Corion]: marto: But having open tickets / incidents increases the pressure on them ;) Of course, likely your contract / SLA specifies an upper limit for the number of incidents :-D
[Corion]: marto: Ow ...
[marto]: Corion They don't get into trouble for the number of tickets, or even breached tickets they have
[marto]: which is a core issue with the client
[Corion]: marto: Yeah, I can imagine that

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-01-24 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (203 votes). Check out past polls.