SimonMorris

Comments

  • Hello, The codes here... it doesn't really work as a standalone app as it imports Host definitions from our CMDB, but you can see the interesting part of the code in unmanage_server.models in the save() function. It saves it the Unmanaged Period to the Django database with the person who created it, and the reason, and as…
  • Great, I got it working... thanks for the pointers. This is the view that engineers without Manage Nodes rights get, and they can unmanage the node using the IFRAME, plus I get to track the name and reason for the outage. It's done in Django and I'm happy to share the code if anyone wants.
  • Hi Jiri, I have it working now - I was using the Nagios script example provided to execute a script held locally on the Linux server, for some reason the return value wasn't making it back properly. I've changed the Application Template and put my BASH code directly into there and it worked straight away. Thanks for your…
  • Hi Jiri, Thanks for replying - your statement is correct - the Component Details contains both the Message: and Statistics: information. As far as I can tell the STDOUT of the script is correct Message: Available bandwidth to 172.27.2.5 is 1.275Mbps Statistic:1306 There's no white space before the word Statistic and only a…
  • I suppose if I knew the underlying database information written to the Orion database I could write my own wrapper around "Unmanage"... Worth an evenings hacking :-) Thanks for the reply ~sm
  • Thanks for your opinions. ~sm
  • Hi Jiri, Thanks for the reply. We aren't alerting for components going into critical or warning state by email at the moment, but we are getting Application alerts for an individual component. Does it make more sense to alert on the individual components... If I get an email for the Application going into warning state it…
  • **Doh** I had a custom HTML IFRAME setup which was "borrowing" some CSS for consistency - it was those links that had the old server name hard-coded. My apologies - please disregard this bogus problem Thanks ~sm
  • Hello, I've released a working version of the code that has limited capability. This version of code (r2) can get hosts by either IP address or caption and return the ip_address and caption values from the Orion database Apols for the mangled screenshot but obviously have to hide certain details.... You can grab the code…
  • Oh dear - not getting any love from the forum on this one. Can I change the question to "Are you doing anything creative and information rich with your alert emails... if so would you share with me?" Thanks ~sm