Re: Nagios installation issue

Sunil Sankar <[email protected]> Thu, 19 Sep 2013 00:33:21 +0530
Newsgroups gmane.network.nagios.user
Message-ID <CAPqUM3V7zJm+f7bFgB3LYjfnJrATMgb8b4RrMCnLtG_vohs8rg@mail.gmail.com>
--===============8438980937142678906==
Content-Type: multipart/alternative; boundary=047d7b6dd1524b2c9804e6ad17eb

--047d7b6dd1524b2c9804e6ad17eb
Content-Type: text/plain; charset=ISO-8859-1

In ubuntu the function file is /lib/lsb/init-functions change and let us
know if it works


Regards
Sunil


On Wed, Sep 18, 2013 at 9:27 PM, Daniel Wittenberg <
[email protected]> wrote:

> Agreed, I figured if I could make the rpm do the right thing in each OS
> that would be better. Within reason of course.
>
> Dan
> On Sep 18, 2013 9:43 AM, "Scott VR" <[email protected]> wrote:
>
>> The LSB way: /lib/lsb/init-functions
>> But I'm in agreement that an inexperienced user is better served using a
>> package for the particular distro.
>> On Sep 18, 2013 8:31 AM, "Daniel Wittenberg" <[email protected]>
>> wrote:
>>
>>> I don't use Ubuntu myself, does someone know if there is an equiv to
>>> functions?
>>>
>>> Dan
>>> On Sep 18, 2013 3:02 AM, "FTL Nagios" <[email protected]> wrote:
>>>
>>>> Start again and follow
>>>>
>>>> http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html
>>>>
>>>> Change the version numbers to whatever version you are installing
>>>> obviously
>>>> as to whats wrote in that guide as its quite old.
>>>>
>>>> Also you need to install "apt-get libssl-dev" before you install the
>>>> plugins
>>>> or the 1.4.16 plugins will fail to install properly
>>>>
>>>> Job done.
>>>>
>>>> -----Original Message-----
>>>> From: Nivin Abraham [mailto:[email protected]]
>>>> Sent: 17 September 2013 09:15
>>>> To: [email protected]
>>>> Subject: [Nagios-users] Nagios installation issue
>>>>
>>>> my ubuntu version is 12.04
>>>>    nagios version is nagios-4.0.0beta4
>>>>    nagios plugin version is nagios-plugins-1.4.16
>>>>
>>>> i have installed my host os is windows 7  vm used is oracle virtualbox
>>>>
>>>> i followed the installation from youtube video Nagios sous Ubuntu 12.04
>>>> ~
>>>> Mohamed AKRICH
>>>>
>>>> i followed the entire installation but changed the versions as mentioned
>>>> above everything got installed without any issues but when i type
>>>>
>>>> "service nagios start"
>>>> and this is what i get
>>>>
>>>> /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions
>>>>
>>>>
>>>>
>>>>
>>>> so pls help me and i am a newbie to linux as well as ubuntu
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------
>>>> --
>>>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>>>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
>>>> SharePoint
>>>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
>>>> includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends
>>>> 9/20/13.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Nagios-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>>> ::: Please include Nagios version, plugin version (-v) and OS when
>>>> reporting
>>>> any issue.
>>>> ::: Messages without supporting info will risk being sent to /dev/null
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>>>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
>>>> SharePoint
>>>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
>>>> includes
>>>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Nagios-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>>> ::: Please include Nagios version, plugin version (-v) and OS when
>>>> reporting any issue.
>>>> ::: Messages without supporting info will risk being sent to /dev/null
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
>>> SharePoint
>>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
>>> includes
>>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Nagios-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>> ::: Please include Nagios version, plugin version (-v) and OS when
>>> reporting any issue.
>>> ::: Messages without supporting info will risk being sent to /dev/null
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
>> SharePoint
>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
>> includes
>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Nagios-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



-- 
Regards
Sunil Sankar

--047d7b6dd1524b2c9804e6ad17eb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">In ubuntu the function file is=A0<span style=3D"font-famil=
y:&#39;Ubuntu Mono&#39;,&#39;Ubuntu Beta Mono A&#39;,Consolas,&#39;Bitstrea=
m Vera Sans Mono&#39;,&#39;Courier New&#39;,Courier,monospace;font-size:13p=
x;line-height:17px;background-color:rgb(238,238,238)">/lib/lsb/init-functio=
ns change and let us know if it works</span><div>
<span style=3D"font-family:&#39;Ubuntu Mono&#39;,&#39;Ubuntu Beta Mono A&#3=
9;,Consolas,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,Courie=
r,monospace;font-size:13px;line-height:17px;background-color:rgb(238,238,23=
8)"><br>
</span></div><div><span style=3D"font-family:&#39;Ubuntu Mono&#39;,&#39;Ubu=
ntu Beta Mono A&#39;,Consolas,&#39;Bitstream Vera Sans Mono&#39;,&#39;Couri=
er New&#39;,Courier,monospace;font-size:13px;line-height:17px;background-co=
lor:rgb(238,238,238)"><br>
</span></div><div><span style=3D"font-family:&#39;Ubuntu Mono&#39;,&#39;Ubu=
ntu Beta Mono A&#39;,Consolas,&#39;Bitstream Vera Sans Mono&#39;,&#39;Couri=
er New&#39;,Courier,monospace;font-size:13px;line-height:17px;background-co=
lor:rgb(238,238,238)">Regards</span></div>
<div><span style=3D"font-family:&#39;Ubuntu Mono&#39;,&#39;Ubuntu Beta Mono=
 A&#39;,Consolas,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,C=
