Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: net::OpenSSH several commands, stdout are mixed up

by Bolemo (Acolyte)
on Sep 17, 2020 at 23:24 UTC ( #11121886=note: print w/replies, xml ) Need Help??


in reply to Re^3: net::OpenSSH several commands, stdout are mixed up
in thread net::OpenSSH several commands, stdout are mixed up

Yes, I am sure that you put exactly your finger on the issue.

Since the output is the same on the remote host than on the SSH slave sessions, the problem is not Net::OpenSSH or even Perl related. It is really about this busybox traceroute implementation on the host and therefore outside the scope of this very helpful place ;)

I was able to solve (avoid) the problem by having the Smokeping using only one instance at a time for that custom probe, so no multiplexed ICMP return packets can be mixed up by traceroute on the host.

By the way, this Net::OpenSSH module is great (thanks Salva for it) and use very little CPU on the local device and the remote host. I started by simply changing the TraceroutePing probe to use ‘ssh user@host traceroute etc...’ instead of ‘traceroute etc...’. It worked but the toll on local and remote CPUs was very bad.

  • Comment on Re^4: net::OpenSSH several commands, stdout are mixed up

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11121886]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2021-05-16 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (152 votes). Check out past polls.

    Notices?