Nagios-users digest, Vol 1 #2653 - 19 msgs

funraps too funraps at yahoo.com
Fri Jun 10 06:01:10 CEST 2005


Thank you guys, but I tried both solutions and nothing worked (CentOS4), here are the permissions
drwxrwxr-x  2 nagios nagios 4.0K Jun  9 11:07 .
drwxr-xr-x  8 nagios nagios 4.0K Apr 12 11:07 ..
-rwxrwxr-x  1 nagios nagios 155K Apr 12 10:38 avail.cgi
-rwxrwxr-x  1 nagios nagios 156K Apr 12 10:38 cmd.cgi
-rwxrwxr-x  1 nagios nagios 119K Apr 12 10:38 config.cgi
-rwxrwxr-x  1 nagios nagios 171K Apr 12 10:38 extinfo.cgi
-rwxrwxr-x  1 nagios nagios 127K Apr 12 10:38 histogram.cgi
-rwxrwxr-x  1 nagios nagios 109K Apr 12 10:38 history.cgi
-rwxrwxr-x  1 nagios nagios 105K Apr 12 10:38 notifications.cgi
-rwxrwxr-x  1 nagios nagios 104K Apr 12 10:38 outages.cgi
-rwxrwxr-x  1 nagios nagios 104K Apr 12 10:38 showlog.cgi
-rwxrwxr-x  1 nagios nagios 154K Apr 12 10:38 status.cgi
-rwxrwxr-x  1 nagios nagios 122K Apr 12 10:38 statusmap.cgi
-rwxrwxr-x  1 nagios nagios 118K Apr 12 10:38 statuswml.cgi
-rwxrwxr-x  1 nagios nagios 105K Apr 12 10:38 statuswrl.cgi
-rwxrwxr-x  1 nagios nagios 124K Apr 12 10:38 summary.cgi
-rwxrwxr-x  1 nagios nagios 122K Apr 12 10:38 tac.cgi
-rwxrwxr-x  1 nagios nagios 131K Apr 12 10:38 trends.cgi
 
drwxr-xr-x   8 nagios nagios 4.0K Apr 12 11:07 .
drwxr-xr-x  18 root   root   4.0K Jun  1 14:34 ..
drwxrwxr-x   2 nagios nagios 4.0K Apr 14 18:49 bin
drwxrwx---   3 nagios nagios 4.0K Jun  9 11:20 etc
drwxr-xr-x   2 nagios nagios 4.0K Jun  9 08:38 libexec
drwxrwxr-x   2 nagios nagios 4.0K Jun  9 11:07 sbin
drwxrwxr-x   9 nagios nagios 4.0K Jun  9 08:03 share
drwxrwxr-x   4 nagios nagios 4.0K Jun  9 21:00 var



nagios-users-request at lists.sourceforge.net wrote:
Send Nagios-users mailing list submissions to
nagios-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
nagios-users-request at lists.sourceforge.net

You can reach the person managing the list at
nagios-users-admin at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagios-users digest..."


Today's Topics:

1. Re: Uptime on Linux Servers (Arnar =?ISO-8859-1?Q?=DE=F3rarinsson?=)
2. Re: SSL handshake (Tony Earnshaw)
3. RE: Re: My nagios won't work any more, STRANGE (frank)
4. RE: Re: My nagios won't work any more, STRANGE (EXT-Fuentes, James P)
5. Device missing when refreshing multiple times (awo915-nagios at yahoo.com)
6. Re: Device missing when refreshing multiple times (jeff vier)
7. RE: Device missing when refreshing multiple times (Marc Powell)
8. Re: Device missing when refreshing multiple times (awo915-nagios at yahoo.com)
9. logs (Aditya Ivaturi)
10. Re: logs (Aditya Ivaturi)
11. Availability in CSV ??? (Michael J McCafferty)
12. Re: logs (Arno Lehmann)
13. NSClient++ 0.2.2 released (Michael Medin)
14. Re: Availability in CSV ??? (Michael Medin)
15. Any experience with notifications via jabber ? (Stanley Hopcroft)
16. Re: Any experience with notifications via jabber ? (Paul L. Allen)
17. Re: Any experience with notifications via jabber ? (Jason Martin)
18. Re: Any experience with notifications via jabber ? (Stanley Hopcroft)
19. recursive cfg_dir (jbiskofski)

