Nagios For Debian

Joel Roberts Joel.Roberts at pinkardcc.com
Fri Oct 5 22:10:33 CEST 2007


Ok, tried to wipe out the original Nagios install and do a clean install
from Debian Synaptic manager and now it won't load.

Following the walkthrough at
http://www.debian-administration.org/articles/299

And everything goes fine until I stop and re-start Apache, then I get
the following error:

[warn] The ScriptAlias directive in /etc/apache2/sites-enabled/nagios at
line 7 will probably never match because it overlaps an earlier
ScriptAlias

Anyone know what I need to do to remove the ScriptAlias from the
previous install? When I log onto the webpage now, every page comes back
with:

Whoops!

Error: Could not read host and service status information!

Thanks

-----Original Message-----
From: Vanhee Frederik [mailto:frederik.vanhee at perso.be] 
Sent: Friday, October 05, 2007 1:23 PM
To: Joel Roberts
Cc: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios For Debian

Joel Roberts wrote:
> Yes, I have Nagios up and running, it's currently monitoring both
> Windows and Linux Servers, but I'm unable to add any Cisco Routers
> because the check_snmp did not compile. Does the check_snmp plugin
exist
> in your /usr/local/nagios/libexec directory?
>
> If so, what snmp packages do you have installed? Etch won't let me
> install snmp because it says it's replaced by libsnmp-base and
libnsmp9.
>
> -----Original Message-----
> From: Daniel Mahoney [mailto:dan at catfolks.net] 
> Sent: Friday, October 05, 2007 8:55 AM
> To: Joel Roberts
> Subject: Re: Nagios For Debian
>
> Joel Roberts wrote:
>   
>> Is anyone else using Nagios on Debian Etch? I've got it set up for
>> monitoring Linux and Windows servers, but the check_snmp plugin won't
>> compile. The Nagios FAQ says it must be missing SNMP packages, but
>> Synaptic reports they're all installed.
>>
>> Checking the list of Nagios Plugins for the Debian install, I don't
>>     
> even
>   
>> see check_snmp listed any more. I have MRTG up and running on the
same
>> box, so I know at least the SNMP packages needed for MRTG are there.
>>
>> I've posted a message to the Nagios mailing list as well, but haven't
>> gotten any response. Hoping there's some Debian Nagios users on here.
>>
>> Thanks in advance,
>>
>> Joel
>>
>>   
>>     
> I'm running nagios-text on Etch. It installed just fine using apt-get.
>
>
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.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
>
>   
I'm running Nagios 2.9 on Debian etch; this is a list of the snmp 
related packages that are installed on the system

-snmp
-snmpd
-libsnmp-session-perl
-libsnmp-perl
-libsnmp-base
-libsnmp9
-libsnmp5
-libsnmp4.2
-libsnmp4.2-dev
-libnet-snmp-perl

I must admit that this system was upgraded from sarge to etch using 
'apt-get dist-upgrade', but I already installed various Nagios servers 
on Debian Sarge and Etch and never had any problems of that kind.
I looked up my own docs and these are my prerequisites for compiling 
snmp-plugins :
-libnetsnmp-perl
-libsnmp4.2 (or higher)
-libsnmp4.2-dev (or higher)
-snmpget
Hope this helps,

Frederik


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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