[Spacewalk-list] Enable Monitoring CentOS 5.2

Clifford Perry cperry at redhat.com
Thu Sep 18 13:05:49 UTC 2008


Anze Marincic wrote:
>
> Hi!
>
> Is there step-by-step guide how to enable monitoring ?

Hi - Monitoring in Spacewalk 0.2 is known to not be working.

Known issues
* upgrading from 0.1 to 0.2 will be available soon
* monitoring is borked in 0.2 release
* Spacewalk running on Fedora moved to 0.3

I'm sorry to say that until I know we have fixed Monitoring in our code 
repo's I will say that the above statement will remain true :/

We are working on getting this fixed over the next few weeks, we may be 
able to offer fixed packages prior to Spacewalk 0.3 (that is my desire).

Cliff

> I really can not make it to work ...
> I am out of idea what else I could do ...
>
> Output of /etc/init.d/rhn-satellite start
> Starting rhn-satellite...
> Starting rhn-database:                                     [  OK  ]
> Starting RHN Taskomatic...
> Starting tomcat5:                                          [  OK  ]
> Starting satellite-httpd:                                  [  OK  ]
> 2008-09-17 21:16:19 Monitoring: Debug level = 0
> 2008-09-17 21:16:19 Monitoring: Switches: start
> 2008-09-17 21:16:19 Monitoring: STARTING...
> 2008-09-17 21:16:19 InstallSoftwareConfig: STARTING...
> 2008-09-17 21:16:19 InstallSoftwareConfig: Grabbing local config info
> 2008-09-17 21:16:19 InstallSoftwareConfig:         !! Reference to 
> nonexistent macro 'NPVAR'
>
> 2008-09-17 21:16:19 InstallSoftwareConfig: START HAD ERRORS
> 2008-09-17 21:16:19 InstallSoftwareConfig: ============ STATUS 
> ===============
> 2008-09-17 21:16:19 InstallSoftwareConfig: Last action: start
> 2008-09-17 21:16:19 InstallSoftwareConfig: WARNING: STARTED BUT *NOT* 
> RUNNING
> 2008-09-17 21:16:19 InstallSoftwareConfig: ERRORS ENCOUNTERED DURING 
> LAST ACTION:
> 2008-09-17 21:16:19 InstallSoftwareConfig:         !! Reference to 
> nonexistent macro 'NPVAR'
>
> 2008-09-17 21:16:19 InstallSoftwareConfig: 
> ===================================
> 2008-09-17 21:16:19 Monitoring:         !! Monitoring configuration 
> load failed
> 2008-09-17 21:16:19 Monitoring:         !! Monitoring configuration 
> not loaded - not starting MOC functions!
> 2008-09-17 21:16:19 Monitoring: START HAD ERRORS
> 2008-09-17 21:16:19 Monitoring: ============ STATUS ===============
> 2008-09-17 21:16:19 Monitoring:    ++++ Monitoring backend 
> functionality is enabled
> 2008-09-17 21:16:19 Monitoring:    ++++ Monitoring scout functionality 
> is enabled
> 2008-09-17 21:16:20 Monitoring: Last action: start
> 2008-09-17 21:16:20 Monitoring: ** Installed for SysV startup **
> 2008-09-17 21:16:20 Monitoring: WARNING: STARTED BUT *NOT* RUNNING
> 2008-09-17 21:16:20 Monitoring: ERRORS ENCOUNTERED DURING LAST ACTION:
> 2008-09-17 21:16:20 Monitoring:         !! Monitoring configuration 
> load failed
> 2008-09-17 21:16:20 Monitoring:         !! Monitoring configuration 
> not loaded - not starting MOC functions!
> 2008-09-17 21:16:20 Monitoring: ===================================
> 2008-09-17 21:16:20 MonitoringScout: Debug level = 0
> 2008-09-17 21:16:20 MonitoringScout: Switches: start
> 2008-09-17 21:16:20 MonitoringScout: STARTING...
> 2008-09-17 21:16:20 InstallSoftwareConfig: ALREADY RUNNING
> 2008-09-17 21:16:20 InstallSoftwareConfig: ============ STATUS 
> ===============
> 2008-09-17 21:16:20 InstallSoftwareConfig: Last action: start
> 2008-09-17 21:16:20 InstallSoftwareConfig: WARNING: STARTED BUT *NOT* 
> RUNNING
> 2008-09-17 21:16:20 InstallSoftwareConfig: ERRORS ENCOUNTERED DURING 
> LAST ACTION:
> 2008-09-17 21:16:20 InstallSoftwareConfig:         !! Reference to 
> nonexistent macro 'NPVAR'
>
> 2008-09-17 21:16:20 InstallSoftwareConfig: 
> ===================================
> 2008-09-17 21:16:20 MonitoringScout: NOTE: Attempting to start scout 
> without configuration refresh
> 2008-09-17 21:16:20 NPBootstrap: STARTING...
> 2008-09-17 21:17:02 NPBootstrap:         !! ERROR FROM SHELL COMMAND:
> 2008-09-17 21:17:02 NPBootstrap:         !! STDOUT: Requesting 
> ?ssk=a8d3b1037b3b
> Error on attempt 1:  Status: '400 URL must be absolute'; content: '400 
> URL must be absolute
> '
> Error on attempt 2:  Status: '400 URL must be absolute'; content: '400 
> URL must be absolute
> '
> Error on attempt 3:  Status: '400 URL must be absolute'; content: '400 
> URL must be absolute
> '
> Error on attempt 4:  Status: '400 URL must be absolute'; content: '400 
> URL must be absolute
> '
> Failed 5 times to get data for this node.
>
> 2008-09-17 21:17:02 NPBootstrap:         !! STDERR:
> 2008-09-17 21:17:02 NPBootstrap:         !! EXIT: 256
> 2008-09-17 21:17:02 NPBootstrap: START HAD ERRORS
> 2008-09-17 21:17:02 NPBootstrap: ============ STATUS ===============
> 2008-09-17 21:17:02 NPBootstrap: Last action: start
> 2008-09-17 21:17:02 NPBootstrap: WARNING: STARTED BUT *NOT* RUNNING
> 2008-09-17 21:17:02 NPBootstrap: ERRORS ENCOUNTERED DURING LAST ACTION:
> 2008-09-17 21:17:02 NPBootstrap:         !! ERROR FROM SHELL COMMAND:
> 2008-09-17 21:17:02 NPBootstrap:         !! STDOUT: Requesting 
> ?ssk=a8d3b1037b3b
> Error on attempt 1:  Status: '400 URL must be absolute'; content: '400 
> URL must be absolute
> '
> Error on attempt 2:  Status: '400 URL must be absolute'; content: '400 
> URL must be absolute
> '
> Error on attempt 3:  Status: '400 URL must be absolute'; content: '400 
> URL must be absolute
> '
> Error on attempt 4:  Status: '400 URL must be absolute'; content: '400 
> URL must be absolute
> '
> Failed 5 times to get data for this node.
>
> 2008-09-17 21:17:02 NPBootstrap:         !! STDERR:
> 2008-09-17 21:17:02 NPBootstrap:         !! EXIT: 256
> 2008-09-17 21:17:02 NPBootstrap: Cluster and node are undefined at 
> this time
> 2008-09-17 21:17:02 NPBootstrap: ===================================
> 2008-09-17 21:17:02 SputLite: STARTING...
> 2008-09-17 21:17:03 SputLite: STARTED OK
> 2008-09-17 21:17:03 SputLite: ============ STATUS ===============
> 2008-09-17 21:17:03 SputLite: Last action: start
> 2008-09-17 21:17:03 SputLite: STARTED and RUNNING
> 2008-09-17 21:17:03 SputLite: GoGo options:
> 2008-09-17 21:17:03 SputLite: --fname=SputLite
> 2008-09-17 21:17:03 SputLite: 
> --command=/opt/home/nocpulse/bin/execute_commands
> 2008-09-17 21:17:03 SputLite: --user=root
> 2008-09-17 21:17:03 SputLite: 
> --hbfile=/opt/home/nocpulse/var/commands/heartbeat
> 2008-09-17 21:17:03 SputLite: --hbfreq=120
> 2008-09-17 21:17:03 SputLite: ===================================
> 2008-09-17 21:17:04 Dequeuer: STARTING...
> 2008-09-17 21:17:05 Dequeuer: STARTED OK
> 2008-09-17 21:17:05 Dequeuer: ============ STATUS ===============
> 2008-09-17 21:17:05 Dequeuer: Last action: start
> 2008-09-17 21:17:05 Dequeuer: STARTED and RUNNING
> 2008-09-17 21:17:05 Dequeuer: GoGo options:
> 2008-09-17 21:17:05 Dequeuer: --fname=Dequeuer
> 2008-09-17 21:17:05 Dequeuer: --command=/opt/home/nocpulse/bin/dequeue
> 2008-09-17 21:17:05 Dequeuer: --user=nocpulse
> 2008-09-17 21:17:05 Dequeuer: --hbfile=/opt/home/nocpulse/var/dequeue.log
> 2008-09-17 21:17:05 Dequeuer: --hbfreq=60
> 2008-09-17 21:17:05 Dequeuer: workingDir=/tmp
> 2008-09-17 21:17:05 Dequeuer: ===================================
> 2008-09-17 21:17:06 Dispatcher: STARTING...
> 2008-09-17 21:17:06 Dispatcher: STARTED OK
> 2008-09-17 21:17:06 Dispatcher: ============ STATUS ===============
> 2008-09-17 21:17:06 Dispatcher: Last action: start
> 2008-09-17 21:17:07 Dispatcher: STARTED and RUNNING
> 2008-09-17 21:17:07 Dispatcher: GoGo options:
> 2008-09-17 21:17:07 Dispatcher: --fname=Dispatcher
> 2008-09-17 21:17:07 Dispatcher: 
> --command=/opt/home/nocpulse/bin/kernel.pl --loglevel 1
> 2008-09-17 21:17:07 Dispatcher: --user=nocpulse
> 2008-09-17 21:17:07 Dispatcher: 
> --hbfile=/opt/home/nocpulse/var/kernel.log
> 2008-09-17 21:17:07 Dispatcher: --hbfreq=300
> 2008-09-17 21:17:07 Dispatcher: --hbcheck=600
> 2008-09-17 21:17:07 Dispatcher: workingDir=/tmp
> 2008-09-17 21:17:07 Dispatcher: ===================================
> 2008-09-17 21:17:08 MonitoringScout:         !! Monitoring 
> configuration load failed
> 2008-09-17 21:17:08 MonitoringScout: START HAD ERRORS
> 2008-09-17 21:17:08 MonitoringScout: ============ STATUS ===============
> 2008-09-17 21:17:08 MonitoringScout:    ++++ Monitoring backend 
> functionality is enabled
> 2008-09-17 21:17:08 MonitoringScout:    ++++ Monitoring scout 
> functionality is enabled
> 2008-09-17 21:17:08 MonitoringScout: Last action: start
> 2008-09-17 21:17:08 MonitoringScout: ** Installed for SysV startup **
> 2008-09-17 21:17:08 MonitoringScout: WARNING: STARTED BUT *NOT* RUNNING
> 2008-09-17 21:17:08 MonitoringScout: ERRORS ENCOUNTERED DURING LAST 
> ACTION:
> 2008-09-17 21:17:08 MonitoringScout:         !! Monitoring 
> configuration load failed
> 2008-09-17 21:17:08 MonitoringScout: ===================================
> Starting rhn-search...
> Done.
>
> Regards,
>
>
> Anže Marinčič
> Customer support
> NIL Data Communications, Tivolska cesta 48,
> 1000  Ljubljana,  Slovenia
>
> Phone +386 1 4746 500              Fax +386 1 4746 501               
> http://www.NIL.si <http://www.nil.si/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


-- 
Clifford Perry
Team Lead, Satellite Engineering
Red Hat, Inc. 
http://www.redhat.com/
+1 919 754 4403
RHCA / RHCE# 805007680128201




More information about the Spacewalk-list mailing list