<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Thanks Mike. If macro's can be used in action_urls I think I can get it to work with <a href="http://customurl.codeplex.com/">CustomURL</a>. Would you happen to have the link to the patch allowing multiple URLs? I can't find it but will look more when I get home.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-Will<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<br>From: Mike Guthrie [mailto:mguthrie@nagios.com] <br>Sent: Monday, October 22, 2012 4:40 PM<br>To: Nagios Users List<br>Subject: Re: [Nagios-users] ping, telnet, ssh, from nagios-core website</p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Looks like someone did come up with a patch for the CGI's that would allow multiple action URL's, but it may take some playing around to get it to do what you want it to do. Although there may be other addon projects that do this already that I'm unaware of.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>To my knowledge you can't use a browser to access ssh, ping, telnet etc. <o:p></o:p></p><p class=MsoPlainText>You'd need some sort of a custom API to be able to run those commands for you from the command line.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Nagios XI (commercial version of Nagios) does have some of these quick actions. Image is attached.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>On 10/22/2012 3:28 PM, Will Bashlor wrote:<o:p></o:p></p><p class=MsoPlainText>> Hi List,<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> I want to be able to click on an icon or link on the Nagios core website<o:p></o:p></p><p class=MsoPlainText>> and ping, telnet, ssh, etc. to each host. What's the easiest way to<o:p></o:p></p><p class=MsoPlainText>> accomplish this? I've researched and haven't found much that's solid.<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> I've seen the action_url. Seems like that may work if I modify how<o:p></o:p></p><p class=MsoPlainText>> windows responds to certain urls, (i.e. CustomURL) like ping://,<o:p></o:p></p><p class=MsoPlainText>> <a href="telnet://"><span style='color:windowtext;text-decoration:none'>telnet://</span></a>, ssh://, etc. I'm not sure how it would handle $HOSTADDRESS$,<o:p></o:p></p><p class=MsoPlainText>> or I guess that would be translated by Nagios? And I think I'm limited<o:p></o:p></p><p class=MsoPlainText>> to 1 action_url?<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> Then I read something about using notes...? I'm not sure about that one.<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> Someone also mentioned Nagios var? I'm not a programmer.<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> I would even be happy with a windows Nagios app is I had to, but would<o:p></o:p></p><p class=MsoPlainText>> rather it be within the website.<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> This is a basic function of most commercial monitoring tools, hopefully<o:p></o:p></p><p class=MsoPlainText>> there's an easy way.<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> Thoughts anyone? Thanks in advance.<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> -Will<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>> ------------------------------------------------------------------------------<o:p></o:p></p><p class=MsoPlainText>> Everyone hates slow websites. So do we.<o:p></o:p></p><p class=MsoPlainText>> Make your web apps faster with AppDynamics<o:p></o:p></p><p class=MsoPlainText>> Download AppDynamics Lite for free today:<o:p></o:p></p><p class=MsoPlainText>> <a href="http://p.sf.net/sfu/appdyn_sfd2d_oct"><span style='color:windowtext;text-decoration:none'>http://p.sf.net/sfu/appdyn_sfd2d_oct</span></a><o:p></o:p></p><p class=MsoPlainText>> _______________________________________________<o:p></o:p></p><p class=MsoPlainText>> Nagios-users mailing list<o:p></o:p></p><p class=MsoPlainText>> <a href="mailto:Nagios-users@lists.sourceforge.net"><span style='color:windowtext;text-decoration:none'>Nagios-users@lists.sourceforge.net</span></a><o:p></o:p></p><p class=MsoPlainText>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users"><span style='color:windowtext;text-decoration:none'>https://lists.sourceforge.net/lists/listinfo/nagios-users</span></a><o:p></o:p></p><p class=MsoPlainText>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<o:p></o:p></p><p class=MsoPlainText>> ::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-- <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Mike Guthrie<o:p></o:p></p><p class=MsoPlainText>Technical Team<o:p></o:p></p><p class=MsoPlainText>___<o:p></o:p></p><p class=MsoPlainText>Nagios Enterprises, LLC<o:p></o:p></p><p class=MsoPlainText>Email:  <a href="mailto:mguthrie@nagios.com"><span style='color:windowtext;text-decoration:none'>mguthrie@nagios.com</span></a><o:p></o:p></p><p class=MsoPlainText>Web:    <a href="http://www.nagios.com"><span style='color:windowtext;text-decoration:none'>www.nagios.com</span></a><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p></div></body></html>