Yes i can do a ping from Router 1. My router is a linux machine so i can do a simple ping. But i dont know how i can do with inciga. I installed the icinga2 angent in Router1 but not sure how i can say to the agent in the Router1 to ping the Router2.
Ah, this “router” being a Linux machine with Icinga installed makes a big
difference
The setting you want to make is “command_endpoint”. That is what determins
where the service check command is run from, so set this to the Icinga
hostname of Router1 and it will do what you want.
I am new to Icinga2. Would You like to guide me about how can I do this configuration at Icinga2? I will be very thankful if you can guide me in this context.