Bug 636211
Summary: | monitor-queue doesnt work and is not documented | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Petr Sklenar <psklenar> |
Component: | Monitoring | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hutař <jhutar> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 540 | CC: | cperry, jhutar, jpazdziora, ociencia |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | NPalert-1.126.15-3 perl-NOCpulse-Gritch-1.27.9-3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-21 09:35:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 819081 |
Description
Petr Sklenar
2010-09-21 16:44:39 UTC
Clearing Regression flag. This always been this way. Created man page if commits 1430a68ebeb74542801ed60047cc8fe80352dae6 5a3abbfa337d031c0af11bbb994fb9c5a007b5e4 Cherry picked as commits 68ef362fc4d4eefc20f20a6e41f367e0932ba828 36bfb5a15e71be1d8e6877ef8b9a54d09e182fcd What does rpm -q /usr/share/perl5/Mail/Send.pm print? Could you please check if patching NOCpulse/Gritch.pm with diff --git a/monitoring/PerlModules/NP/Gritch/Gritch.pm b/monitoring/PerlModules/NP/Gritch/Gritch.pm index bddefbb..91cf731 100644 --- a/monitoring/PerlModules/NP/Gritch/Gritch.pm +++ b/monitoring/PerlModules/NP/Gritch/Gritch.pm @@ -406,7 +406,8 @@ sub sendmail { } else { # Use sendmail if (Mail::Mailer::is_exe('sendmail')) { - my $msg = Mail::Send->new(Subject => $subject, To => $recip, From => $self->recipient); + my $msg = Mail::Send->new(Subject => $subject, To => $recip); + $msg->set('From', $self->recipient); my $fh = $msg->open('sendmail'); print $fh $message; $fh->close; fixes the problem on your installation? (In reply to comment #7) > Could you please check if patching NOCpulse/Gritch.pm with > > diff --git a/monitoring/PerlModules/NP/Gritch/Gritch.pm > b/monitoring/PerlModules/NP/Gritch/Gritch.pm > index bddefbb..91cf731 100644 > --- a/monitoring/PerlModules/NP/Gritch/Gritch.pm > +++ b/monitoring/PerlModules/NP/Gritch/Gritch.pm > @@ -406,7 +406,8 @@ sub sendmail { > } else { > # Use sendmail > if (Mail::Mailer::is_exe('sendmail')) { > - my $msg = Mail::Send->new(Subject => $subject, To => $recip, > From => $self->recipient); > + my $msg = Mail::Send->new(Subject => $subject, To => $recip); > + $msg->set('From', $self->recipient); > my $fh = $msg->open('sendmail'); > print $fh $message; > $fh->close; > > fixes the problem on your installation? Fixed in Spacewalk master, 674255758d325b1ce0cca8bff0b684371dc04bec. This issue is resolved with the release of RHN Satellite 5.5. As of September 20th 2012, RHN Satellite 5.5 has been generally available. Release Notes and other 5.5 documentation can be found here: https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/ The associated Errata for the 5.5 release are: 5.5 Satellite GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1296.html 5.5 Upgrade Errata - http://rhn.redhat.com/errata/RHEA-2012-1298.html 5.5 RHN Proxy GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1297.html 5.5 RHN Tools GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1299.html Regards, Clifford - Engineering Manager, Satellite |