Re: Nagios installation issue
Daniel Wittenberg <[email protected]> Wed, 18 Sep 2013 22:47:30 -0500
| Newsgroups | gmane.network.nagios.user |
|---|---|
| Message-ID | <[email protected]> |
--===============5867651293015128385== Content-Type: multipart/alternative; boundary="Apple-Mail=_94CA57D4-11A7-4178-90A1-D9BC03A91B69" --Apple-Mail=_94CA57D4-11A7-4178-90A1-D9BC03A91B69 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Unfortunately it looks like it would take quite a few changes from what = I'm reading to get it to support both RHEL-based RPM's and LSB, so I'm = almost inclined to say there should be a different init script for each = unless someone wants to mangle the one to do both. I'm not a fan of = requiring that LSB be loaded on EL systems so I don't really want to = fully switch the spec file over. I don't think I have enough time right = now to convert the script over and do all the testing (especially since = I don't have a box setup for it), but if someone wants to write one and = send it to me I can work on integrating it with the RPM/build. Dan On Sep 18, 2013, at 2:03 PM, Sunil Sankar <[email protected]> wrote: > In ubuntu the function file is /lib/lsb/init-functions change and let = us know if it works >=20 >=20 > Regards > Sunil >=20 >=20 > 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. >=20 > Dan >=20 > 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. >=20 > 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? >=20 > Dan >=20 > On Sep 18, 2013 3:02 AM, "FTL Nagios" <[email protected]> wrote: > Start again and follow >=20 > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html >=20 > Change the version numbers to whatever version you are installing = obviously > as to whats wrote in that guide as its quite old. >=20 > 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 >=20 > Job done. >=20 > -----Original Message----- > From: Nivin Abraham [mailto:[email protected]] > Sent: 17 September 2013 09:15 > To: [email protected] > Subject: [Nagios-users] Nagios installation issue >=20 > my ubuntu version is 12.04 > nagios version is nagios-4.0.0beta4 > nagios plugin version is nagios-plugins-1.4.16 >=20 > i have installed my host os is windows 7 vm used is oracle virtualbox >=20 > i followed the installation from youtube video Nagios sous Ubuntu = 12.04 ~ > Mohamed AKRICH >=20 > i followed the entire installation but changed the versions as = mentioned > above everything got installed without any issues but when i type >=20 > "service nagios start" > and this is what i get >=20 > /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions >=20 >=20 >=20 >=20 > so pls help me and i am a newbie to linux as well as ubuntu >=20 >=20 > = --------------------------------------------------------------------------= -- > -- > 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=3D58041151&iu=3D/4140/ostg.c= lktrk > _______________________________________________ > 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 >=20 >=20 > = --------------------------------------------------------------------------= ---- > 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=3D58041151&iu=3D/4140/ostg.c= lktrk > _______________________________________________ > 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 >=20 > = --------------------------------------------------------------------------= ---- > 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=3D58041151&iu=3D/4140/ostg.c= lktrk > _______________________________________________ > 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 >=20 > = --------------------------------------------------------------------------= ---- > 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=3D58041151&iu=3D/4140/ostg.c= lktrk > _______________________________________________ > 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 >=20 > = --------------------------------------------------------------------------= ---- > 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=3D58041151&iu=3D/4140/ostg.c= lktrk > _______________________________________________ > 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 >=20 >=20 >=20 > --=20 > Regards > Sunil Sankar > = --------------------------------------------------------------------------= ---- > 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.=20= > = http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151&iu=3D/4140/ostg.c= lktrk_______________________________________________ > 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.=20 > ::: Messages without supporting info will risk being sent to /dev/null --Apple-Mail=_94CA57D4-11A7-4178-90A1-D9BC03A91B69 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = ">Unfortunately it looks like it would take quite a few changes from = what I'm reading to get it to support both RHEL-based RPM's and LSB, so = I'm almost inclined to say there should be a different init script for = each unless someone wants to mangle the one to do both. I'm not a = fan of requiring that LSB be loaded on EL systems so I don't really want = to fully switch the spec file over. I don't think I have enough = time right now to convert the script over and do all the testing = (especially since I don't have a box setup for it), but if someone wants = to write one and send it to me I can work on integrating it with the = RPM/build.<div><br></div><div>Dan<br><div><br></div><div><br></div><div><d= iv><div>On Sep 18, 2013, at 2:03 PM, Sunil Sankar <<a = href=3D"mailto:[email protected]">[email protected]</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div = dir=3D"ltr">In ubuntu the function file is <span = style=3D"font-family:'Ubuntu Mono','Ubuntu Beta Mono = A',Consolas,'Bitstream Vera Sans Mono','Courier = New',Courier,monospace;font-size:13px;line-height:17px;background-color:rg= b(238,238,238)">/lib/lsb/init-functions change and let us know if it = works</span><div> <span style=3D"font-family:'Ubuntu Mono','Ubuntu Beta Mono = A',Consolas,'Bitstream Vera Sans Mono','Courier = New',Courier,monospace;font-size:13px;line-height:17px;background-color:rg= b(238,238,238)"><br> </span></div><div><span style=3D"font-family:'Ubuntu Mono','Ubuntu Beta = Mono A',Consolas,'Bitstream Vera Sans Mono','Courier = New',Courier,monospace;font-size:13px;line-height:17px;background-color:rg= b(238,238,238)"><br> </span></div><div><span style=3D"font-family:'Ubuntu Mono','Ubuntu Beta = Mono A',Consolas,'Bitstream Vera Sans Mono','Courier = New',Courier,monospace;font-size:13px;line-height:17px;background-color:rg= b(238,238,238)">Regards</span></div> <div><span style=3D"font-family:'Ubuntu Mono','Ubuntu Beta Mono = A',Consolas,'Bitstream Vera Sans Mono','Courier = New',Courier,monospace;font-size:13px;line-height:17px;background-color:rg= b(238,238,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"><<a = href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #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 reason 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, "Scott VR" <<a = href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>> wrote:<br = type=3D"attribution"><blockquote class=3D"gmail_quote" style=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'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, "Daniel Wittenberg" = <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>> wrote:<br = type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 = 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"ltr">I = don'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, "FTL Nagios" <<a = href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>> wrote:<br = type=3D"attribution"><blockquote class=3D"gmail_quote" 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" = target=3D"_blank">http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu= .html</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 "apt-get libssl-dev" 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> nagios version is nagios-4.0.0beta4<br> nagios plugin version is nagios-plugins-1.4.16<br> <br> i have installed my host os is windows 7 vm used is oracle = virtualbox<br> <br> i followed the installation from youtube video Nagios sous Ubuntu 12.04 = ~<br> 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> "service nagios start"<br> and this is what i get<br> <br> /etc/init.d/nagios: 20 .:Can'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, = SharePoint<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&iu=3D= /4140/ostg.clktrk" = target=3D"_blank">http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151= &iu=3D/4140/ostg.clktrk</a><br> _______________________________________________<br> Nagios-users mailing list<br> <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" = target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-user= s</a><br> ::: Please include Nagios version, plugin version (-v) and OS when = reporting<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, = SharePoint<br> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack = includes<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&iu=3D= /4140/ostg.clktrk" = target=3D"_blank">http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151= &iu=3D/4140/ostg.clktrk</a><br> _______________________________________________<br> Nagios-users mailing list<br> <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" = target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-user= s</a><br> ::: Please include Nagios version, plugin version (-v) and OS when = reporting 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, = SharePoint<br> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack = includes<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&iu=3D= /4140/ostg.clktrk" = target=3D"_blank">http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151= &iu=3D/4140/ostg.clktrk</a><br>_______________________________________= ________<br> Nagios-users mailing list<br> <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" = target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-user= s</a><br> ::: Please include Nagios version, plugin version (-v) and OS when = reporting 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, = SharePoint<br> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack = includes<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&iu=3D= /4140/ostg.clktrk" = target=3D"_blank">http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151= &iu=3D/4140/ostg.clktrk</a><br>_______________________________________= ________<br> Nagios-users mailing list<br> <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" = target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-user= s</a><br> ::: Please include Nagios version, plugin version (-v) and OS when = reporting 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, = SharePoint<br> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack = includes<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&iu=3D= /4140/ostg.clktrk" = target=3D"_blank">http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151= &iu=3D/4140/ostg.clktrk</a><br>_______________________________________= ________<br> Nagios-users mailing list<br> <a = href=3D"mailto:[email protected]">[email protected]= ceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" = target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-user= s</a><br> ::: Please include Nagios version, plugin version (-v) and OS when = reporting 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>Sunil Sankar </div> = --------------------------------------------------------------------------= ----<br>LIMITED TIME SALE - Full Year of Microsoft Training For Just = $49.99!<br>1,500+ hours of tutorials including VisualStudio 2012, = Windows 8, SharePoint<br>2013, SQL 2012, MVC 4, more. BEST VALUE: New = Multi-Library Power Pack includes<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&iu=3D= /4140/ostg.clktrk_______________________________________________">http://p= ubads.g.doubleclick.net/gampad/clk?id=3D58041151&iu=3D/4140/ostg.clktr= k_______________________________________________</a><br>Nagios-users = mailing = list<br>[email protected]<br>https://lists.sourceforge.ne= t/lists/listinfo/nagios-users<br>::: Please include Nagios version, = plugin version (-v) and OS when reporting any issue. <br>::: Messages = without supporting info will risk being sent to = /dev/null</blockquote></div><br></div></div></body></html>= --Apple-Mail=_94CA57D4-11A7-4178-90A1-D9BC03A91B69-- --===============5867651293015128385== 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 --===============5867651293015128385== 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 --===============5867651293015128385==--