ourier,monospace;font-size:13px;line-height:17px;background-color:rgb(238,2=
38,238)">Sunil</span></div>
</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Wed,=
 Sep 18, 2013 at 9:27 PM, Daniel Wittenberg <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">dwittenberg2008@gma=
il.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><p dir=3D"ltr">Agreed, I figured if I could =
make the rpm do the right thing in each OS that would be better. Within rea=
son of course. </p>

<p dir=3D"ltr">Dan</p><div class=3D"HOEnZb"><div class=3D"h5">
<div class=3D"gmail_quote">On Sep 18, 2013 9:43 AM, &quot;Scott VR&quot; &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<=
/a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p dir=3D"ltr">The LSB way: /lib/lsb/init-functions<br>
But I&#39;m in agreement that an inexperienced user is better served using =
a package for the particular distro.</p>
<div class=3D"gmail_quote">On Sep 18, 2013 8:31 AM, &quot;Daniel Wittenberg=
&quot; &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">d=
[email protected]</a>&gt; wrote:<br type=3D"attribution"><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">


<p dir=3D"ltr">I don&#39;t use Ubuntu myself, does someone know if there is=
 an equiv to functions?</p>
<p dir=3D"ltr">Dan</p>
<div class=3D"gmail_quote">On Sep 18, 2013 3:02 AM, &quot;FTL Nagios&quot; =
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">ftlnagios@gmai=
l.com</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>



Start again and follow<br>
<br>
<a href=3D"http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html" t=
arget=3D"_blank">http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.h=
tml</a><br>
<br>
Change the version numbers to whatever version you are installing obviously=
<br>
as to whats wrote in that guide as its quite old.<br>
<br>
Also you need to install &quot;apt-get libssl-dev&quot; before you install =
the plugins<br>
or the 1.4.16 plugins will fail to install properly<br>
<br>
Job done.<br>
<br>
-----Original Message-----<br>
From: Nivin Abraham [mailto:<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>]<br>
Sent: 17 September 2013 09:15<br>
To: <a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a><br>
Subject: [Nagios-users] Nagios installation issue<br>
<br>
my ubuntu version is 12.04<br>
=A0 =A0nagios version is nagios-4.0.0beta4<br>
=A0 =A0nagios plugin version is nagios-plugins-1.4.16<br>
<br>
i have installed my host os is windows 7 =A0vm used is oracle virtualbox<br=
>
<br>
i followed the installation from youtube video Nagios sous Ubuntu 12.04 ~<b=
r>
Mohamed AKRICH<br>
<br>
i followed the entire installation but changed the versions as mentioned<br=
>
above everything got installed without any issues but when i type<br>
<br>
&quot;service nagios start&quot;<br>
and this is what i get<br>
<br>
/etc/init.d/nagios: 20 .:Can&#39;t open /etc/rc.d/init.d/functions<br>
<br>
<br>
<br>
<br>
so pls help me and i am a newbie to linux as well as ubuntu<br>
<br>
<br>
---------------------------------------------------------------------------=
-<br>
--<br>
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!<br>
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoin=
t<br>
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack<br>
includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends<br>
9/20/13.<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D58041151&amp;iu=3D/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Nag=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" targe=
t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><=
br>
::: Please include Nagios version, plugin version (-v) and OS when reportin=
g<br>
any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
<br>
<br>
---------------------------------------------------------------------------=
---<br>
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!<br>
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoin=
t<br>
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack inclu=
des<br>
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D58041151&amp;iu=3D/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Nag=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" targe=
t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><=
br>
::: Please include Nagios version, plugin version (-v) and OS when reportin=
g any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div>
<br>-----------------------------------------------------------------------=
-------<br>
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!<br>
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoin=
t<br>
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack inclu=
des<br>
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D58041151&amp;iu=3D/4140/ostg.clktrk</a><br>___________________=
____________________________<br>



Nagios-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Nag=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" targe=
t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><=
br>
::: Please include Nagios version, plugin version (-v) and OS when reportin=
g any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br><=
/blockquote></div>
<br>-----------------------------------------------------------------------=
-------<br>
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!<br>
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoin=
t<br>
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack inclu=
des<br>
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D58041151&amp;iu=3D/4140/ostg.clktrk</a><br>___________________=
____________________________<br>


Nagios-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Nag=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" targe=
t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><=
br>
::: Please include Nagios version, plugin version (-v) and OS when reportin=
g any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br><=
/blockquote></div>
</div></div><br>-----------------------------------------------------------=
-------------------<br>
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!<br>
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoin=
t<br>
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack inclu=
des<br>
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D58041151&amp;iu=3D/4140/ostg.clktrk</a><br>___________________=
____________________________<br>

Nagios-users mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
urceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" targe=
t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><=
br>
::: Please include Nagios version, plugin version (-v) and OS when reportin=
g any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br><=
/blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Regards<br>Su=
nil Sankar
</div>

--047d7b6dd1524b2c9804e6ad17eb--


--===============8438980937142678906==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
--===============8438980937142678906==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
--===============8438980937142678906==--