Comments
-
P.S. How did you do that anyway?
-
Or..... JB Ah yeah, good one. =)
-
** Update the query to use Nodes.WarrantyDate instead of Nodes.DateAdded. This would do the trick for the trigger: JOIN ContainerMemberSnapshots ON Containers_AlertsAndReportsData.GroupMemberSnapshotID = ContainerMemberSnapshots.ContainerMemberSnapshotID JOIN Nodes ON ContainerMemberSnapshots.EntityID = Nodes.NodeID WHERE…
-
You could use positive lookahead assertion, like this: line vty 0 \d(.*\n)*? transport input ssh(?=\nline) That would stop the regex, provided the next thing to follow were something other than a newline and the word 'line', starting the next directive. It fails if you change the transport to any.
-
if you're running the script in Remote mode, you'll want to test it via a local session on the target system, not a remote session on your system. Does that make sense? Log into the target system and try to run the script locally. Your script is at the mercy of the target system's configuration.
-
They my not have mentioned it because there's the whole separate document on using SAM with PowerShell.
-
Hey now, whitespace is where the happiness in Python scripts live. -- Steven Klassen Developer Analyst @ Loop1 Systems, Inc. http://www.loop1systems.com/
-
You are very welcome. -- Steven W. Klassen Programmer Analyst @ Loop1 Systems http://www.loop1systems.com/ http://www.linkedin.com/in/mrxinu
-
Silly questions (maybe) - are you running it as a particular user? Do you have the impersonate checkbox checked? If so, does that user have access to that path?
-
You are most welcome, sir.
-
Hey joelgarnick! I wrote the O365 templates. Good call on the authentication bit - not quite sure why that was working when I was testing it but I'm glad you worked it out. As for the NoDataAssumingUp, the thinking there was since we're determining health based on events (good, bad or indifferent) if there haven't been…
-
SAM application monitors can be run in local or remote mode. If you're running in local mode it's the local version of PowerShell and its modules that you're relying on. If you're running in remote mode it's the remote system (this also requires some work to set up WinRM between the hosts). If you open up a new PowerShell…
-
Agreed. Since you're pointing at the O365 URL you can associate it with any node you want. Most folks have been creating an external node (purple icon) called "Office 365 Monitoring" or something similar.
-
Is this still something that would have to be requested or has it made the road map and/or a release already?
-
Is there any reason (aside from not knowing the language) that you're not using PowerShell for this (older version of SAM, maybe)? If not, let me know and I'll re-write it for you and post it here. Update: Looking around a bit I found a tasty sample that acts as a TFTP client on its own using ActiveXpert's ActiveSocket…
-
Oh and on the CONTAINS thing - that's a term that you're going to find in user interfaces (because it makes sense that string A can be contained in larger string B) and sometimes also in programming languages like PowerShell ("foobar".Contains('foo')). In SQL the equivalent is LIKE. So it wasn't necessarily wrong - you…
-
cmccurry - you're very welcome! Without knowing how you were going about creating your report it's hard to tell how you could have known the correct column. If you were in the Manage Report interface creating a new SQL report from scratch you're not going to have any visibility into what's possible - you need to bring…
-
I'm with Jiri on this one; impressive! I write code in a lot of languages but I always love it when someone dusts off the old school batch files. What language would you like to see this written in, Casper? Perl, Powershell, Python? Let me know and I'll hammer it out for you.
-
That thread is the epitome of nifty.
-
Brilliant solution ! I especially like the bit about checking for the empty threshold value. That'll avoid the hassle of having to have a threshold for every volume where the generic alert definition would work just fine. - make sure you mark his response as the answer if that works for you.
-
Assuming you're using an advanced alert, simply go to the Time of Day tab and specify that this action (in this case, the e-mail alert) is executed between 6am - 9pm on your chosen days. Any e-mail alerts that you would normally receive outside of these hours (and assuming the alert is still triggered at 6am) will all be…
-
I've just gotten into working with the API in Python recently but I've not come across this with the versions of the modules I'm using. Maybe we can compare notes? (registernode)[sklassen@L1HDSandbox registernode]$ pip listboto3 (1.2.3)botocore (1.3.20)docutils (0.12)jmespath (0.9.0)pip (8.0.2)python-dateutil…
-
Forgive my ignorance, but what's a "buddy drop"? The context makes it sound like a patch but I've never heard the term used before. -- Steven W. Klassen Programmer Analyst @ Loop1 Systems http://www.loop1systems.com/ http://www.linkedin.com/in/mrxinu
-
Ah yeah, I totally missed that they were running them on the same server. The server would need upwards of 16GB of RAM (possibly more) and at least 4 cores to handle both. The other question would be the storage. How's that configured for those drives? NAS, SAN? RAID level?
-
+1 on the RAM question - this is what falls short most often; folks just don't want to buy RAM! =)
-
I flipped a 'select distinct status from nodes' and got them (9 = unmanaged, 11 = external). You know how we roll. =) I was showing filtering to a customer and about the time I said "here are all the numbers you'll need" I had to punctuate with "err, except for these two."
-
Exactly right, but beware - oddly enough the NPM services have that SQL express as a dependency. So go ahead and go through the motions but DO NOT uninstall SQL express. Just turn it down and leave it there.
-
The best way to do it. Copy one of your alert rules and then set it not to alert during the time you are doing recurring maintenance. For us we set our rules not to alert us from 9pm to 1159pm every Thursday. One of the SW guys helped us figured out how to do a recurring maintenance window. As we have reboots every…
-
Two MVPs, no waiting.
-
daniel.west wrote: Awesome, thanks Steven, This query worked within Report Writer, when I accessed the report via Orion NPM I got the following. Being an SQL noob, I could use some help deciphering what happened between NMP and Report Writer; System.Data.SqlClient.SqlException (0x80131904): Column 'nodes.NodeID' is invalid…