It takes long time... But yeah, monitoring is working now.

If you install Spacewalk from nightly repo:
 http://miroslav.suchy.cz/spacewalk/nightly-candidate/
you should be able to work with monitoring. There are 2 know bugs. Both has known workaround.

[Bug 472895] Monitoring fails to start with new perl-Class-MethodMaker
https://bugzilla.redhat.com/show_bug.cgi?id=472895
In epel is new package of perl-Class-MethodMaker and our code do not work with it. You should downgrade to perl-Class-MethodMaker-1.12 version.

[Bug 474774] Probe details do not show neither graph nor event log
https://bugzilla.redhat.com/show_bug.cgi?id=474774
You must click "Download CVS data" to get collected data.


So - what happen in monitoring code?
There is no new functionality. All changes has been made to comply with Fedora Packaging Guidelines. There are even two first packages in Fedora and Epel (nocpulse-common and perl-Satcon). Other are under Package Review process right now.

What did I changed:
 * There is no code under /opt.
* Configuration files are in /etc/nocpulse (/etc/NOCpulse.ini is still on same place). * Data files are in /var/lib/nocpulse (which homedir of nocpulse user) or /var/lib/notification.
   * Log files are in /var/log/nocpulse or /var/log/notification
   * cgi scripts and html files are in /usr/share/nocpulse
* nocops user has been removed
* SysVinit script are no more symlinks so we support chkconfig and has LSB header so we should support upstart and plymouth * code cleanup - I moved lot of code, which we do not use into monitoring/NOT-USED and monitoring/PerlModules/NP/NOT-USED. These packages contain a lot of useful code, therefore I do not want to delete. We may use it someday.
* And of course SPEC file are far away from previous mess it has been.

We will still have to do one thing. There is nocpulse code in /etc/rc.d/np.d/ and we should move it to /usr/share It *should* be easy. But I'm not 100% sure. And last thing I want to do right now is to destabilize monitoring code for another several weeks. I want to have at least one release of Spacewalk with functional monitoring. After release of 0.4, I plan to do the move /etc/rc.d/np.d/* to %{perl_vendorlib}/NOCpulse/

--
Miroslav Suchy
RHN Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to