Hello,
I love the simplicity of ssh checks. I have some wireless radios which report some data by SNMP, but there are a few key datapoints that I can only get via ssh.
I have individual ssh checks written for each or 5 items on a test node, and I'm about to roll this out to my whole network.
I was wondering, though, if there's any way to collect multiple values during the same SSH session. It seems silly to do all the setup and teardown work 5 times every 5 minutes on every node...when I could just as easily open one ssh command, run 5 commands, and capture the output of each.
Any ideas?
Thanks!
I love the simplicity of ssh checks. I have some wireless radios which report some data by SNMP, but there are a few key datapoints that I can only get via ssh.
I have individual ssh checks written for each or 5 items on a test node, and I'm about to roll this out to my whole network.
I was wondering, though, if there's any way to collect multiple values during the same SSH session. It seems silly to do all the setup and teardown work 5 times every 5 minutes on every node...when I could just as easily open one ssh command, run 5 commands, and capture the output of each.
Any ideas?
Thanks!
Comment