I’m a complete newbie …

 

We have problems with amp connection in our environment on a bunch of computers and it is not possible to check every computer. 

 

·         AMP connection is green but the inventory doesn’t work at all (force update also doesn’t work)

·         Restart of AMP-Agent works fine, but after a few minutes the agent status went from green to red again

 

 

We’ve checked firewall (looks fine), telnet to port 52230 (ok), amp.conf (ok) and amp.log (ok).

 

Any idea? Bug?

 

Tia!

 

Amp.log …from my point of view it looks fine ….

 

[

Wed Feb 05 08:11:16 2014] Plugin loaded: pluginWeb with id: 5

[Wed Feb 05 08:11:16 2014] Creating Pipe Server...

[Wed Feb 05 08:11:16 2014] Creating Agent Listener...

[Wed Feb 05 08:11:16 2014] Creating scheduler...

[Wed Feb 05 08:11:16 2014] Creating connection...

[Wed Feb 05 08:11:16 2014] [CreateConn                      ] Amp socket is synchronous ...

[Wed Feb 05 08:11:16 2014] Detect AMP connection: http://mykbox:52230

[Wed Feb 05 08:11:16 2014] [CreateConn                      ] Connection Established ...

[Wed Feb 05 08:11:16 2014] [CreateConn                      ] Agent info: ver=5.5.25198&os=windows&arch=x86&host=myserver&nictype=e&ip=10.24.5.48&mac=00-0C-29-EB-79-AE

[Wed Feb 05 08:11:16 2014] CreateConn: Connection established, resetting retry connection timeout to default

[Wed Feb 05 08:11:16 2014] [CreateConn                      ] Queuing KarrierConnectSend ...

[Wed Feb 05 08:11:16 2014] [CreateConn                      ] calling ConnectionSetEvents()

[Wed Feb 05 08:11:16 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:11:16 2014] [CreateConn                      ] calling PluginsNotify()

[Wed Feb 05 08:11:16 2014] Plugin zero received notification: 2

[Wed Feb 05 08:11:17 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:11:19 2014] Client read 28 bytes

[Wed Feb 05 08:11:19 2014] Client processing 28 bytes

[Wed Feb 05 08:11:19 2014] Header: msgid (18509633); msgType (0)

[Wed Feb 05 08:11:19 2014] Payload: pluginId: RunProcess (6); payloadLen (17)

[Wed Feb 05 08:11:19 2014] Detect WEB connection: https://mykbox

[Wed Feb 05 08:11:21 2014] SSL is not detected

[Wed Feb 05 08:11:21 2014] Detect WEB connection: http://mykbox

[Wed Feb 05 08:11:21 2014] [ClientReadCB                    ] Verify web port config in deferred manner ...

[Wed Feb 05 08:11:21 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:11:22 2014] Got todo item on worker thread

