[Spacewalk-list] Spacewalk 1.5 monitoring probe

trm asn trm.nagios at gmail.com
Fri Jul 29 08:07:12 UTC 2011


Hi List,

I have freshly reinstalled spacewalk 1.5 for my environment. Below are the
some findings.

Server Side:
1)
[root at spacewalk ~]# su - nocpulse
-bash-3.2$ ssh -i /var/lib/nocpulse/.ssh/nocpulse-identity
nocpulse at 192.168.1.100 [spacewalk Server]
Last login: Fri Jul 29 09:44:00 2011 from 192.168.1.222 [spacewalk client]
-bash-3.2$

2)
-bash-3.2$ rhn-catalog
1 ServiceProbe on : Linux: Load

3)
-bash-3.2$ rhn-runprobe --probe 1 --log=all=4
Can't locate object method "hostname" via package
"NOCpulse::Probe::Config::ProbeRecord" at
blib/lib/Class/MethodMaker/Engine.pm (autosplit into
blib/lib/auto/Class/MethodMaker/Engine/new.al) line 941.

4)
Before creating any probe if I do "push scout config" then it's getting
success , but if do same push after creating probe then it's getting failed.

/var/log/nocpulse/execute_commands.log


2011-07-29 13:32:36 96: Starting queue run
2011-07-29 13:32:36 95: Freshening heartbeat file
/var/lib/nocpulse/commands/heartbeat
2011-07-29 13:32:36 104:        Attempting to fetch commands (attempt 0)
2011-07-29 13:32:36 95:         Queue server URL:
https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=a7791abfb8a7&node_id=2&role=lead&version=1.0
2011-07-29 13:32:36 95:         Successfully got command list
2011-07-29 13:32:36 95:         CommandQueueParser parsing 409 bytes
2011-07-29 13:32:36 95:         Parser::parse returning
NOCpulse::CommandQueue=HASH(0x14b27c30)
2011-07-29 13:32:36 95:         CQ::fetch_commands returning
NOCpulse::CommandQueue=HASH(0x14b27c30)
2011-07-29 13:32:36 121:        Fetched 1 commands
2011-07-29 13:32:36 130:        Running command 5
2011-07-29 13:32:36 131:                Command line is:
/usr/bin/scheduleEvents
2011-07-29 13:32:36 95:         Attempting to run command 5
2011-07-29 13:32:36 95:                 Last started: 4; Last completed:  4
2011-07-29 13:32:36 95:         5 is executable (new)
2011-07-29 13:32:36 95:         Executing command ...
2011-07-29 13:32:36 95: Freshening heartbeat file
/var/lib/nocpulse/commands/heartbeat
2011-07-29 13:32:37 95:         Shell command exited with 0 exit status
2011-07-29 13:32:37 95:                 STDOUT:!!! ******* ERROR *******
!!!: NO CONFIG FILE FOR PhysCluster (/etc/rhn/cluster.ini)!!!!
<?xml version="1.0"?>
<sat_config id="a7791abfb8a7" version="1.1">
<step name="requestConfigData">
<status>ok</status>
<message>Nolog probe table synchronized
</message>
</step>
<step name="loadCommandParameters">
<status>ok</status>
</step>
<step name="buildProbeRecordDB">
<status>ok</status>
</step>
<step name="buildProbeDB">
<status>ok</status>
</step>
<step name="generateEvents">
<status>ok</status>
<message>Generated 1 events on satellite</message>
</step>
<step name="schedulerReload">
<status>ok</status>
<message>Scheduler reloaded
</message>
</step>
<status>ok</status>
<message>Scheduler reloaded
</message>
</step>
<status>ok</status>
</sat_config>

2011-07-29 13:32:37 95:                 STDERR:
2011-07-29 13:32:37 154:        Finished with command 5
2011-07-29 13:32:37 157: Finished processing commands
2011-07-29 13:32:37 164: Checking bloat
2011-07-29 13:32:37 195:        I am bloated (162824 kb) and will now
restart myself
2011-07-29 13:32:37 83:
***************************************************************************
2011-07-29 13:32:37 84: Starting command execution daemon for cluster
a7791abfb8a7 node 2
2011-07-29 13:32:37 85:
***************************************************************************
2011-07-29 13:32:37 86: Logging to /var/log/nocpulse/execute_commands.log
2011-07-29 13:32:37 87: Log level: 3
2011-07-29 13:32:37 88: Heartbeat file: /var/lib/nocpulse/commands/heartbeat
2011-07-29 13:32:37 89: Heartbeat frequency: 60 seconds
2011-07-29 13:32:37 90: Restart command: /usr/bin/execute_commands
2011-07-29 13:32:37 96: Starting queue run
2011-07-29 13:32:37 95: Freshening heartbeat file
/var/lib/nocpulse/commands/heartbeat
2011-07-29 13:32:37 104:        Attempting to fetch commands (attempt 0)
2011-07-29 13:32:37 95:         Queue server URL:
https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=a7791abfb8a7&node_id=2&role=lead&version=1.0
2011-07-29 13:32:37 95:         Successfully got command list
2011-07-29 13:32:37 95:         CommandQueueParser parsing 409 bytes
2011-07-29 13:32:37 95:         Parser::parse returning
NOCpulse::CommandQueue=HASH(0x1418c30)
2011-07-29 13:32:37 95:         CQ::fetch_commands returning
NOCpulse::CommandQueue=HASH(0x1418c30)
2011-07-29 13:32:37 121:        Fetched 1 commands
2011-07-29 13:32:37 130:        Running command 5
2011-07-29 13:32:37 131:                Command line is:
/usr/bin/scheduleEvents
2011-07-29 13:32:37 95:         Attempting to run command 5
2011-07-29 13:32:37 95:                 Last started: 5; Last completed:  5
2011-07-29 13:32:37 95:         5 is not executable (old, last started 5,
last completed 5)
2011-07-29 13:32:37 150:        Not executing command 5: 5 is not executable
(old, last started 5, last completed 5)

2011-07-29 13:32:37 154:        Finished with command 5
2011-07-29 13:32:37 157: Finished processing commands
2011-07-29 13:32:37 95: Freshening heartbeat file
/var/lib/nocpulse/commands/heartbeat
2011-07-29 13:32:37 176: No commands executed, sleeping 60 seconds



Any help will be really appreciable.

/\
dE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110729/f6b6bd77/attachment.htm>


More information about the Spacewalk-list mailing list