Nagios installation issue

Daniel Wittenberg dwittenberg2008 at gmail.com
Thu Sep 19 05:47:30 CEST 2013


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 <sunil at sunil.cc> wrote:

> 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 <dwittenberg2008 at gmail.com> 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" <scottvr at gmail.com> 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" <dwittenberg2008 at gmail.com> 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" <ftlnagios at gmail.com> 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:thisisnivin at gmail.com]
> Sent: 17 September 2013 09:15
> To: nagios-users at lists.sourceforge.net
> 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
> Nagios-users at lists.sourceforge.net
> 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
> Nagios-users at lists.sourceforge.net
> 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
> Nagios-users at lists.sourceforge.net
> 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
> Nagios-users at lists.sourceforge.net
> 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
> Nagios-users at lists.sourceforge.net
> 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
> ------------------------------------------------------------------------------
> 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
> Nagios-users at lists.sourceforge.net
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130918/f01ca5d7/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list