[Cialug] nagios cgi

Barry Von Ahsen barry at vonahsen.com
Wed Dec 28 21:59:29 CST 2005


sorry, I replied just to Jeff

I figured it out, I had to chmod a+r /var/log/nagios/*
then with some further prodding, it was revealed that objects.cache
needed to be o+r

-barry

David Champion wrote:
> Update: Barry found the issue, it needed read permission to the log files.
> 
> -dc
> 
> Matt Millard wrote:
> 
>> Check your apache logs...should give you the errors.
>>
>> Matt
>>
>> On Wed, 28 Dec 2005 15:12:10 -0600, "Barry Von Ahsen"
>> <barry at vonahsen.com> said:
>>
>>> cfg's are all 644 root:root
>>> no errors in log
>>> nagios -v gives no errors/warnings
>>>
>>> -barry
>>>
>>>
>>> Jeff Davis wrote:
>>>
>>>> Offhand I'd say to:
>>>>  Check the file permissions of your .cfg files
>>>>  Check log file for errors
>>>>  Do the equivalent of /usr/bin/nagios -v /etc/nagios/nagios.cfg  and
>>>> see if it spits any errors at you.
>>>>
>>>>
>>>>
>>>>
>>>> Barry Von Ahsen wrote:
>>>>
>>>>
>>>>> I've got nagios up and running happily, but I can't get the cgi
>>>>> modules configured.
>>>>>
>>>>> I can get to the main page, and the documentatino, but clicking on any
>>>>> cgi module gives "Error: Could not read object configuration data!"
>>>>>
>>>>> I created contacts, added contacts to contactgroups, added
>>>>> contactgroups to hosts, added users that match contacts to the
>>>>> htaccess files, added those users to cgi.cfg to authorized_for_*, and
>>>>> still no luck
>>>>>
>>>>> this is on mandriva 2006, the nagios-www rpm provided the apache
>>>>> configs, but they differ from what the nagios docs say.  nagios has
>>>>>
>>>>> AllowOverride AuthConfig
>>>>> order allow,deny
>>>>> allow from all
>>>>>
>>>>> in the cgi <Directory>'s, but mandriva has just
>>>>>
>>>>> order deny, allow
>>>>> deny from all
>>>>>
>>>>> (all of the rest is the same).  changing them to match doesn't help.
>>>>>
>>>>> am I missing anything obvious?
>>>>>
>>>>> -barry
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Cialug mailing list
>>>>> Cialug at cialug.org
>>>>> http://cialug.org/mailman/listinfo/cialug
>>>>
>>>>
>>>> _______________________________________________
>>>> Cialug mailing list
>>>> Cialug at cialug.org
>>>> http://cialug.org/mailman/listinfo/cialug
>>>
>>>
>>>
>>> _______________________________________________
>>> Cialug mailing list
>>> Cialug at cialug.org
>>> http://cialug.org/mailman/listinfo/cialug
>>
>>
>> ---   Matt Millard
>>   gocyclones at eml.cc
>>   http://www.millardfam.com
>>
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>>
> 
> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list