qmexnetworks / cmk-pusher-agent

Push Agent for Check_MK
5 stars 2 forks source link

IP Address of remote machine #4

Open Luca65ZZ opened 5 years ago

Luca65ZZ commented 5 years ago

Hi all, due to our internal needed, we need to get the "real" IP address of remote host, but, inside the "dump" file, I can't get this info. Please, may you tell me if it should be possible to get also this info and include it inside the "dump" file sent to check MK system? Many thanks in advance ;-) Ciao! LUCA

qmex-mp commented 5 years ago

Nothing easier than that: 2018-11-14_18-30-02

Change the json.php and the check/cmk_pusher for the new ones.

qmex-mp commented 5 years ago

The json.api uses the IP from the Client from which the Call comes from.

Luca65ZZ commented 5 years ago

Many thanks. I'll update all files and ... I'll update you about results ;-) Thanks again! Ciao! LUCA

Luca65ZZ commented 5 years ago

Hi qmex, just to update you about IP address from client: all is working fine! :-) Thanks again! LUCA

gurubert commented 5 years ago

When you deploy the HW/SW-Inventory agent plugin of checkmk, you get all the network interface information including the IP addresses