cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 10

Twitter (Tweeting Alerts)

Ok, I don't know if anyone is THIS big of a geek, but...

I got a mail about how Spiceworks now supports Twitter integration, and I said to myself "That really doesn't seem difficult.  I bet I could make Orion do it!"

So, starting with looking for a command line tool to use twitter, I found instructions here:

http://binnyva.blogspot.com/2007/03/using-twitter-part-1-command-line.html

He talks about a program called cURL, which he mentions being a Unix app.  I found a windows port here:

http://curl.haxx.se/latest.cgi?curl=win32-nossl-sspi

Putting them together gave me an alert action (execute external program) that looks like:

c:\curl-7.19.5\curl.exe --basic --user "<username>:<password>" --data-ascii "status=Alert: ${NodeName} has been ${Status} since ${TimeOfOutage}." "http://twitter.com/statuses/update.json"

Anyhow, probably useless for most people, but it was a fun diversion and I thought I'd share.

0 Kudos
2 Replies
Level 14

ljenkins,

Thanks for the suggestions. I've formalized and generalized your steps in the following Knowledge Base article:

http://support.solarwinds.com/kbase/ProblemDetail.cfm?ID=1221

Andrew

0 Kudos
Level 12

Actually, that's really hot schtuff.

I look forward to the alerting engine getting modules written for it to do these things without bouncing out to an external, SW's support for that isn't so robust.

0 Kudos