i can't see new added service.

Fredrik Wänglund fredrik.wanglund at mobeon.com
Fri Mar 5 12:31:24 CET 2004


Did you update the line
   cfg_file=/usr/local/nagios/etc/services.cfg
in nagios.cfg?

/FredrikW



montse wrote:

> Ok, i know what was happening, although I don't know why...
> I started nagios with a new config file nagios.cfg.new where I had
> spread services over several files i.e. services_dns.cfg,
> services_traps.cfg etc.... In that configuration no service.cfg
> appeared, but it still existed under the nagios/etc directory. I don't
> know why nagios was reading this file. I have deleted services.cfg and
> renamed nagios.cfg.new to nagios.cfg and I have started nagios with this
> file again and every thing works ok.
> Thanks for your help.
> 
> 
>>-----Mensaje original-----
>>De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
>>admin at lists.sourceforge.net] En nombre de montse
>>Enviado el: viernes, 05 de marzo de 2004 11:21
>>Para: 'Fredrik Wänglund'
>>CC: nagios-users at lists.sourceforge.net
>>Asunto: RE: [Nagios-users] i can't see new added service.
>>
>>Sorry, i forgot to say, i verified just one nagios proccess was
> 
> running.
> 
>>>-----Mensaje original-----
>>>De: Fredrik Wänglund [mailto:fredrik.wanglund at mobeon.com]
>>>Enviado el: viernes, 05 de marzo de 2004 11:14
>>>Para: montse
>>>CC: nagios-users at lists.sourceforge.net
>>>Asunto: Re: [Nagios-users] i can't see new added service.
>>>
>>>A very common cause is that not all Nagios-processes are stopped
> 
> when
> 
>>>you restart Nagios. Stop Nagios and check carefully that all
> 
> processes
> 
>>>has ended before you start it again.
>>>
>>>/FredrikW
>>>
>>>
>>>montse wrote:
>>>
>>>
>>>>Hello every body:
>>>>I running Nagios 1.2 and i added 2 new services. I restart nagios
>>
>>but
>>
>>>>under that host I only see old services.
>>>>I have run nagios in debug mode and it loads the new services, and
>>
>>in
>>
>>>>the status.log there is a line for these services.
>>>>I have delete status.log and let nagios to regenerate, but it
> 
> still
> 
>>>>happening.
>>>>Any help, I think it has to do with the status.cgi but.... any
> 
> idea?
> 
>>>>Thanks in advance.
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>This SF.Net email is sponsored by: IBM Linux Tutorials
>>>>Free Linux tutorial presented by Daniel Robbins, President and CEO
>>
>>of
>>
>>>>GenToo technologies. Learn everything from fundamentals to system
>>>>
>>
>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>>
>>>>_______________________________________________
>>>>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
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: IBM Linux Tutorials
>>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>>GenToo technologies. Learn everything from fundamentals to system
>>administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk
>>_______________________________________________
>>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
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
> _______________________________________________
> 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



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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