• 0

Remote Pings/Port


Question

4 answers to this question

Recommended Posts

  • 0

AFAIK all DataSources run from a collector due to the agentless design of LogicMonitor. Since you can write DataSources as scripts, you can have the collector remote into the other system (via SSH or RemotePS for example), run the ping/task remotely then return the results back in LM.

Link to post
Share on other sites
  • 0
  • Administrators

I've seen one for Linux (via ssh) and one for Windows (posh) in one of our demos. Right now they don't have active discovery so you'd have to add the instances manually. Let me play with them a bit to see if I can make it so that you can specify the list of destinations via a property. Stand by...

Link to post
Share on other sites
  • 0
7 minutes ago, Stuart Weenig said:

I've seen one for Linux (via ssh) and one for Windows (posh) in one of our demos. Right now they don't have active discovery so you'd have to add the instances manually. Let me play with them a bit to see if I can make it so that you can specify the list of destinations via a property. Stand by...

Yeah, this could be accomplished with ssh or remote powershell. Would just require some extra work in adding manual instances and having proper permissions.

Link to post
Share on other sites
  • 0
  • Administrators

Ok, try these out: https://github.com/sweenig/remote-ping-dataSource 

For Windows, as long as other PowerShell based DataSources work, this one should work.

For Linux, ssh.user/ssh.pass or ssh.user/ssh.cert are needed.

For ALL, a custom property (which can be applied on a device level or any parent level) called ping.targets needs to be added in the following format:

google:8.8.8.8,gateway:192.168.1.1,server:192.168.1.100,KMC:10.0.86.46

The above example will result in four instances named "google", "gateway", "server", and "KMC". The IP address for each item will be pinged, in parallel, and the results brought into the DS. You could set this on a group containing both Windows servers and Linux servers since the property is named the same for both.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.