newbie questions v. 2.0

javier rojas javier.rojasr at gmail.com
Tue Dec 12 14:22:24 CET 2006


Hello,

i know that probably this is a low level questions but i have read the
documentation of nagios and still have some questions...

i have created a hosts.cfg file in order to place my servers, and i
started it with a w$ 2k3 vmware virtual server on my machine.... heres
the file:

define host{
        host_name                       testserver
        alias                           test server windows
        address                         192.168.0.5
        parents
        check_command                   check-host-alive
        max_check_attempts              5
        check_period                    24x7
        process_perf_data               0
        retain_nonstatus_information    0
        contact_groups                  nagios-admins
        notification_interval           30
        notification_period             24x7
        notification_options            d,u,r
        }

here's my question:

i can resolve hte name from my mahcine of the server, i did not
created a nagios-admins group, and i have the original command.cfg
file, and when i insert in my nagios.cfg the line so it should search
for hosts on the new file i cant restart nagios and i get an error
CONFIG ERROR!  Start aborted.  Check your Nagios configuration

heres the line:
cfg_file=/usr/local/nagios//etc/hosts.cfg

just below object configuration file

i have checked according to the docs, the files and it's order...but i
really can't find the error, i would really like to know how to add
hosts and services to nagios...

-- 
Ciao, Javier
linux counter #393724
GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E
I'm doing a (free) operating system (just a hobby, won't be big and
professional like gnu)
                                           --Linus Torvalds

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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