[Wed Feb 05 08:11:22 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:11:42 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:11:43 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:12:03 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:12:04 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:12:24 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:12:25 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:12:45 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:12:46 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:13:06 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:13:07 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:13:27 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:13:28 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:13:48 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:13:49 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:14:09 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:14:10 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:14:30 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:14:31 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:14:51 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:14:52 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:15:12 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:15:13 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:15:33 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:15:34 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:15:41 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18509633, statusCode=0

[Wed Feb 05 08:15:41 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:15:46 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:15:47 2014] Client read 35 bytes

[Wed Feb 05 08:15:47 2014] Client processing 35 bytes

[Wed Feb 05 08:15:47 2014] Header: msgid (18510110); msgType (0)

[Wed Feb 05 08:15:47 2014] Payload: pluginId: RunProcess (6); payloadLen (24)

[Wed Feb 05 08:15:47 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:15:47 2014] Got todo item on worker thread

[Wed Feb 05 08:15:48 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:15:54 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510110, statusCode=0

[Wed Feb 05 08:15:54 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:16:08 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:16:10 2014] Client read 48 bytes

[Wed Feb 05 08:16:10 2014] Client processing 48 bytes

[Wed Feb 05 08:16:10 2014] Header: msgid (18510179); msgType (0)

[Wed Feb 05 08:16:10 2014] Payload: pluginId: RunProcess (6); payloadLen (37)

[Wed Feb 05 08:16:10 2014] Detect WEB connection: https://mykbox

[Wed Feb 05 08:16:11 2014] SSL is not detected

[Wed Feb 05 08:16:11 2014] Detect WEB connection: http://mykbox

[Wed Feb 05 08:16:11 2014] Saving config

[Wed Feb 05 08:16:11 2014] [ClientReadCB                    ] Verify web port config at inventory time ...

[Wed Feb 05 08:16:11 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:16:12 2014] Got todo item on worker thread

[Wed Feb 05 08:16:12 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:16:32 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:16:33 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:16:53 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:16:54 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:17:14 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:17:15 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510179, statusCode=0

[Wed Feb 05 08:17:15 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:17:16 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:17:17 2014] Client read 48 bytes

[Wed Feb 05 08:17:17 2014] Client processing 48 bytes

[Wed Feb 05 08:17:17 2014] Header: msgid (18510312); msgType (0)

[Wed Feb 05 08:17:17 2014] Payload: pluginId: RunProcess (6); payloadLen (37)

[Wed Feb 05 08:17:17 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:17:17 2014] Got todo item on worker thread

[Wed Feb 05 08:17:18 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:17:21 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510312, statusCode=0

[Wed Feb 05 08:17:21 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:17:38 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:17:40 2014] Client read 37 bytes

[Wed Feb 05 08:17:40 2014] Client processing 37 bytes

[Wed Feb 05 08:17:40 2014] Header: msgid (18510367); msgType (0)

[Wed Feb 05 08:17:40 2014] Payload: pluginId: RunProcess (6); payloadLen (26)

[Wed Feb 05 08:17:40 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:17:41 2014] Got todo item on worker thread

[Wed Feb 05 08:17:41 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:17:46 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510367, statusCode=0

[Wed Feb 05 08:17:46 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:01 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:01 2014] Client read 148 bytes

[Wed Feb 05 08:18:02 2014] Client processing 148 bytes

[Wed Feb 05 08:18:02 2014] Header: msgid (18510405); msgType (0)

[Wed Feb 05 08:18:02 2014] Payload: pluginId: Web (5); payloadLen (137)

[Wed Feb 05 08:18:02 2014] [5] kpiRecvPayload: MsgID = 18510405

[Wed Feb 05 08:18:02 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:02 2014] Got todo item on worker thread

[Wed Feb 05 08:18:02 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510405, statusCode=99

[Wed Feb 05 08:18:02 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:03 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:06 2014] Client read 156 bytes

[Wed Feb 05 08:18:06 2014] Client processing 156 bytes

[Wed Feb 05 08:18:06 2014] Header: msgid (18510408); msgType (0)

[Wed Feb 05 08:18:06 2014] Payload: pluginId: Web (5); payloadLen (145)

[Wed Feb 05 08:18:06 2014] [5] kpiRecvPayload: MsgID = 18510408

[Wed Feb 05 08:18:06 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:06 2014] Got todo item on worker thread

[Wed Feb 05 08:18:06 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510408, statusCode=99

[Wed Feb 05 08:18:06 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:07 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:08 2014] Client read 148 bytes

[Wed Feb 05 08:18:08 2014] Client processing 148 bytes

[Wed Feb 05 08:18:08 2014] Header: msgid (18510412); msgType (0)

[Wed Feb 05 08:18:08 2014] Payload: pluginId: Web (5); payloadLen (137)

[Wed Feb 05 08:18:08 2014] [5] kpiRecvPayload: MsgID = 18510412

[Wed Feb 05 08:18:08 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:09 2014] Got todo item on worker thread

[Wed Feb 05 08:18:09 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:09 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510412, statusCode=99

[Wed Feb 05 08:18:09 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:16 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:16 2014] Client read 142 bytes

[Wed Feb 05 08:18:16 2014] Client processing 142 bytes

[Wed Feb 05 08:18:16 2014] Header: msgid (18510428); msgType (0)

[Wed Feb 05 08:18:16 2014] Payload: pluginId: Web (5); payloadLen (131)

[Wed Feb 05 08:18:16 2014] [5] kpiRecvPayload: MsgID = 18510428

[Wed Feb 05 08:18:16 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:17 2014] Got todo item on worker thread

[Wed Feb 05 08:18:17 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510428, statusCode=99

[Wed Feb 05 08:18:17 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:18 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:19 2014] Client read 146 bytes

[Wed Feb 05 08:18:19 2014] Client processing 146 bytes

[Wed Feb 05 08:18:19 2014] Header: msgid (18510432); msgType (0)

[Wed Feb 05 08:18:19 2014] Payload: pluginId: Web (5); payloadLen (135)

[Wed Feb 05 08:18:19 2014] [5] kpiRecvPayload: MsgID = 18510432

[Wed Feb 05 08:18:19 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:20 2014] Got todo item on worker thread

[Wed Feb 05 08:18:20 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510432, statusCode=99

[Wed Feb 05 08:18:20 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:21 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:24 2014] Client read 152 bytes

[Wed Feb 05 08:18:24 2014] Client processing 152 bytes

[Wed Feb 05 08:18:24 2014] Header: msgid (18510438); msgType (0)

[Wed Feb 05 08:18:24 2014] Payload: pluginId: Web (5); payloadLen (141)

[Wed Feb 05 08:18:24 2014] [5] kpiRecvPayload: MsgID = 18510438

[Wed Feb 05 08:18:24 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:24 2014] Got todo item on worker thread

[Wed Feb 05 08:18:24 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510438, statusCode=99

[Wed Feb 05 08:18:24 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:25 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:27 2014] Client read 146 bytes

[Wed Feb 05 08:18:27 2014] Client processing 146 bytes

[Wed Feb 05 08:18:27 2014] Header: msgid (18510443); msgType (0)

[Wed Feb 05 08:18:27 2014] Payload: pluginId: Web (5); payloadLen (135)

[Wed Feb 05 08:18:27 2014] [5] kpiRecvPayload: MsgID = 18510443

[Wed Feb 05 08:18:27 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:18:28 2014] Got todo item on worker thread

[Wed Feb 05 08:18:28 2014] KACE Agent Lib: main: kpiKmsgrMsgDoneCallback: msgIdDone=18510443, statusCode=99

[Wed Feb 05 08:18:28 2014] [ConnectionSetEvents             ] Setting connection callback for READ

[Wed Feb 05 08:18:28 2014] [ConnectionSetEvents             ] Setting connection callback for WRITE

[Wed Feb 05 08:28:07 2014] BOOTUP

 

2 Comments   [ + ] Show Comments

Comments

  • Are you using replication shares? Which k1 server version do you have? We've been seeing a similar error since we updated to v5.5 in which a handful of computers will report an active AMP connection but the "last inventory" is much longer than our check-in interval and forcing an update does not rectify the problem.
  • Can you check the output of KInventory.exe on one of the impacted systems to see if it is getting the inventory locally? Have you tried running "runkbot 4 0" (on demand inventory update) manually on one of the systems?

    We rarely get a situation like this, but it usually requires a full uninstall and reinstall of the agent.
Please log in to comment

Answers

1

Are these also stuck with the force inventory never returning?  I get this quite often and this is my newly canned response:

I have seen this quite often after a new agent is available.  Some machines get messed up in the upgrade and fail to check in perhaps.  Then another machine picks up the IP causing the green light to show up on the old machine that fails the upgrade.

Long story short, I simply ping the machine by name to get the new IP and send the machine an uninstall agent provisioning, then push the install again.  This works most of the time, other times I have to delete the inventory files on the machine to get a cleaner install.

I have seen this quite often after a new agent is available.  Some machines get messed up in the upgrade and fail to check in perhaps.  Then another machine picks up the IP causing the green light to show up on the old machine that fails the upgrade.

Long story short, I simply ping the machine by name to get the new IP and send the machine an uninstall agent provisioning, then push the install again.  This works most of the time, other times I have to delete the inventory files on the machine to get a cleaner install.

- See more at: http://www.itninja.com/question/wrong-ip-address#sthash.UW7MsPjv.dpuf

I have seen this quite often after a new agent is available.  Some machines get messed up in the upgrade and fail to check in perhaps.  Then another machine picks up the IP causing the green light to show up on the old machine that fails the upgrade.

Long story short, I simply ping the machine by name to get the new IP and send the machine an uninstall agent provisioning, then push the install again.  This works most of the time, other times I have to delete the inventory files on the machine to get a cleaner install.

- See more at: http://www.itninja.com/question/wrong-ip-address#sthash.UW7MsPjv.dpuf
Answered 02/07/2014 by: worzie
Second Degree Green Belt

Please log in to comment
1

do you have the agents up to date with the server.  This was a problem for us on machines with the 5.3 clients and were are at 5.5 on server

Answered 02/07/2014 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity