The most recent content from our members.
Does anyone have any thoughts on speed and/or weight of Perl vs. Bash ( or another shell ) when running script monitors? The included Perl examples seem heavy-handed at best. Eg. the one I'm looking at at the moment just runs some grep and awk commands under the blankets. Surely, this would be better accomplished using…
Hi I haven't used this test before and what i am trying to attempt is to SSH into an appliance with predefined menu options that doesn't accept script commands from perl, sh, bash, etc... that I can tell. I am trying to run a command and see the output returned to know if the appliance is up and operational. I was…
This is the script I use for two application component monitors - NFS Check (makes sure all NFS mounts are mounted), and Inode Check (alerts if over 85% inode usage) but can be customized for many different things. I have an application monitor and an alert that will go off if there is an issue (solarwinds SNMP check only…
I became frustrated after finding a server that wasn't running the standard Perl scripts that are posted on Thwack for log file parsing so I did some googling and hacked together a new Shell script. WARNING: I am a hack scripter so take this with a grain of salt. #!/usr/bin/sh#USAGE: sh ${script} [path] ["string"]#Example:…
Hello, I have one file in a path that contains a string like 12:34:56, like a hhmmss format. I need only the first four digits, i use a substring and obtain 12:34, but a need delete the ":" and get "1234" for use like a statistic. I have this: 1- The path with 12:34:56 2- the substr to get 12:34 i try with…
We are utilizing a perl script for process monitoring that we obtained from the content exchange here on thwack. We utilize a special service account for APM to use when it logs into the linux servers. It is the same service account used for monitoring windows servers as well. We have the service account "locked down" on…
This was a major PITA to track down and create. Thanks to my powershell guy, Jeff and the Power Shell manual provided by SolarWinds, we finally got it! $files = Get-ChildItem \\${IP}\d$; write-host "statistic: " $files.count; write-host "message: " $files; exit(0); Line-by-line: store the command get-childitem <string> in…
I've already contacted Solarwinds support and didn't get anywhere. I was referred from support to the forums, which seems a little backwords to me. Either way, here is my issue/question. Why would a remote schtasks request not work through APM, but a local one will. Specifying credentials doesn't help either. Any ideas or…
It looks like you're new here. Sign in or register to get started.