mrxinu

Comments

  • The events page and the alerts are two separate things. If NPM sees a node go down and it's not 'unmanaged' it's going to show up in the events listing. What you've created is a node down alert that's focused on nodes that aren't in that subnet (sort of - the condition you used needs to be 'contains' not 'equal to' in…
  • I've run into this one as well at a customer. It seems to run alright from the server in the interim.
  • Hey tomiannelli! The SDK is divided into two parts - regular CRUD operations and then verbs. What you're looking for is an update operation against the volume's custom property. Give me a few minutes and I'll cook up an example for you.
  • Here you go! REST · solarwinds/OrionSDK Wiki · GitHub -- Steven W. Klassen Programmer Analyst @ Loop1 Systems http://www.loop1systems.com/ http://www.linkedin.com/in/mrxinu
  • I don't know what you mean by a specific agent, but this would do the trick. You would have to put in your own basic auth hash instead of mine: curl -X POST 'localhost:17778/.../Query' -H 'Authorization: Basic YourHashGoesHere' -H 'Content-Type: application/json' -d '{ "query": "SELECT Caption, MachineType FROM…
  • Quick question: I know you're shooting for the most specific regex, but did you try 'set pre-login-banner enable' on its own with nothing else? Did that at least work for a match? If not, it might be something even more bizarre. I would recommend at that point having it dump the configuration to a text file and popping it…
  • When you volume alerts, the context changes for your variables. If ${Level_1_Alert_Email} is a nodes custom property, you need to prefix it with ${node.level_1_alert_email} to make it work. If you don't, it assumes you have a ${volume.level_1_alert_email} custom property which you probably don't.
  • You're doing it the correct way - I don't know why you're not getting any interfaces back unless you're adding more to the scope than just the custom property value. Can you send a screenshot of your custom property values and the trigger scope/condition? -- Steven W. Klassen Programmer Analyst @ Loop1 Systems…
  • Are you applying this to a dynamically addressed (has the 'dynamic' box checked) node by chance?
  • I understand the problem, but I'm having a hard time coming up with a solution (even a really wild one). Let me ask you this, though. Why are 113 of your nodes going down at once? Are they often-failing nodes? If you have a big batch of fragile nodes, maybe it may make sense to create a custom property to identify them,…
  • Once you've enabled SNMP, you'll get the sysname from the device. I assume this is what you want it to be called in NPM? If so, have someone with a little database savvy connect to your NetPerfmon database and run a query like this one: update nodes set caption = sysname where sysname is not null and sysname != ''…
  • Hey there sandipc​ - a few things: * The API is available (REST and SOAP) for any language you already want to write in. * If you're using PowerShell there's a handy SDK that you can download and install. * In either case you're going to want to learn SWQL (SolarWinds Query Language) to pull information out of the system.…
    in API Comment by mrxinu May 2016
  • Short of polling the Orion.AlertActive entity to determine if it's been acknowledged (and keeping track of what you've already seen acknowledged), there's no way to do that. Feature request maybe?
  • Hey patriot​ - long time no chat! The way I handle this is by creating a floating point node custom property with the GMT offset for each node (e.g., -7 for PDT, -5 for CDT, and -4 for EDT). Then when I create the report, I limit the rows (in SWQL or SQL) to those where the hour is >= (dateTimeField +…
  • Unfortunately, no. That's an interesting idea though. Maybe post it in the feature requests?
  • You're using a view called UDT_VLANDevices that doesn't have a PortName column. I made a copy of the view (below) that I changed slightly that makes your query work again: CREATE VIEW UDT_VLANDevicesWithPortName ( IPAddress, HostName, MACAddress, VLAN, ConnectedTo, NodeID, MACVendor, VendorIcon, PortName ) ASSELECT…
  • The query runs fine here and I went through it line by line comparing data types to what I have in my database and I don't see any type mismatches. If you run the same query in SQL Studio do you get data back? -- Steven W. Klassen Programmer Analyst @ Loop1 Systems http://www.loop1systems.com/…
  • See the reply over here: You Can Display Mailbox Database Size And Space Use For All My Mailbox Servers
  • If you have APM you can do this with the out of the box Unix/Linux Script component. If not, you need to leverage the snmpd's "exec" functionality. The way it works is you write a shell script (or whatever language you prefer) and you have it offer up details about the health of your system (usually just a number). Then…
  • Where did you get that idea?
  • It sounds like you're really close. What do you consider business hours?
  • Can you edit your post and click 'Advanced Editor' and then highlight your code and format as 'Plain Text'? I think some of the characters are getting eaten by the formatter.
  • There's also a VolumePercentUsed and VolumePercentAvailable. Use one of those instead of the actual space variable and you'll be fine.
  • The groups are very handy, but they haven't supplanted the custom properties entirely. What you need here is an interface custom property of type yes/no. Once you've created that, you can flag whatever interfaces you're using for WAN traffic and then the alert condition is easier when you're referencing the interface…
  • You only need to unmanage them - you needn't delete them entirely.
  • When you say it doesn't work in the custom SWQL resource what do you mean? Do you get an error or not quite the expected output?
  • A little PowerShell would do the trick, but once you've handed off control in an alert action you can't get it back. So if you've discovered that Server001 has rebooted and you execute GoFindOutWhy.ps1 as your alert action, it'll also have to handle sending the email. Assuming the user running the SW Alert service has…
  • I'm not quite sure where they are in the database but I only head that direction as a last resort if it's not already exposed via SWQL/API. Here's a SWQL query that'd get you what you need: SELECT at.ApplicationTemplateID, at.Name, at.Created, t.TagNameFROM Orion.APM.ApplicationTemplate atLEFT JOIN Orion.APM.Tag t ON…
  • Do you have have either (1) a Customize Page button and/or (2) a Settings link? If you have the first one, click it, click on the name of the resource the next page and click the red X. If you have the second one and not the first one, click on it, go into Manage Accounts, find your account and give yourself the Customize…
  • You can prefix your custom property variable with 'Node.' so that it reads 'Node.Alert_Email'.