error in CGI on nagios
shiju jacob
shiju.jacob at intila.com
Thu Nov 25 04:39:08 CET 2004
Hi SAHNOUN, Nadir & all
This one solved the problem
Thanks a lot for the help
Thanks Regards
Shiju Jacob
http://www.intila.com
SAHNOUN, Nadir wrote:
>
>Hi,
>
>Delete or disable dependencies.cfg in nagios.cfg
>
>and start nagios!
>
>Best Regards
>NS
>
>
>-----Message d'origine-----
>De : shiju jacob [mailto:shiju.jacob at intila.com]
>Envoy=E9 : mercredi 24 novembre 2004 13:39
>=C0 : christian gattermair; nagios-users at lists.sourceforge.net
>Objet : Re: [Nagios-users] error in CGI on nagios
>
>
>
>Hi all
>
>when i run ps -el |grep nagios=20
>i does not return any thing=20
>
>when i say nagios service start
>
>it gives this out put=20
>
>"
>service nagios start
>Starting network monitor: nagios
>No lock file found in /usr/local/nagios//var/nagios.lock
>
>
>when i give this command i get this error=20
>"
>
>[root at server1 bin]# ./nagios -v ../etc/nagios.cfg
>=20
>Nagios 1.2
>Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org)
>Last Modified: 02-02-2004
>License: GPL
>=20
>Reading configuration data...
>=20
>Running pre-flight check on configuration data...
>=20
>Checking services...
> Checked 38 services.
>Checking hosts...
> Checked 15 hosts.
>Checking host groups...
> Checked 6 host groups.
>Checking contacts...
> Checked 2 contacts.
>Checking contact groups...
> Checked 6 contact groups.
>Checking service escalations...
> Checked 2 service escalations.
>Checking host group escalations...
> Checked 2 host group escalations.
>Checking service dependencies...
>Error: Dependent service specified in service dependency for service
>'Website #2' on host 'nt1' is not defined anywhere!
>Error: Service specified in service dependency for service 'Website #2' =
>on
>host 'nt1' is not defined anywhere!
>Error: Service dependency definition for service 'Website #2' on host =
>'nt1'
>is circular (it depends on itself)!
>Error: Dependent service specified in service dependency for service
>'Website #2' on host 'nt1' is not defined anywhere!
>Error: Service specified in service dependency for service 'Website #2' =
>on
>host 'nt1' is not defined anywhere!
>Error: Service dependency definition for service 'Website #2' on host =
>'nt1'
>is circular (it depends on itself)!
>Error: Dependent service specified in service dependency for service
>'Website #1' on host 'nt1' is not defined anywhere!
>Error: Service specified in service dependency for service 'Website #1' =
>on
>host 'nt1' is not defined anywhere!
>Error: Service dependency definition for service 'Website #1' on host =
>'nt1'
>is circular (it depends on itself)!
>Error: Dependent service specified in service dependency for service
>'Website #1' on host 'nt1' is not defined anywhere!
>Error: Service specified in service dependency for service 'Website #1' =
>on
>host 'nt1' is not defined anywhere!
>Error: Service dependency definition for service 'Website #1' on host =
>'nt1'
>is circular (it depends on itself)!
> Checked 4 service dependencies.
>Checking host escalations...
> Checked 0 host escalations.
>Checking host dependencies...
> Checked 0 host dependencies.
>Checking commands...
> Checked 22 commands.
>Checking time periods...
> Checked 4 time periods.
>Checking for circular paths between hosts...
>Checking for circular service execution dependencies...
>Checking global event handlers...
>Checking obsessive compulsive service processor command...
>Checking misc settings...
>=20
>Total Warnings: 0
>Total Errors: 12
>=20
>***> One or more problems was encountered while running the pre-flight
>check...
>=20
> Check your configuration file(s) to ensure that they contain valid
> directives and data defintions. If you are upgrading from a =
>previous
> version of Nagios, you should be aware that some =
>variables/definitions
> may have been removed or modified in this version. Make sure to =
>read
> the HTML documentation on the main and host config files, as well =
>as
>the
> 'Whats New' section to find out what has changed.
>
>
>
>Thanks Regards=20
>Shiju Jacob=20
>
>http://www.intila.com
>
>
>
>
>
>christian gattermair wrote:
>>
>>hi!
>>
>>ps -A | grep nagios - is nagios running?
>>
>>try 'nagios -v nagios.cfg' and post the output
>>
>>greetz,
>>
>>chris
>>
>>Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob:
>>> Hi all
>>>
>>>
>>> I have complied the nagios the same way the document say's
>>> i am able to get the first page but when i click on any link it =
>gives the
>>> forrlowing error please help me out
>>>
>>>
>>>
>>> Whoops!
>>>
>>> Error: Could not read host and service status information!
>>>
>>> The most common cause of this error message (especially for new =
>users),
>is
>>> the fact that Nagios is not actually running. If Nagios is indeed =
>not
>>> running, this is a normal error message. It simply indicates that =
>the
>CGIs
>>> could not obtain the current status of hosts and services that are =
>being
>>> monitored. If you've just installed things, make sure you read the
>>> documentation on starting Nagios.
>>>
>>> Some other things you should check in order to resolve this error
>include:
>>>
>>> 1. Check the Nagios log file for messages relating to startup or
>status
>>> data errors.
>>> 2. Always verify configuration options using the -v command-line
>option
>>> before starting or restarting Nagios!
>>> 3. Make sure you've compiled the main program and the CGIs to use =
>the
>>> same status data storage options (i.e. text file or database). If =
>the
>main
>>> program is storing status data in a text file and the CGIs are =
>trying to
>>> read status data from a database, you'll have problems.
>>>
>>> Make sure you read the documentation on installing, configuring and
>running
>>> Nagios thoroughly before continuing. If all else fails, try sending =
>a
>>> message to one of the mailing lists. More information can be found =
>at
>>> http://www.nagios.org.
>>>
>>>
>>>
>>>
>>> Thanks Regards
>>> Shiju Jacob
>>>
>>> http://www.intila.com
>>>
>
>
>
>christian gattermair wrote:
>>
>>hi!
>>
>>ps -A | grep nagios - is nagios running?
>>
>>try 'nagios -v nagios.cfg' and post the output
>>
>>greetz,
>>
>>chris
>>
>>Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob:
>>> Hi all
>>>
>>>
>>> I have complied the nagios the same way the document say's
>>> i am able to get the first page but when i click on any link it =
>gives the
>>> forrlowing error please help me out
>>>
>>>
>>>
>>> Whoops!
>>>
>>> Error: Could not read host and service status information!
>>>
>>> The most common cause of this error message (especially for new =
>users),
>is
>>> the fact that Nagios is not actually running. If Nagios is indeed =
>not
>>> running, this is a normal error message. It simply indicates that =
>the
>CGIs
>>> could not obtain the current status of hosts and services that are =
>being
>>> monitored. If you've just installed things, make sure you read the
>>> documentation on starting Nagios.
>>>
>>> Some other things you should check in order to resolve this error
>include:
>>>
>>> 1. Check the Nagios log file for messages relating to startup or
>status
>>> data errors.
>>> 2. Always verify configuration options using the -v command-line
>option
>>> before starting or restarting Nagios!
>>> 3. Make sure you've compiled the main program and the CGIs to use =
>the
>>> same status data storage options (i.e. text file or database). If =
>the
>main
>>> program is storing status data in a text file and the CGIs are =
>trying to
>>> read status data from a database, you'll have problems.
>>>
>>> Make sure you read the documentation on installing, configuring and
>running
>>> Nagios thoroughly before continuing. If all else fails, try sending =
>a
>>> message to one of the mailing lists. More information can be found =
>at
>>> http://www.nagios.org.
>>>
>>>
>>>
>>>
>>> Thanks Regards
>>> Shiju Jacob
>>>
>>> http://www.intila.com
>>>
>>>
>>>
>>>
>>> _______________________________________________________________
>>> Look out from OutLook and escape from Netscape
>>> Logon to: http://mail4india.com
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF email is sponsored by - The IT Product Guide
>>> Read honest & candid reviews on hundreds of IT Products from real =
>users.
>>> Discover which products truly live up to the hype. Start reading =
>now.
>>> http://productguide.itmanagersjournal.com/
>>> _______________________________________________
>>> 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
>>
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real =
>users.
>>Discover which products truly live up to the hype. Start reading now.=20
>>http://productguide.itmanagersjournal.com/
>>_______________________________________________
>>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.=20
>>::: Messages without supporting info will risk being sent to /dev/null
>>
>
>_______________________________________________________________
>Look out from OutLook and escape from Netscape=20
>Logon to: http://mail4india.com
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real =
>users.
>Discover which products truly live up to the hype. Start reading now.=20
>http://productguide.itmanagersjournal.com/
>_______________________________________________
>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.=20
>::: Messages without supporting info will risk being sent to /dev/null
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://productguide.itmanagersjournal.com/
>_______________________________________________
>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
>
_______________________________________________________________
Look out from OutLook and escape from Netscape
Logon to: http://mail4india.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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