<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)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><title>Installation of a Single Plugin</title><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1396704632;
        mso-list-type:hybrid;
        mso-list-template-ids:394800520 408204088 134807555 134807557 134807553 134807555 134807557 134807553 134807555 134807557;}
@list l0:level1
        {mso-level-start-at:131;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks!!!! … this is exactly what I was looking for.  Much appreciated.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><b><span style='font-family:"Monotype Corsiva";color:#1F497D'>If you have any questions, please contact me.<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-family:"Monotype Corsiva";color:#1F497D'><o:p> </o:p></span></b></p><p class=MsoNormal><b><span style='font-family:"Monotype Corsiva";color:#1F497D'>James Pietan<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-family:"Monotype Corsiva";color:#1F497D'>Network Specialist II<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-family:"Monotype Corsiva";color:#1F497D'>(907) - 465-8122  or  (907) 321-1655<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-family:"Monotype Corsiva";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Monotype Corsiva";color:red'>IMPORTANT WARNING</span></b><span style='font-size:10.0pt;font-family:"Monotype Corsiva";color:red'>: This message is intended for the use of the person or entity to which it is addressed and may contain information that is confidential.  If you are not the intended recipient or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, forwarding or distribution of this information is STRICTLY PROHIBITED.  If you have received this electronic message by error, please notify the sender and immediately delete all copies from your computer system to prevent further disclosure.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Monotype Corsiva";color:red'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Ian Rarity [mailto:Ian.Rarity@espc.com] <br><b>Sent:</b> Friday, February 10, 2012 12:18 AM<br><b>To:</b> 'Nagios Plugin Help List'<br><b>Subject:</b> Re: [Nagiosplug-help] Installation of a Single Plugin<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi James,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>For a plugin that just consists of a bash/perl script, the basic process is:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>          </span></span></span><![endif]><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Drop the plugin into your Nagios plugins directory (/usr/local/nagios/libexec by default), and make sure it can be executed by whatever user your Nagios instance runs as.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>          </span></span></span><![endif]><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Add a command to commands.cfg (located in /usr/local/nagios/etc by default) to call the plugin and pass it any parameters it needs.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>          </span></span></span><![endif]><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Add a service definition to services.cfg (same dir as above) that uses the command to check a service on a host.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>          </span></span></span><![endif]><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Profit.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you look at existing service/command definitions that are already in those files, you should get the idea; “install” is an awfully strong word for it if you come from a Windows background.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ta,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>IR.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>==================<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ian Rarity<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>IT Services Engineer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ESPC (UK) Ltd.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="mailto:ian.rarity@espc.com">ian.rarity@espc.com</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://www.espc.com">http://www.espc.com</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>==================<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Pietan, James J (HSS) [<a href="mailto:james.pietan@alaska.gov">mailto:james.pietan@alaska.gov</a>] <br><b>Sent:</b> 09 February 2012 19:29<br><b>To:</b> <a href="mailto:nagiosplug-help@lists.sourceforge.net">nagiosplug-help@lists.sourceforge.net</a><br><b>Subject:</b> [Nagiosplug-help] Installation of a Single Plugin<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>Recently, Nagios was added to my plate to maintain and update/upgrade as and when needed.</span><span lang=EN-GB><o:p></o:p></span></p><p><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>Having limited exposure to</span><span lang=EN-GB> </span><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>Nagios and Linux, I need</span><span lang=EN-GB> </span><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>a little help.</span><span lang=EN-GB> <o:p></o:p></span></p><p><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>There are several plugins that I would like to install from the different Nagios web sites.</span><span lang=EN-GB><o:p></o:p></span></p><p><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>However, I lack some basic information</span><span lang=EN-GB> </span><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>–</span><span lang=EN-GB> <o:p></o:p></span></p><p><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>How do I install a single plugin, whether it is a .pl or .sh</span><span lang=EN-GB><o:p></o:p></span></p><p><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>When all that is given is the command…. ?</span><span lang=EN-GB><o:p></o:p></span></p><p><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>Any help you would give is greatly appreciated.</span><span lang=EN-GB><o:p></o:p></span></p><p><b><span lang=EN-GB style='font-family:"Monotype Corsiva";color:#1F497D'>If you have any questions, please contact me.</span></b><span lang=EN-GB><o:p></o:p></span></p><p><b><span lang=EN-GB style='font-family:"Monotype Corsiva";color:#1F497D'>James Pietan</span></b><span lang=EN-GB><o:p></o:p></span></p><p><b><span lang=EN-GB style='font-family:"Monotype Corsiva";color:#1F497D'>Network Specialist II</span></b><span lang=EN-GB><o:p></o:p></span></p><p><b><span lang=EN-GB style='font-family:"Monotype Corsiva";color:#1F497D'>(907) - 465-8122  or  (907) 321-1655</span></b><span lang=EN-GB><o:p></o:p></span></p><p><b><span lang=EN-GB style='font-family:"Monotype Corsiva";color:#1F497D'>Corripe Cervisiam or Carpe Diem</span></b><span lang=EN-GB><o:p></o:p></span></p><p><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Monotype Corsiva";color:red'>IMPORTANT WARNING</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Monotype Corsiva";color:red'>: This message is intended for the use of the person or entity to which it is addressed and may contain information that is confidential.  If you are not the intended recipient or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, forwarding or distribution of this information is STRICTLY PROHIBITED.  If you have</span><span lang=EN-GB> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Monotype Corsiva";color:red'>received this electronic message by error, please notify the sender and immediately delete all copies from your computer system to prevent further disclosure.</span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-GB style='background:white'><o:p> </o:p></span></p><p align=center style='text-align:center'><span lang=EN-GB style='background:white'>Click <a href="https://www.mailcontrol.com/sr/vjAJQiQdc1LTndxI!oX7Up2F0f+S6NySSRdNrVJpEsnubQwsyDNv0v3pOM!83jtSnKLrywimic8pdY6WjzZSeg==">here</a> to report this email as spam.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span lang=EN-GB><hr size=2 width="100%" align=center></span></div><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'>Follow us on Twitter at <a href="http://twitter.com/espc">http://twitter.com/espc</a><br><br>Private and Confidential: This e-mail transmission is strictly confidential and intended solely for the addressee. It may contain privileged and confidential information and if you are not the intended recipient, you must not copy, disclose, distribute or take any action in reliance on it. If you have received this e-mail in error, please delete it and notify our E-mail Systems Administrator on +44 (0) 131 624 8000. ESPC (UK) Ltd does not accept any liability for any harm that may be caused to the recipient's system or data by this message or any attachment.<br><br>ESPC (UK) Ltd is a company registered under the Companies Acts in Scotland (Registered Number SC203585), and having its registered office at 90A George Street, Edinburgh, Midlothian EH2 3DF.<br><br>ESPC (UK) Ltd is an Appointed Representative of Accord Consultancy which is authorised and regulated by the Financial Services Authority.</span><span lang=EN-GB><o:p></o:p></span></p></div></body></html>