Try the attached spec file (nagios v 3.0.6), works for me here and i dont use the /etc/nagios/objects directory at all.
HTH Michael Weiner -- On Tue, Feb 17, 2009 at 9:18 AM, Darvin Denmian <[email protected]>wrote: > Hello List !! > > I tried without sucess to build a new rpm with the file attached by shadhi: > > [r...@testserver i386]# ls /etc/nagios/ > cgi.cfg command.cfg contacts.cfg nagios.cfg resource.cfg > timeperiods.cfg > > r...@testserver i386]# nagios -v /etc/nagios/nagios.cfg > ... > Error: Cannot open config file '/etc/nagios/objects/commands.cfg' for > reading: No such file or directory > > ... > > Any idea? > Thanks.... > > On Tue, Feb 17, 2009 at 8:43 AM, Darvin Denmian > <[email protected]> wrote: > > Hello guys, > > > > I will do the test with the file you sent. > > Keep you informed > > > > Thanks. > > > > On Tue, Feb 17, 2009 at 1:52 AM, D. Emmanuel Feinsmith > > <[email protected]> wrote: > >> You don't specify that directory in your spec file. > >> On Feb 16, 2009, at 8:25 PM, shadih rahman wrote: > >> > >> Darvin, > >> I added my nagios3.spec file with nagios-3.0.6. Hope this help. > >> > >> On Tue, Feb 17, 2009 at 1:38 AM, Darvin Denmian < > [email protected]> > >> wrote: > >>> > >>> Hello List !!!! > >>> > >>> i'm building a rpm package with nagios-3.0.6 and i have a question: > >>> why my rpm packages don't contain the directory "/etc/nagios/objects" . > >>> > >>> What is the secret, somebody can help me? > >>> > >>> Thanks !!! > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, > >>> CA > >>> -OSBC tackles the biggest issue in open source: Open Sourcing the > >>> Enterprise > >>> -Strategies to boost innovation and cut costs with open source > >>> participation > >>> -Receive a $600 discount off the registration fee with the source code: > >>> SFAD > >>> http://p.sf.net/sfu/XcvMzF8H > >>> _______________________________________________ > >>> 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 > >> > >> > >> > >> -- > >> Cordially, > >> Shadhin Rahman > >> > <nagios3.spec>------------------------------------------------------------------------------ > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > >> -Strategies to boost innovation and cut costs with open source > participation > >> -Receive a $600 discount off the registration fee with the source code: > SFAD > >> > http://p.sf.net/sfu/XcvMzF8H_______________________________________________ > >> 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 > >> > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > 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 > >
nagios.spec
Description: Binary data
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ 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
