Benedetto Vassallo wrote:
Hi,
I updated my spacewalk server from 1.2 to 1.3 and every 15 minutes I recive this message.
Did I missed some perl module?

Thank you

===========================================
    Date: Fri, 11 Feb 2011 13:15:01 +0100
    From: Cron Daemon <[email protected]>
Subject: Cron <nocpulse@spacewalk> if [ -e /etc/NOCpulse.ini ] ; then /usr/bin/monitor-queue ALERTS 50 100 2>&1 > /dev/null; fi
      A: [email protected]

Undefined subroutine &NOCpulse::Gritch::get_sendmail called at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Gritch.pm line 408.
============================================



Can you file a bug for this.

I encountered this myself last week in Satellite and planned to write a bug for Satellite (eventually - but my review was not wrapped up yet of a bigger issue). I made a comment with contents:


Minor bug (but fatal)

/usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Gritch.pm

Line 408 needs to be commented out:

        my $sendmail = get_sendmail();

Which stops failure of this code path and stops the cron emails every 15
minutes for notification failing with email:


-------- Original Message --------
Subject: Cron <nocpulse@rlx-1-18>  if [ -e /etc/NOCpulse.ini ] ; then
/usr/bin/monitor-queue ALERTS 50 100 2>&1 > /dev/null; fi
Date: Tue, 8 Feb 2011 09:30:02 -0500
From: [email protected] (Cron Daemon)
To: [email protected]

Undefined subroutine &NOCpulse::Gritch::get_sendmail called at
/usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Gritch.pm line 408.

Now I get these emails from the 5.4.0 Satellite:

-------- Original Message --------
Subject: Possible Notification Meltdown!!!
Date: Tue, 8 Feb 2011 10:15:02 -0500
From: NOCpulse user <[email protected]>
To: [email protected]

ALERTS queue size is 294 at Tue Feb  8 10:15:02 2011

<< Sent by /usr/bin/monitor-queue line 46 on host rlx-1-18.rhndev.redhat.com
(sat 1f81b9bc3ebd, "RHN Satellite Monitoring Scout").
   3 of these messages were filtered since Tue Feb  8 15:00:04 2011 GMT >>



Cliff.

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to