Comments
-
Bumping again! As a newcomer to SolarWinds, I couldn't believe that this isn't available!
-
That's great - thanks!
-
Sure: Script accepts parameter like: C:\Log\[dd][MMM][yyyy]_fix_*.log,5 ------------------------------------------------- param([string]$path, [int]$minutes) # Example, change this path to the folder/file type you wish to monitor. # Insert date replacement veriables in []. #$path="c:\temp\Log_[yyyy][MM][dd]*.txt" #$minutes…
-
But that would mean having to have a CP for each server (populated or not according to the logic), which is not practical - especially as the monitoring is via VM, which doesn't require the server to 'exist' in the Orion system. It does look like a limitation within Orion on the Recipient variables (note that the same…
-
That's a right pain! I'll have to dust off the Powershell... Thanks for the resonse, though! Richard
-
No, unfortunately! In fact, the Application Initialization seems to have made things worse…
-
Sorry, may have been unclear... The alert needs to always go to one address, but only sometimes (based on object name) to the second. Picking up the custom proerty as a variable in the recipients is fine - it's the case statement that is giving me grief.
-
Thanks Mesverrum - just tried that, but unfortunately still the same. It just doesn't seem to like accepting the case statement (or indeed anything in parentheses) in the recipient...
-
Worked like a charm this time - thanks for the assist!
-
Hi Jakub, I did try that briefly, but couldn't get it to work and so assumed it was not the correct use! I'll give it another go and report back... Thanks, Richard