Re: [Nagios-users] Users unable to authenticate, and access the ../nagios site.

2011-07-12 Thread William Muriithi
I second Jim here. Its not a nagios problem. Nagios only prevent access to CGI files - but apache should be able to authenticate you irrespective on of nagios config state. - Original Message - From: Jim Avery To: doep...@gmail.com ; Nagios Users List Sent: Tue Jul 12 16:48:37 2011 Su

Re: [Nagios-users] Users unable to authenticate, and access the ../nagios site.

2011-07-12 Thread Jim Avery
On 12 July 2011 22:07, dOE wrote: > Distributor ID: Ubuntu > Description: Ubuntu 10.10 > Release: 10.10 > Codename: maverick > Nagios: 3.0.3 > > I executed the following commands > > htpasswd -c /usr/local/nagios/etc/htpasswd.users users_name > service apache2 reload > > I have a local user named

[Nagios-users] Users unable to authenticate, and access the ../nagios site.

2011-07-12 Thread dOE
Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick Nagios: 3.0.3 I executed the following commands htpasswd -c /usr/local/nagios/etc/htpasswd.users users_name service apache2 reload I have a local user named "user_name" as well And my cgi.cfg has the usernames as

Re: [Nagios-users] ./check_tcp: No such file or directory

2011-07-12 Thread dOE
Thanks, that did the trick. Appreciate the help. On Tue, Jul 12, 2011 at 10:45 AM, Assaf Flatto wrote: > If you installed the plugins from a source , one of the stages was "make > install" > That stage (usually the last one) places the plugins in the target > directory ( if you did not change

Re: [Nagios-users] ./check_tcp: No such file or directory

2011-07-12 Thread Assaf Flatto
If you installed the plugins from a source , one of the stages was "make install" That stage (usually the last one) places the plugins in the target directory ( if you did not change anything during the "configure" state , it will be in /usr/local/nagios/libexec ) So the steps are easy , IF yo

Re: [Nagios-users] ./check_tcp: No such file or directory

2011-07-12 Thread dOE
Assaf, Could you explain with a little more detail how I could recover the "check_tcp" from the source exactly? thanks On Tue, Jul 12, 2011 at 10:21 AM, Assaf Flatto wrote: > dOE wrote: > > Hi, > > > > I inadvertently deleted/overwrote the "check_tcp" file in ../libexec. > > I tried copying th

Re: [Nagios-users] ./check_tcp: No such file or directory

2011-07-12 Thread dOE
Ok, I think I may have figured out the issue. It seems the check_tcp I copied was 32-bit, and all of the other "checks" are 64-bit (the server itself is 64-bit OS as well. *check_tcp: ELF 32-bit *LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2

Re: [Nagios-users] ./check_tcp: No such file or directory

2011-07-12 Thread Assaf Flatto
dOE wrote: > Hi, > > I inadvertently deleted/overwrote the "check_tcp" file in ../libexec. > I tried copying the file back from another Nagios instance (same build > 3.0.3), but when I execute it it I get a "No such file or directory". > My permissions for the file are no different than other

[Nagios-users] ./check_tcp: No such file or directory

2011-07-12 Thread dOE
Hi, I inadvertently deleted/overwrote the "check_tcp" file in ../libexec. I tried copying the file back from another Nagios instance (same build 3.0.3), but when I execute it it I get a "No such file or directory". My permissions for the file are no different than other "checks_" in the director

Re: [Nagios-users] Nagios force host/service check

2011-07-12 Thread C. Bensend
> Thanks for the response. Below are entries that are made in > ssl_access_log: > > When I click on "Re-schedule the next check of this service", it creates > the following entry: > > 139.222.121.213 - xca10...@uea.ac.uk [12/Jul/2011:11:03:10 +0100] "GET > /nagios/cgi-bin/cmd.cgi?cmd_typ=7&host=cn

Re: [Nagios-users] Nagios force host/service check

2011-07-12 Thread Miah Wadud Dr (ITCS)
Hello, Thanks for the response. Below are entries that are made in ssl_access_log: When I click on "Re-schedule the next check of this service", it creates the following entry: 139.222.121.213 - xca10...@uea.ac.uk [12/Jul/2011:11:03:10 +0100] "GET /nagios/cgi-bin/cmd.cgi?cmd_typ=7&host=cn001&s

Re: [Nagios-users] Help: How to use check_snmp plugin to get the monitor APC PDU?

2011-07-12 Thread Lee Eric
Thanks mate, actually I have made it work several days ago. It works well. Example: == define service { use local-service hostgroup_name pdu-16 service_description Load check_command check_snmp!.1.3.6.1.4.1.318.1.

Re: [Nagios-users] Help: How to use check_snmp plugin to get the monitor APC PDU?

2011-07-12 Thread Jim Avery
On 9 July 2011 15:02, Lee Eric wrote: > Hi, > > Does anyone ever use check_snmp plugin to get the monitor APC PDU? I > know there are some plugins can do this but I'd like to use this one > to do more standard. I have downloaded the Powernet MIB file. An example of how I monitor output percent l

[Nagios-users] Using WMI

2011-07-12 Thread nag ios
Hi , To check my windows machine i have tried to edit the windows.cfg file and created the window.cfg with few changes the content of the files are define host{ use windows-server ; Inherit default values from a Windows server template (make sure you keep this line!) host_name winserver