--__--__--

Message: 1
Subject: Re: [Nagios-users] Uptime on Linux Servers
From: Arnar =?ISO-8859-1?Q?=DE=F3rarinsson?= 
Reply-To: art at caa.is
To: Richard Santiago 
Cc: nagios-users at lists.sourceforge.net
Organization: =?ISO-8859-1?Q?Flugm=E1lastj=F3rn?=
=?ISO-8859-1?Q?_=CDslands?=
Date: Thu, 09 Jun 2005 18:11:08 +0000

check_snmp is in nagios-plugins 1.4 ( and probably in earlier versions )
( http://www.nagiosexchange.org/Plugin_Packages.52.0.html?
&tx_netnagext_pi1[p_view]=32) 

Requires the NET-SNMP package, if net-snmp is not on your nagios host
then check_snmp binary is not created when building nagios-plugins
( net-snmp found at http://net-snmp.sourceforge.net )

...if that does not help try check_by_ssh, don't think there are any
requirements for that :)


On Thu, 2005-06-09 at 13:38 -0400, Richard Santiago wrote:
> Hi,
> 
> 
> 
> Iÿm tring to pull the uptime for all Linux servers into Nagios.
> Besides using check_snmp (which I found nowhere and itÿs used by
> check_uptime) is there another solution for this?.
> 
> 
> 
> Thanks.
> 
> 
> 
> Richard Santiago
> 
> OSI - Administración de Sistemas
> 
> UPR - Recinto de Ciencias Médicas
> 
> phone: 787.758.2525 x. 2934
> 
> e-mail: rsantiago at rcm.upr.edu
> 
> 
> 
> 
> 
> 
-- 
Regards
Arnar Thorarinsson

Software Programmer / System Administrator
Systems Department, Air Traffic Services
Phone : +354 569 4289
------------------------------------------
Icelandic Civil Aviation Administration
Reykjavik Airport
IS 121 Reykjavik
Iceland
http://www.caa.is
------------------------------------------



--__--__--

Message: 2
Subject: Re: [Nagios-users] SSL handshake
From: Tony Earnshaw 
To: nagios-users at lists.sourceforge.net
Organization: Billy
Date: Thu, 09 Jun 2005 19:53:24 +0200

tor, 09.06.2005 kl. 19.17 skrev Subhendu Ghosh:

[...]

> > There is a bug I found that I want to report. When the file nrpe
> > is created out of source it call the service ncsa or something.
> > After changing that to nrpe everything seems to be working now.

> Where and what source did you use? NRPE and NSCA are 2 different tarbal 
> releases.

I think OP's saying that his /etc/services had an entry for NCSA on port
5666, which he changed to NRPE.

--Tonni

-- 
mail: tonye at billy.demon.nl
http://www.billy.demon.nl




--__--__--

Message: 3
Date: Thu, 9 Jun 2005 12:25:24 -0700 (PDT)
From: frank 
To: funraps too 
cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Re: My nagios won't work any more, STRANGE

On Thu, 9 Jun 2005, funraps too wrote:

> Thanks,
> I figured it out, although the nagios -v check didn't see any problems, some of the log files indicated issues.
> Now I have nagios working but the web CGI isn't working.
> I even redid the httpd.conf and .htapasswd just like the docs, still not working!
> I changed permissions to the file below to nagios, nagioscmd, apache but still getting:
> (13)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users

[snip]

> ==> error_log <==
> Thu Jun :5:2 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: https://monitor/top_Framehtm
> [Thu Jun :5:2 25] [error] [client ] user dcn not found: /nagios/cgi-bin/statuscgi, referer: https://monitor/top_Framehtm
> ls -al /usr/local/nagios/etc/htpasswd.users
> -rw-r--r-- 1 nagios nagios 21 Jun 9 10:07 /usr/local/nagios/etc/htpasswd.users


Check the directory permissions on /usr/local/nagios and 
/usr/local/nagios/etc. Just because a file is marked readable does not 
mean the user has access to the directory it lives in.

-f


--__--__--

Message: 4
Subject: RE: [Nagios-users] Re: My nagios won't work any more, STRANGE
Date: Thu, 9 Jun 2005 12:54:43 -0700
From: "EXT-Fuentes, James P" 
To: "funraps too" , 

I had to "chcon -R system_u:object_r:httpd_sys_script_exec_t =
/usr/local/nagios/sbin(or nagios CGI bin)" to get by a what sounds like =
a similar situation on Fedora. Do a search on that if it looks like the =
same deal.
-Jim

________________________________

From: funraps too [mailto:funraps at yahoo.com]
Sent: Thu 6/9/2005 11:05 AM
To: EXT-Fuentes, James P; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Re: My nagios won't work any more, STRANGE


Thanks,
I figured it out, although the nagios -v check didn't see any problems, =
some of the log files indicated issues.
Now I have nagios working but the web CGI isn't working.
I even redid the httpd.conf and .htapasswd just like the docs, still not =
working!
I changed permissions to the file below to nagios, nagioscmd, apache but =
still getting:
(13)Permission denied: Could not open password file: =
/usr/local/nagios/etc/htpasswd.users
Web interface shows:
Authorization Required
This server could not verify that you are authorized to access the =
document requested. Either you supplied the wrong credentials (e.g., bad =
password), or your browser doesn't understand how to supply the =
credentials required.
=3D=3D> error_log <=3D=3D
[Thu Jun :2:7 25] [notice] caught SIGTERM, shutting down
[Thu Jun :2: 25] [notice] suEXEC mechanism enabled (wrapper: =
/usr/sbin/suexec)
[Thu Jun :2: 25] [notice] Digest: generating secret for digest =
authentication=20
[Thu Jun :2: 25] [notice] Digest: done
[Thu Jun :2: 25] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jun :2: 25] [notice] LDAP: SSL support unavailable
[Thu Jun :2: 25] [notice] mod_python: Creating session mutexes based on =
256 max processes and max threads
[Thu Jun :2: 25] [notice] Apache/252 (CentOS) configured -- resuming =
normal operations
[Thu Jun :2:23 25] [error] [client ] (3)Permission denied: Could not =
open password file: /usr/local/nagios/etc/htpasswdusers, referer: =
http://2/nagios/sidehtml
[Thu Jun :2:23 25] [error] [client ] user not found: =
/nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml
[Thu Jun :7:6 25] [error] [client ] (3)Permission denied: Could not open =
password file: /usr/local/nagios/etc/htpasswdusers, referer: =
http://2/nagios/sidehtml
[Thu Jun :7:6 25] [error] [client ] user not found: =
/nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml
[Thu Jun :7: 25] [error] [client ] (3)Permission denied: Could not open =
password file: /usr/local/nagios/etc/htpasswdusers, referer: =
http://2/nagios/sidehtml
[Thu Jun :7: 25] [error] [client ] user nagios not found: =
/nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml
[Thu Jun :: 25] [error] [client ] (3)Permission denied: Could not open =
password file: /usr/local/nagios/etc/htpasswdusers, referer: =
http://2/nagios/sidehtml
[Thu Jun :: 25] [error] [client ] user nagios not found: =
/nagios/cgi-bin/configcgi, referer: http://2/nagios/sidehtml
[Thu Jun ::3 25] [error] [client ] (3)Permission denied: Could not open =
password file: /usr/local/nagios/etc/htpasswdusers, referer: =
http://2/nagios/sidehtml
[Thu Jun ::3 25] [error] [client ] user nagios not found: =
/nagios/cgi-bin/configcgi, referer: http://2/nagios/sidehtml
=3D=3D> error_log <=3D=3D
Thu Jun :5:2 25] [error] [client ] (3)Permission denied: Could not open =
password file: /usr/local/nagios/etc/htpasswdusers, referer: =
https://monitor/top_Framehtm
[Thu Jun :5:2 25] [error] [client ] user dcn not found: =
/nagios/cgi-bin/statuscgi, referer: https://monitor/top_Framehtm
ls -al /usr/local/nagios/etc/htpasswd.users
-rw-r--r-- 1 nagios nagios 21 Jun 9 10:07 =
/usr/local/nagios/etc/htpasswd.users


"EXT-Fuentes, James P" wrote:

This says that there either is no PID or the wrong PID
=09
"kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... =
or kill...."
=09
Do a "ps" to see what's running.
=09
-Jim
=09
________________________________
=09
From: funraps too [mailto:funraps at yahoo.com]
Sent: Thu 6/9/2005 6:44 AM
To: funraps too; nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Re: My nagios won't work any more, STRANGE
=09
=09
Good Morning,
=09
Can anyone assist me with this?
Been a few days since my Nagios has worked... driving me nuts...
=09
Thanks
=09
funraps too wrote:
=09
Good Morning,
=09
I had Nagios working fine then I installed Monarch and it was still =
working, then it just stopped!
There are no errors when I issue nagios -v but the service will not =
start, I even tried to reinstall it. There is no status file
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 2.0b3
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org )
Last Modified: 04-03-2005
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 59 services.
Checking hosts...
Checked 32 hosts.
Checking host groups...
Checked 5 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 7 contacts.
Checking contact groups...
Checked 5 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 23 host dependencies.
Checking commands...
Checked 28 commands.
Checking time periods...
Checked 3 time periods.
Ch! ec! king extended host info definitions...
Checked 32 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the =
pre-flight check
[root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d =
/usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios restart
Running configuration check...done
Stopping network monitor: nagios
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or =
kill -l [sigspec]
Starting network monitor: nagios
[root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop
Stopping network monitor: nagios
kill: usage: kill [-s! s! igspec | -n signum | -sigspec] [pid | job]... =
or kill -l [sigspec]
[root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start
Starting network monitor: nagios
[root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios
=09
=09
=09
________________________________
=09
Discover Yahoo!
Stay in touch with email, IM, photo sharing & more. Check it out!=20
=09
________________________________
=09
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news & more. Check it out!=20
=09

________________________________

Discover Yahoo!
Find restaurants, movies, travel & more fun for the weekend. Check it =
out! =
ml>=20


--__--__--

Message: 5
Date: Thu, 9 Jun 2005 13:32:34 -0700 (PDT)
From: "awo915-nagios at yahoo.com" 
Reply-To: awo915-nagios at yahoo.com
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Device missing when refreshing multiple times

Hello,

We have a device that comes up missing if you refresh
your browser. If you refresh multiple times the
device will come and go.

As anyone inexperienced this or have an idea of what
would fix this problem? We are using 1.2 on Redhat ES
2.

Thanks
Travis


--__--__--

Message: 6
Subject: Re: [Nagios-users] Device missing when refreshing multiple times
From: jeff vier 
Reply-To: boinger at tradingtechnologies.com
To: awo915-nagios at yahoo.com
Cc: nagios-users 
Organization: TT
Date: Thu, 09 Jun 2005 15:41:02 -0500


--=-y1sotTsme1TxY3q6deIy
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2005-06-09 at 13:32 -0700, awo915-nagios at yahoo.com wrote:
> Hello,
>=20
> We have a device that comes up missing if you refresh
> your browser. If you refresh multiple times the
> device will come and go.
>=20
> As anyone inexperienced this or have an idea of what
> would fix this problem? We are using 1.2 on Redhat ES
> 2.

you have multiple instances of nagios running concurrently.

--=-y1sotTsme1TxY3q6deIy
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCqKld2Lh5h/NRnWwRAoSRAJ4+JwfHuoCOegCgKNHz/UMa3j3PfQCgk2Pe
4lAq+luvd5ntRYOBVdTD4dc=
=fv7v
-----END PGP SIGNATURE-----

--=-y1sotTsme1TxY3q6deIy--



--__--__--

Message: 7
Subject: RE: [Nagios-users] Device missing when refreshing multiple times
Date: Thu, 9 Jun 2005 15:40:08 -0500
From: "Marc Powell" 
To: 



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of awo915-nagios at yahoo.com
> Sent: Thursday, June 09, 2005 3:33 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Device missing when refreshing multiple times
>=20
> Hello,
>=20
> We have a device that comes up missing if you refresh
> your browser. If you refresh multiple times the
> device will come and go.
>=20
> As anyone inexperienced this or have an idea of what
> would fix this problem? We are using 1.2 on Redhat ES
> 2.

That would be the link titled "Hosts and services intermittently
disappear from the web interface" at
http://www.nagios.org/faqs/index.php?section_id=3D8&expand=3Dfalse&showde=
sc=3D
false.

--
Marc


--__--__--

Message: 8
Date: Thu, 9 Jun 2005 13:55:25 -0700 (PDT)
From: "awo915-nagios at yahoo.com" 
Reply-To: awo915-nagios at yahoo.com
Subject: Re: [Nagios-users] Device missing when refreshing multiple times
To: nagios-users at lists.sourceforge.net

Jeff,

Checked that and it shows one running. However, when
we run service nagios stop the process its self is not
actually dying off. We killed that process and
restarted nagios and it is now just fine.

Your reply was extremely helpful.

Thank you very much
Travis

--- jeff vier wrote:

> On Thu, 2005-06-09 at 13:32 -0700,
> awo915-nagios at yahoo.com wrote:
> > Hello,
> > 
> > We have a device that comes up missing if you
> refreshboinger at tradingtechnologies.com
> > your browser. If you refresh multiple times the
> > device will come and go.
> > 
> > As anyone inexperienced this or have an idea of
> what
> > would fix this problem? We are using 1.2 on
> Redhat ES
> > 2.
> 
> you have multiple instances of nagios running
> concurrently.
> 



--__--__--

Message: 9
To: nagios-users at lists.sourceforge.net
From: Aditya Ivaturi 
Date: Thu, 9 Jun 2005 16:13:33 -0500
Subject: [Nagios-users] logs

This is a multipart message in MIME format.
--=_alternative 00747C0C8625701B_=
Content-Type: text/plain; charset="US-ASCII"

I have turned on all types of logging options provided but the only I ever 
see is the startup log messages. Apart from that I don't see any other 
log messages even the shutdown messages. Shouldn't I be seeing log of all 
actions nagios is performing?

--=_alternative 00747C0C8625701B_=
Content-Type: text/html; charset="US-ASCII"



I have turned on all types of logging
options provided but the only I ever see is the startup log messages.  Apart
from that I don't see any other log messages even the shutdown messages.
Shouldn't I be seeing log of all actions nagios is performing?


--=_alternative 00747C0C8625701B_=--


--__--__--

Message: 10
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] logs
From: Aditya Ivaturi 
Date: Thu, 9 Jun 2005 16:29:12 -0500

This is a multipart message in MIME format.
--=_alternative 0075EB278625701B_=
Content-Type: text/plain; charset="US-ASCII"

> I have turned on all types of logging options provided but the only I 
ever see is the startup log messages. Apart from that I don't see any 
other log messages even the shutdown messages.
> Shouldn't I be seeing log of all actions nagios is performing? 

Another update - I ran the check_nagios command that the cgi should be 
running and here is its output:

"Nagios problem: located 3 processes, status log updated 1118352322 
seconds ago"

Does that mean that there should be only one nagios process running? 


--=_alternative 0075EB278625701B_=
Content-Type: text/html; charset="US-ASCII"







>  I have turned on all types
of logging options provided but the only I ever see is the startup log
messages.  Apart from that I don't see any other log messages even
the shutdown messages.

>  Shouldn't I be seeing log
of all actions nagios is performing? 



Another update - I ran the check_nagios command that the
cgi should be running and here is its output:



"Nagios problem: located 3 processes, status log
updated 1118352322 seconds ago"



Does that mean that there should be only one nagios process
running? 




--=_alternative 0075EB278625701B_=--


--__--__--

Message: 11
Date: Thu, 9 Jun 2005 14:30:59 -0700
From: Michael J McCafferty 
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Availability in CSV ???

All,

I need to import the Availability report data into another report format. It
seems the easiest way is to use CSV. Is there a hack or feature to get the
avail.cgi output into CSV format ?

Thanks,
Mike

-- 
************************************************************ 
Michael J. McCafferty 
Principal, Security Engineer 
M5 Hosting
858-576-7325 Voice 
http://www.m5hosting.com 
************************************************************

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



--__--__--

Message: 12
Date: Thu, 09 Jun 2005 23:58:58 +0200
From: Arno Lehmann 
To: Aditya Ivaturi 
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] logs

Hello,

Aditya Ivaturi wrote:

> 
> 
> 
> > I have turned on all types of logging options provided but the only 
> I ever see is the startup log messages. Apart from that I don't see any 
> other log messages even the shutdown messages.

=== message truncated ===
		
---------------------------------
Discover Yahoo!
 Find restaurants, movies, travel & more fun for the weekend. Check it out!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050609/be955f8b/attachment.html>


More information about the Users mailing list