LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-04-2008, 06:18 PM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
Nagios3 package incomplete in Lenny?


In the sample config file for monitoring a switch - switch.cfg, it refers to a template called 'generic-switch'. However, the file 'generic-switch' is not found anywhere in my installation.

Do I need to manually download the file separately?

Thanks.
PS. Using Debian lenny.
 
Old 05-05-2008, 03:22 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
It looks like that configuration file example should have been included with the install of nagios3..

personally I would just download the tar.gz file extract it and grab the config files you need..


you did install nagios3-common also, right ?

Quote:
http://packages.debian.org/lenny/all...ommon/filelist

/etc/default/nagios3
/etc/init.d/nagios3
/etc/nagios3/cgi.cfg
/etc/nagios3/commands.cfg
/etc/nagios3/conf.d/contacts_nagios2.cfg
/etc/nagios3/conf.d/extinfo_nagios2.cfg
/etc/nagios3/conf.d/generic-host_nagios2.cfg
/etc/nagios3/conf.d/generic-service_nagios2.cfg
/etc/nagios3/conf.d/hostgroups_nagios2.cfg
/etc/nagios3/conf.d/localhost_nagios2.cfg
/etc/nagios3/conf.d/services_nagios2.cfg
/etc/nagios3/conf.d/timeperiods_nagios2.cfg
/etc/nagios3/nagios.cfg
/etc/nagios3/resource.cfg
/usr/share/doc/nagios3-common/README
/usr/share/doc/nagios3-common/README.Debian
/usr/share/doc/nagios3-common/TODO.Debian
/usr/share/doc/nagios3-common/UPGRADING
/usr/share/doc/nagios3-common/changelog.Debian.gz
/usr/share/doc/nagios3-common/copyright
/usr/share/doc/nagios3-common/examples/README
/usr/share/doc/nagios3-common/examples/apache2.conf
/usr/share/doc/nagios3-common/examples/apache2.nagios1.conf
/usr/share/doc/nagios3-common/examples/cgi.cfg.gz
/usr/share/doc/nagios3-common/examples/commands.cfg.gz
/usr/share/doc/nagios3-common/examples/localhost.cfg.gz
/usr/share/doc/nagios3-common/examples/mrtg.cfg.gz
/usr/share/doc/nagios3-common/examples/nagios.cfg.gz
/usr/share/doc/nagios3-common/examples/resource.cfg
/usr/share/doc/nagios3-common/examples/template-object/README
/usr/share/doc/nagios3-common/examples/template-object/commands.cfg.gz
/usr/share/doc/nagios3-common/examples/template-object/contacts.cfg
/usr/share/doc/nagios3-common/examples/template-object/localhost.cfg.gz
/usr/share/doc/nagios3-common/examples/template-object/printer.cfg
/usr/share/doc/nagios3-common/examples/template-object/switch.cfg
/usr/share/doc/nagios3-common/examples/template-object/templates.cfg.gz
/usr/share/doc/nagios3-common/examples/template-object/timeperiods.cfg
/usr/share/doc/nagios3-common/examples/template-object/windows.cfg
/usr/share/doc/nagios3-common/html
/usr/share/lintian/overrides/nagios3-common
/usr/share/nagios3/debian/extcommands.cfg
/usr/share/nagios3/debian/gateway.cfg
/usr/share/nagios3/debian/httpd.webapps-common
/usr/share/nagios3/plugins/eventhandlers/disable_active_service_checks
/usr/share/nagios3/plugins/eventhandlers/disable_notifications
/usr/share/nagios3/plugins/eventhandlers/distributed-monitoring/obsessive_svc_handler
/usr/share/nagios3/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca
/usr/share/nagios3/plugins/eventhandlers/enable_active_service_checks
/usr/share/nagios3/plugins/eventhandlers/enable_notifications
/usr/share/nagios3/plugins/eventhandlers/redundancy-scenario1/handle-master-host-event
/usr/share/nagios3/plugins/eventhandlers/redundancy-scenario1/handle-master-proc-event
/usr/share/nagios3/plugins/eventhandlers/submit_check_result
 
Old 07-29-2008, 11:08 AM   #3
dangby
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Templates still missing in latest nagios (3.0.3)

This problem still happens with the most recent 3.0.3 nagios install from tar.

There is no template defined anywhere (in templates.cfg or switches.cfg or anywhere else) for generic-switch.

Similarly, there are other templates missing. The only defined templates are generic-host and generic-service.

Has anyone found where the missing templates went?
 
Old 07-29-2008, 02:25 PM   #4
dangby
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
I found the issue. If you already have a version installed, and then install a new release on top of what you've got, the nagios install will not replace .cfg files that already exist. That's a good thing, or all your customizations would be lost. However, it is a bad thing if some things are missing in the .cfg files to begin with, like templates for generic-switch...

Anyway, if you look at the differences between what is in the .tar.gz file you can download from nagios.org and what is on your already installed version of nagios, you'll find the missing templates in templates.cfg
 
Old 02-11-2010, 03:38 PM   #5
here2serve
Member
 
Registered: Sep 2005
Location: Hinesville
Distribution: Debian, Mandriva, Ubuntu, Fedora
Posts: 104

Rep: Reputation: 15
Nagios generic-switch

Look in templates.cfg a generic template for switches is there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing An Unstable Package in Lenny? carlosinfl Debian 6 01-22-2008 08:47 PM
Incomplete type ChemicalBurn Programming 4 02-24-2005 08:44 AM
Is my celestia incomplete? eantoranz Linux - Software 10 11-02-2004 07:42 PM
Knoppix is incomplete? Craigwd Debian 2 05-30-2004 01:01 PM
incomplete installation pirozzi Linux - Laptop and Netbook 1 10-25-2003 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration