Re: Nagios check_by_ssh

2022-01-11 Thread Stuart Henderson
On 2022-01-11, Nick Holland wrote: > On 1/10/22 6:33 PM, F Bax wrote: >> nagios install creates user _nagios with login = /sbin/nologin >> I have some OpenBSD systems not configured to send email to external >> addresses; there is one system (host0) that is configured to send email >> outside. I w

Re: Nagios check_by_ssh

2022-01-11 Thread Nick Holland
On 1/10/22 6:33 PM, F Bax wrote: nagios install creates user _nagios with login = /sbin/nologin I have some OpenBSD systems not configured to send email to external addresses; there is one system (host0) that is configured to send email outside. I wish to use nagios on host0 to monitor the other

Re: [Solved] Re: Nagios/OpenBSD 5.8: success anyone?

2016-03-01 Thread Olivier Debré
Olivier Debré free.fr> writes: [...] > I still have some minor 404 difficulties with icons and stylesheets, but > managed to correct them with some dirty directory duplication. With the help of jiri and others, I finally have a working config, compatible with nagios-4.0.8p1-chroot and nagios-web

[Solved] Re: Nagios/OpenBSD 5.8: success anyone?

2016-02-26 Thread Olivier Debré
Jiri B devio.us> writes: [...] > >location "/cgi-bin/nagios/*.cgi" { > > root "/cgi-bin/nagios/*.cgi" > ^^ seems wrong > > man httpd.conf says it should be path, so i assume wildcard > is wrong. Hello and thanks a lot, Jiri. A

Re: Nagios/OpenBSD 5.8: success anyone?

2016-02-25 Thread Jiri B
On Thu, Feb 25, 2016 at 04:24:31PM +, Olivier Debr wrote: > Symptoms: > trying to access any cgi yields error 500 and lines as follows in > /var/log/messages > slowcgi[32405]: execve /cgi-bin/nagios/: Is a directory > > [...] > I have never used slowcgi but check below: > lan_ip="em0" > serve

Re: Nagios package incomplete? Anybody got it working? OBSD 4.5

2009-07-22 Thread Dr Alastair F. Brown
Quoting "Andres Salazar" : Hello, Iam using OBSD 4.5, and i tried to install Nagios nagios-3.0.6p1 (also tried nagios-3.0.6p1-chroot) from packages.. and Ive noticed that after the install the WebGUI files are missing and there is no instruction whatsoever if one should need to get these from

Re: Nagios package incomplete? Anybody got it working? OBSD 4.5

2009-07-21 Thread Stuart Henderson
On 2009-07-21, Andres Salazar wrote: > Hello, > > Iam using OBSD 4.5, and i tried to install Nagios nagios-3.0.6p1 (also > tried nagios-3.0.6p1-chroot) from packages.. and Ive noticed that after the > install the WebGUI files are missing and there is no instruction whatsoever > if one should need

Re: nagios check_via_ssh on (chroot) OpenBSD

2008-09-17 Thread Mike Erdely
On Fri, Sep 12, 2008 at 10:26:37PM +0200, Pete Vickers wrote: > Does anyone have it running in nagios chroot environment ? I used to. > perhaps like the ssh libraries are not needed, but where should the ssh > keys be put ? Libraries not needed since it's /usr/local/sbin/nagios that executes th

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Stuart Henderson
On 2008-05-08, Chris Kuethe <[EMAIL PROTECTED]> wrote: > On Thu, May 8, 2008 at 8:52 AM, Brian A. Seklecki ><[EMAIL PROTECTED]> wrote: >> Nagios checks almost never have sufficient debugging mechanisms, and UDP >> services dont send RST+ICMP. > > you should get an ICMP port unreachable if there i

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Chris Kuethe
On Thu, May 8, 2008 at 8:52 AM, Brian A. Seklecki <[EMAIL PROTECTED]> wrote: > Nagios checks almost never have sufficient debugging mechanisms, and UDP > services dont send RST+ICMP. you should get an ICMP port unreachable if there is no UDP service listening. i haven't looked at nagios, but i

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Brian A. Seklecki
On Thu, 2008-05-08 at 14:33 +0200, Pete Vickers wrote: > that works fine: > > $ ~>/usr/local/libexec/nagios/check_ntp_time -H ntp1 > NTP OK: Offset 0.0008395434124 secs|offset=0.000840s; > 60.00;120.00; > > but, I'm trying to verifty the NTP server's health, not that my > monitoring h

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Stuart Henderson
On 2008/05/08 14:33, Pete Vickers wrote: > > that works fine: > > $ ~>/usr/local/libexec/nagios/check_ntp_time -H ntp1 > NTP OK: Offset 0.0008395434124 > secs|offset=0.000840s;60.00;120.00; > > but, I'm trying to verifty the NTP server's health, not that my > monitoring host is sync'd to

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Dave Ewart
On Thursday, 08.05.2008 at 13:29 +0200, Pete Vickers wrote: >>> Has anybody gotten Nagois' check_ntp_* to play nicely with a remote >>> openntp service ? It appears to rely upon services not implemented >>> in openntp ? >> >> openntpd does not listen on port 123 by default: that's what Nagios >>

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Pete Vickers
that works fine: $ ~>/usr/local/libexec/nagios/check_ntp_time -H ntp1 NTP OK: Offset 0.0008395434124 secs|offset=0.000840s; 60.00;120.00; but, I'm trying to verifty the NTP server's health, not that my monitoring host is sync'd to it. "Notes: This plugin checks the clock offset b

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Stuart Henderson
On 2008-05-08, Pete Vickers <[EMAIL PROTECTED]> wrote: > Has anybody gotten Nagois' check_ntp_* to play nicely with a remote > openntp service ? It appears to rely upon services not implemented > in openntp ? this is against an OpenNTP server; <[EMAIL PROTECTED]:12>$ /usr/local/libexec/nagio

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Pete Vickers
Hi, That's not the problem ! - the hosting is correctly listening, and indeed other hosts are correctly syncing to it. It's only the nagios check_ntp_* that doesn't like it. $ ~> grep -i listen /etc/ntpd.conf # Addresses to listen on (ntpd does not listen by default) listen on * $ ~> ps -

Re: nagios monitoring of a remote openntp service

2008-05-08 Thread Dave Ewart
On Thursday, 08.05.2008 at 11:53 +0200, Pete Vickers wrote: > Has anybody gotten Nagois' check_ntp_* to play nicely with a remote > openntp service ? It appears to rely upon services not implemented > in openntp ? openntpd does not listen on port 123 by default: that's what Nagios would use to m

Re: Nagios plugin for checking OpenBGPd-Peers

2007-02-15 Thread Henning Brauer
* Falk Brockerhoff - smartTERRA GmbH <[EMAIL PROTECTED]> [2007-02-14 22:24]: > has anybody wrote a nagios plugin to check the presence of some > specified bgp-peers set up with openbgpd? not that I am aware of; but I have kind of prepared it :) the way to go is pbly: -restricted control socket (

Re: nagios check_carp for OpenBSD carp(4)

2006-12-19 Thread Joel Knight
--- Quoting Christopher Snell on 2006/12/18 at 22:38 -0700: > On 12/15/06, Brian A. Seklecki <[EMAIL PROTECTED]> wrote: > >Thoughts? Strategies? Ideas? > >--- > > > >Ask the machine directly? Ask an adjacent machine? > > Joel Knight just released an updated OpenBSD SNMP MIB that supports > readin

Re: nagios check_carp for OpenBSD carp(4)

2006-12-18 Thread Christopher Snell
On 12/15/06, Brian A. Seklecki <[EMAIL PROTECTED]> wrote: Thoughts? Strategies? Ideas? --- Ask the machine directly? Ask an adjacent machine? Joel Knight just released an updated OpenBSD SNMP MIB that supports reading data from the sensors framework. Perhaps he could be persuaded to add suppo

Re: nagios check_carp for OpenBSD carp(4)

2006-12-16 Thread Henning Brauer
* Brian A. Seklecki <[EMAIL PROTECTED]> [2006-12-16 01:20]: > - C utility to ask /dev/pf pf(4) definately the best option. except that there is no carp shitz to query via /dev/pf. c'mon, it's and INTERFACE, and doesn't have ANYTHING to do with pf whatsoever. > Preempt: Unlike "HSRP Groups" wher

Re: nagios plugin: isakmpd

2006-08-16 Thread Cristiano Deana
2006/8/15, Jacob Yocom-Piatt <[EMAIL PROTECTED]>: does anyone on list have a nagios plugin that will check the status of isakmpd on an openbsd machine? Hi, I used ike-scan (http://www.nta-monitor.com/tools/ike-scan/) to check if a vpn is up. Then a shell script exiting with 0,1 or 2 status if

Re: Nagios check_bioctl available

2006-07-31 Thread Marco Peereboom
dmesg please On Mon, Jul 31, 2006 at 02:09:21PM -0700, andrew fresh wrote: > On Sun, Jul 30, 2006 at 03:03:26AM +0200, Wijnand Wiersma wrote: > > 2006/7/29, andrew fresh <[EMAIL PROTECTED]>: > > >One thing I ran into is that bioctl needs to run as root to get access > > >to /dev/bio, even for read

Re: Nagios check_bioctl available

2006-07-31 Thread andrew fresh
On Sun, Jul 30, 2006 at 03:03:26AM +0200, Wijnand Wiersma wrote: > 2006/7/29, andrew fresh <[EMAIL PROTECTED]>: > >One thing I ran into is that bioctl needs to run as root to get access > >to /dev/bio, even for read only access. Is there a way to query bioctl > >without needing root? > > Well, I

Re: Nagios check_bioctl available

2006-07-31 Thread andrew fresh
On Fri, Jul 28, 2006 at 09:17:28PM -0500, Marco Peereboom wrote: > andrew fresh wrote: > >I have written a perl script that parses the output from bioctl and > >returns it in a format that Nagios can use. > > Sweet :-) Thanks! > >One thing I ran into is that bioctl needs to run as root to get

Re: Nagios check_bioctl available

2006-07-29 Thread Wijnand Wiersma
2006/7/29, andrew fresh <[EMAIL PROTECTED]>: One thing I ran into is that bioctl needs to run as root to get access to /dev/bio, even for read only access. Is there a way to query bioctl without needing root? Well, I think you only need the status of the drives and that is availlable using sys

Re: Nagios check_bioctl available

2006-07-28 Thread Marco Peereboom
andrew fresh wrote: I have written a perl script that parses the output from bioctl and returns it in a format that Nagios can use. Sweet :-) check_bioctl is avaliable here: http://openbsd.somedomain.net/nagios/check_bioctl-1.3.tar.gz It is useful to me, and so I thought it might be usefu

Re: Nagios check_bioctl available

2006-07-28 Thread Marco Peereboom
andrew fresh wrote: I have written a perl script that parses the output from bioctl and returns it in a format that Nagios can use. Sweet :-) check_bioctl is avaliable here: http://openbsd.somedomain.net/nagios/check_bioctl-1.3.tar.gz It is useful to me, and so I thought it might be usefu

Re: Nagios and Apache

2006-06-26 Thread Peter Blair
resource_file=/usr/local/nagios/etc/resource.cfg works great for the default source install of Nagios. But switch it to a RPM, or PKG'd version of Nagios and you can't ensure that this directive will point to the right place or not. -Pete On 6/24/06, Lars Hansson <[EMAIL PROTECTED]> wrote: On

Re: Nagios and Apache

2006-06-24 Thread Lars Hansson
On Saturday 24 June 2006 18:13, Peter Blair wrote: > At work we run Nagios across Linux, OpenBSD & FreeBSD machines. > Compiling it from source is the only way to ensure config file > compatibility. Say what? How does the compilation affect the config file? The config file format is exactly the s

Re: Nagios and Apache

2006-06-24 Thread Peter Blair
On 6/23/06, Spruell, Darren-Perot <[EMAIL PROTECTED]> wrote: Incidentally, if you haven't used the package(s) for Nagios, do. I had no problems and I went with a package install. No mysteries. At work we run Nagios across Linux, OpenBSD & FreeBSD machines. Compiling it from source is the only w

Re: Nagios and Apache

2006-06-23 Thread João Salvatti
Hi folks... Thanks for the suggestions. But I didn't have paid attention that the problem was at /etc/fstab file : noexec flag was active for /var partition. I should have paid better attention to that before. Thanks. On 6/23/06, Craig Skinner <[EMAIL PROTECTED]> wrote: On Fri, Jun 23, 2006 at

Re: Nagios and Apache

2006-06-23 Thread Craig Skinner
On Fri, Jun 23, 2006 at 03:45:35PM -0300, Joco Salvatti wrote: > > [Fri Jun 23 15:42:51 2006] [error] (13)Permission denied: exec of > /cgi-bin/nagios/tac.cgi failed /var[/www] mounted noexec in fstab?

Re: Nagios and Apache

2006-06-23 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] > > Obvious, but ensure that /var/www/cgi-bin/nagios is a valid > directory > > from the perspective of your chroot'd server. > > > > I would say that it is a valid directory... it was on my > installation. Isn't /var/www/cgi-bin a valid chroot directory > by definitio

Re: Nagios and Apache

2006-06-23 Thread Dan Farrell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Peter Blair > Sent: Friday, June 23, 2006 4:02 PM > To: Joco Salvatti > Cc: Misc OpenBSD > Subject: Re: Nagios and Apache > > Obvious, but ensure that /var/www/cgi-bin/

Re: Nagios and Apache

2006-06-23 Thread Peter Blair
Obvious, but ensure that /var/www/cgi-bin/nagios is a valid directory from the perspective of your chroot'd server. Another caveat is to ensure that the named pipe is accessable to both the nagios executable, and to the chroot'd cgi's (once they start working that is). Nagios references the pipe

Re: Nagios and Apache

2006-06-23 Thread Dan Farrell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Spruell, Darren-Perot > Sent: Friday, June 23, 2006 3:22 PM > To: Misc OpenBSD > Subject: Re: Nagios and Apache > > From: [EMAIL PROTECTED] > > I've installed and co

Re: Nagios and Apache

2006-06-23 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] > I've installed and configured nagios, and I can open the start page > with no problems. But I don't have access to the links that monitor > services, such as Tatical Overview. At apache log I have the following > error messages: > > [Fri Jun 23 15:42:51 2006] [error] (13

Re: Nagios and Apache

2006-06-23 Thread Rogier Krieger
On 6/23/06, Joco Salvatti <[EMAIL PROTECTED]> wrote: [Fri Jun 23 15:42:51 2006] [error] (13)Permission denied: exec of /cgi-bin/nagios/tac.cgi failed A quick guess: check your file permissions for tac.cgi. From errno(2): 13 EACCES Permission denied. An attempt was made to access a file in a wa

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread Simon H
viq wrote: On Wednesday 07 December 2005 23:30, Spruell, Darren-Perot wrote: In the time everyone's been discussing this I installed the packages from FTP; why are we messing with ports and FLAVORs? Some people prefer to build stuff from source on their own machine, instead of having binar

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread viq
On Wednesday 07 December 2005 23:30, Spruell, Darren-Perot wrote: > In the time everyone's been discussing this I installed the packages from > FTP; why are we messing with ports and FLAVORs? Some people prefer to build stuff from source on their own machine, instead of having binary packages fr

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread Spruell, Darren-Perot
From: viq [mailto:[EMAIL PROTECTED] > > Is there a way around this so the full install c/w plugins, > etc all work > > in a chrooted environment? > > Ah. I don't have yet that much experience with ports, and > didn't play with > nagios, so i'm afraid the help will have to come from someone > e

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread viq
On Wednesday 07 December 2005 19:01, Simon H wrote: > viq wrote: > > cd /usr/ports/net/nagios/ && FLAVOR=chroot make install clean-depends > > that should do it ;) > > Thanks viq, but this still fails on the plugins install as they dont > support chroot flavor aparently: > > Fatal: Unknown flavor:

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread C. Bensend
> I understand this and have tried just installing the chroot package > manually also but nothing seems to be going in the right place > (/var/www/nagios is empty after adding the chrooted package). I'm doing > this in a VM so I'm reverting back to a snapshot which is just after > updating the por

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread Simon H
Stuart Henderson wrote: --On 07 December 2005 16:52 +, Simon H wrote: Thanks for this Stuart. I tried it withe right way from the man page and it failed because the plugins dont support chroot flavor. Plugins and the main software are in subdirectories (/usr/ports/net/nagios/nagios & /

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread Simon H
viq wrote: cd /usr/ports/net/nagios/ && FLAVOR=chroot make install clean-depends that should do it ;) Thanks viq, but this still fails on the plugins install as they dont support chroot flavor aparently: Fatal: Unknown flavor: chroot (in net/nagios/plugins) (Possible flavors are: no_db

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread Stuart Henderson
--On 07 December 2005 16:52 +, Simon H wrote: Thanks for this Stuart. I tried it withe right way from the man page and it failed because the plugins dont support chroot flavor. Plugins and the main software are in subdirectories (/usr/ports/net/nagios/nagios & /usr/ports/net/nagios/plugi

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread viq
cd /usr/ports/net/nagios/ && FLAVOR=chroot make install clean-depends that should do it ;) -- viq -- INTERIA.PL | Kliknij po wiecej >>> http://link.interia.pl/f18c1

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread Simon H
Stuart Henderson wrote: --On 07 December 2005 16:12 +, Simon H wrote: ===> Installing nagios-2.0b4p0-chroot from /usr/ports/packages/i386/all/nagios-2.0b4p0-chroot.tgz Can't install nagios-2.0b4p0-chroot because of conflicts (nagios-2.0b4p0) Looks like you've already got the non-chroot

Re: Nagios Port - Installation problem (3.8)

2005-12-07 Thread Stuart Henderson
--On 07 December 2005 16:12 +, Simon H wrote: ===> Installing nagios-2.0b4p0-chroot from /usr/ports/packages/i386/all/nagios-2.0b4p0-chroot.tgz Can't install nagios-2.0b4p0-chroot because of conflicts (nagios-2.0b4p0) Looks like you've already got the non-chroot flavour installed, pkg_de

Re: Nagios: Premature end of script headers

2005-08-24 Thread Matteo Mancini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Look at this http://www.mand4la.info/index.php/NagiosObsd I've wrote this doc in italian, bat the code is the same :P BTW..try to lunch apache with -u "httpd -u" Bye Matteo Joco Salvatti wrote: > Hi all, > > I installed and configured Nagios on m

Re: Nagios: Premature end of script headers

2005-08-23 Thread L. V. Lammert
At 02:37 PM 8/23/2005 -0300, Joco Salvatti wrote: Hi all, I installed and configured Nagios on my machine. The Nagios webpage can be retrieve normally, but something strange happens when I try to retrieve host detail: "Internal Server Error The server encountered an internal error or misconfig

Re: Nagios

2005-05-19 Thread N.J. Reuvers
No. You just have to build it from source and use -- options to tell nagios where your png libraries are. Don't now the exact build phrase anymore, but just google for it and you'll find it. (I just remember; it might be in the online docs of www.nagios.org) You'll be wise to install its dependant

Re: Nagios

2005-05-19 Thread Sean Knox
Lester wrote: quick question Does a package exist for Nagios the host and server monitor software ? You can look yourself: http://openbsd.secsup.org/3.6/packages/