[Nagios-users] bug tracker

2008-05-15 Thread Kupor Laszlo

Hello!

I search public bug tracker of nagios over the internet, but found 
nothing.
If i have a bug how to submit to developers?

The problem:

Switch my configuration from nagios 2.6 to 3.0.1. After some configuration 
changes nagios3 works good, but host dependencies check not work.
(i use nagios on relative large tree like network and if host dependencies 
not works we get notification storm if any root or closer to root host 
died)
If i not use inheritance (inherit_parent) host dependency works good(but 
the network dependency confuguration terrible),
if i set inheritance after 2 or more level of dependency nagios checker 
get error:
Error: A circular notification dependency (which could result in a 
deadlock) exists for host XYZ

This configuration works good (and as is expected in nagios 2)
How to submit this ?bug? to developers?

Thanks!

Udv.: Willy
--
PGP GNUPG/1.0 ID = 5BFA0D36 Kupor Laszlo Attila [EMAIL PROTECTED]
Key fingerprint  = 3F68 9483 5B65 8E2F CD30  5326 50F9 5A33 5BFA 0D36

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Overriding interval_length for certain hosts/services

2008-05-15 Thread Hari Sekhon
Kim Christensen wrote:
 Hey gang,

 Is it possible to override the default value of interval_length for
 certain hosts or services?

 I have a scenario where I need to check an HTTP service in shorter
 intervals than the other services, which now defaults to 60.

   
You mean you want to have checks run more frequently than every 60 
seconds but since this is the interval_length you can only put 1 as the 
minimum in your service definitions.

I changed my interval_length to 1 and then for each service specify it 
in seconds. This is the only way that I think you can get checks more 
frequent than once every 60 seconds.

In my opinion this should have been 1 by default and all service check 
intervals should have been specified in seconds since it's not rocket 
science to use numbers that are like 60, 120 or 3600 for various checks 
remembering that those are 1min, 2mins and 1 hour respectively.

-h

-- 
Hari Sekhon


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagios - mysql - ndoutils

2008-05-15 Thread Tom Brown



 There are many external applications that allow you to store
 configurations in a database (Monarch, Fruity, others), but all of
 them must export the data to flat file for nagios. Nagios does not
 have any ability to read configuration information from a database.


 The ndomod/ndo2db seems to store a config there, but it's read still
 from flat files.

 I've previously posted a way to read hosts and services from LDAP in
 continuing work to allow Nagios to share config data with anything
 else (DNS, DHCP, etc) -- but I'm still looking for NEB-pertinent feedback.
 (http://tech.b.chickenandporn.com/2008/04/13/use-ldap-to-configure-nagios/)


yeap - now i have ndo running i see that the db is populated with the
host info etc - what i wonder is how can that info be extracted and the
flat files created again? I am trying to cover getting a master/slave
setup going and the mysql side of things is covered but i am trying to
figure out how to share the configuration without sharing disk. If that
were somehow extractable from within the db then this would be ideal.



-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Notifications via CDMA

2008-05-15 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 15/05/08 12:27 AM, Douglas K. Rand wrote:
 Doug I've been looking around for a way of delivering notifications
 Doug directly via a wireless [CDMA] modem. If we had GSM service it
 Doug seems that this is a very easy thing: get smstools3 and one of
 Doug any of a number of GSM modems.
 
 Thomas Can't you just send an email to some special address of your
 Thomas provider?
 
 Thomas Every phone I ever came across were able to receive SMS trough
 Thomas email, both in US and Canada.
 
 Well, that works great unless the notification I'm trying to send out
 is that my Internet service is down. Then I need an out of band means
 of sending the notification.

Sure. If you can afford a second monitoring server in a different
location that will do it though... I.e. monitoring your monitoring server.

There's also many services that monitor your network from the outside
world - they could be useful too.


Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFILCSl6dZ+Kt5BchYRAtVEAJ9erx2A4WSjBP+A2xcuvfpTCu2O3wCg6+s2
5pEEcD/2KXILgoolVjZH2es=
=2sjH
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] bug tracker

2008-05-15 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 15/05/08 02:05 AM, Kupor Laszlo wrote:
 Hello!
 
 I search public bug tracker of nagios over the internet, but found 
 nothing.
 If i have a bug how to submit to developers?

The only way to to send a mail to nagios-devel. Ethan go trough the list
from time to time and address any issue reported there.

Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFILCnu6dZ+Kt5BchYRAut3AJ9QEsK7lelb7ya7+uofhG7ITytfcACfWdtp
hcndkmfV9F0tU7VqefsLerc=
=b15d
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] check_debian_packages

2008-05-15 Thread Mordur Ingolfsson
Hi List,

I have been having difficulty with running a Nagios plugin called 
check_debian_packages by way of nrpe with sudo.

The plugin I'm having difficulties with needs to run apt-get -s 
upgrade on a Debian system, so root privileges are needed. I can run 
the plugin fine with sudo as user nagios, but nrpe using sudo always 
fails with permission denied, even if I give the nagios user full 
permissions for everything in /etc/sudoers.

I would be grateful for any hints.

Thanks,

Mordur Ingolfsson
System Administrator
1984 ehf

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check_debian_packages

2008-05-15 Thread Hari Sekhon
Mordur Ingolfsson wrote:
 Hi List,

 I have been having difficulty with running a Nagios plugin called 
 check_debian_packages by way of nrpe with sudo.

 The plugin I'm having difficulties with needs to run apt-get -s 
 upgrade on a Debian system, so root privileges are needed. I can run 
 the plugin fine with sudo as user nagios, but nrpe using sudo always 
 fails with permission denied, even if I give the nagios user full 
 permissions for everything in /etc/sudoers.

 I would be grateful for any hints
Use check_apt instead it doesn't need root privs.

Best to avoid using root privs if you don't need to.

-h

-- 
Hari Sekhon


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Nagiosgrapher showing different values over time

2008-05-15 Thread Palle L Jensen
Thanks Marc, very good explanation. The link
http://oss.oetiker.ch/rrdtool/tut/index.en.html was good stuff too. 

Thanks,
Palle

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Marc Powell
 Sent: Wednesday, May 14, 2008 5:31 PM
 To: Nagios Users
 Subject: Re: [Nagios-users] Nagiosgrapher showing different values over
 time
 
 
 On May 14, 2008, at 3:48 PM, Palle L Jensen wrote:
 
  Thanks for you response. I understand, but The question I had is why
  are the
  peaks that are showing on the daily and weekly graphs not appearing
  on the
  monthly and yearly graphs?
 
 The RRD stores and graphs 1 point for every 5 minutes for the daily
 RRA. You see every data point on the graph, including the peaks.
 
 1 10 20 5 6 8 ...
 
 Weekly RRA/graph shows 1 data point for every 30 minutes. The data
 must be normalized based on a Consolidation function. Typically that's
 Average so the above 5 minute intervals would result in a single data
 point of 8.3 graphed and stored in the weekly RRA.
 
 'Monthly' RRA/graph shows 1 data point for every 2 hours. The 30
 minute data points above are once again averaged (or whatever the
 Consolidation function is) over the 2 hour interval and used to
 generate the monthly RRA and graph.
 
 'Yearly' RRA/graph shows 1 data point for every day.  The 2 hour
 intervals above are consolidated into one data point for the entire day.
 
 As you've discovered, there are other consolidation functions which
 are available but the RRD file must be told which will be used at
 creation time. Looks like the PNP guys included MAX for at least some
 of the RRA's.
 
 Alex Van Den Bogaerdt has written an excellent RRD Tutorial that
 covers this and much more at
 http://oss.oetiker.ch/RRDtool/tut/RRDtutorial.en.html
 .
 
 --
 Marc
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] RE Are there any plugins calculate the percentage ofthe traffic rate?

2008-05-15 Thread Ludovic Cesar
Hi,

See here: http://nagios.manubulon.com/snmp_int.html
But i down know if it's possible to have a result in percent.


Ludo






Yu Watanabe [EMAIL PROTECTED] 
Envoyé par : [EMAIL PROTECTED]
15/05/2008 15:08

A
nagios-users@lists.sourceforge.net
cc

Objet
[Nagios-users] Are there any plugins calculate the percentage ofthe 
traffic rate?






TO : ALL

Hello,

I'm searching for a nagios plugin that calculates the percentage
for the traffic rate of an interface.

For example, if the traffic statistic is 100 bit and 
the interface is Gigabyte, I'm searching for a plugin
that ouputs like 

Traffic usage is 0.01 %

Are there any plugin that can satisfy this?

Thanks!

Yu Watanabe


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Are there any plugins calculate the percentage of the traffic rate?

2008-05-15 Thread Yu Watanabe
TO : ALL

Hello,

I'm searching for a nagios plugin that calculates the percentage
for the traffic rate of an interface.

For example, if the traffic statistic is 100 bit and 
the interface is Gigabyte, I'm searching for a plugin
that ouputs like 

Traffic usage is 0.01 %

Are there any plugin that can satisfy this?

Thanks!

Yu Watanabe


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Service Groups

2008-05-15 Thread Edwin Zoeller
I have been beating my head on this and I have no brain cells left. I am
trying to add service groups and I am not having any success. After I
edit what I think I need then run the pre-flight check, I always get a
error that the service_groups are not defined. Can anyone shed some
light on this and maybe a example on how it should be.
 
Thanks,
 
Ed

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Are there any plugins calculate the percentage ofthe traffic rate?

2008-05-15 Thread Ford, Andy

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Yu Watanabe
 Sent: Thursday, May 15, 2008 8:09 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Are there any plugins calculate the 
 percentage ofthe traffic rate?
 
 I'm searching for a nagios plugin that calculates the percentage
 for the traffic rate of an interface.
 
 For example, if the traffic statistic is 100 bit and 
 the interface is Gigabyte, I'm searching for a plugin
 that ouputs like 
 
 Traffic usage is 0.01 %
 
 Are there any plugin that can satisfy this?
 

The plugin check_centreon_snmp_traffic that comes with centreon
(http://www.centreon.com/) gives a percentage:

A command line invocation reveals:

Traffic In : 1.44 kb/s (0.0 %), Out : 939.62 b/s (0.0 %) - Total RX Bits
In : 6.54 GB, Out : 4.13 Gb|traffic_in=1442,3Bits/s
traffic_out=939,6Bits/s


Wachovia Securities, LLC's outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.

A.G. Edwards, a division of Wachovia Securities, LLC




-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Notification escalation and notification interval

2008-05-15 Thread Michael Mukherji
Hello List

I am using nagios 3.0.1 in Ubuntu desktop version 7.10.Luckily i configured
my all devices mostly windows based.I am monitoring 75 hosts and 1052
services associated with it.
My notification is working fine i am using sendEmail client but i get
notification of host and service problem after 3 min of host /service being
down.
Is there any way to reduce time , i tried to search for commands definition
on /usr/local/nagios/objects/commands.cfg file but no lucks.where can i find
these definitions made for notification interval?


Also i would like to have escalation matrix for the notifications such a way
that if hardstate remains for more than an hr, escalations occur.In the
below mentioned comand is it possible to specify more than one service ? or
all services together ..since I want the same escalation for each
host/sevice down.

define serviceescalation{
host_name webserver
service_description HTTP
first_notification 3
last_notification 5
notification_interval 90
contact_groups nt-admins,managers
}

and the most important where do in need to define these commands ? in
contacts.cfg file as well as commands.cfg file

I am new to nagios so list help is surely appreciated also i have tried to
dig out this info from documntation  FAQ's but no help.

thanks

Michael Mukherji
AT  T
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Slightly-OT - Notification management

2008-05-15 Thread Ugo Bellavance
Julian Hein a écrit :
 Hi,
 
 Ugo Bellavance [EMAIL PROTECTED] wrote on 09.05.08 16:10:
 
 Terry a écrit :
 We just utilize sms and have a different ring profile for SMS
 messages.  The ring profile says that it will go nuts if it gets a
 phone call or SMS message but all other notifications are off.  I set
 this before I go to bed.
 Ok, but we don't have a SMS gateway yet, we use e-mail to txt, so it
 costs money to receive txt messages this way, the blackberry data fees
 are already high, using it would cut the txt msg fees.

 I'm thinking about setting up an SMS gateway, though, any idea where to
 ask for info/ideas?
 
 Multitech has Modems with Ethernet Interfaces. You just connect them to the
 Network and send a text oder sms via Telnet commands:
 http://www.multitech.com/PRODUCTS/Categories/Device_Networking/

Is there a reason why you don't use a serial or USB modem.


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Notifications via CDMA

2008-05-15 Thread Douglas K. Rand
Thomas Sure. If you can afford a second monitoring server in a
Thomas different location that will do it though... I.e. monitoring
Thomas your monitoring server.

This is a good idea anyway, and we have a Nagios install at our
colocation facility monitoring our main facility, and vice versa. It
makes good sense anyway. 

But I'm still using SMTP to an external service to send
notifications. It usually works fine, but not always. (We have a
service we sell sending text messages to several different providers
for several hundred users for events (unrelated to Nagios) and on the
order of 3-5 percent of these are bounced back from the SMTP service
of the provider. 

While our success rate for IXO/TAP delivery is in excess of 99.5%. 

Thomas There's also many services that monitor your network from the
Thomas outside world - they could be useful too.

Right, but I'd like to keep it in house. 


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] nagios results relay

2008-05-15 Thread Jaime Ventura
Hello
I already have a nagios server monitoring several servers, and now I 
need to monitor a set of servers behind a firewall with the following 
constrains: I cant install anything on them and I cant connect to them 
ouside the firewall.
This means I cant make the servers passively send data neither use a 
nrpe server inside the firewall because I cant reach it from the ouside.
So, is it possible to configure a nagios server inside the firewall 
to actively check the servers and send the results(passively) to the 
main nagios server outside the firewall?

Thanks

Jaime


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] nagiosql - nagios 3.x - hosts configuration in directory

2008-05-15 Thread Tom Brown
I have setup nagiosql as it fits my needs well as having the config in a 
db - however the only sticking point i see is that the configuration 
files for hosts and services are individual files within directory's 
rather than all in a single config file.

I have tried something like

cfg_file=/etc/nagios/hosts/*.cfg

however this creates an error such as

Error: Cannot open config file '/etc/nagios/hosts/*.cfg' for reading: No 
such file or directory

and equally

cfg_file=/etc/nagios/hosts/

does not work - anyone got a handy hint for this?

thanks


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagiosql - nagios 3.x - hosts configuration in directory

2008-05-15 Thread Tom Brown

 I have setup nagiosql as it fits my needs well as having the config in 
 a db - however the only sticking point i see is that the configuration 
 files for hosts and services are individual files within directory's 
 rather than all in a single config file.

 I have tried something like

 cfg_file=/etc/nagios/hosts/*.cfg

 however this creates an error such as

 Error: Cannot open config file '/etc/nagios/hosts/*.cfg' for reading: 
 No such file or directory

 and equally

 cfg_file=/etc/nagios/hosts/

 does not work - anyone got a handy hint for this?




sigh - it must be late, although nagiosql rocks!

cfg_file != cfg_dir



-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagiosql - nagios 3.x - hosts configuration in directory

2008-05-15 Thread Marc Powell

On May 15, 2008, at 11:56 AM, Tom Brown wrote:

 I have setup nagiosql as it fits my needs well as having the config  
 in a
 db - however the only sticking point i see is that the configuration
 files for hosts and services are individual files within directory's
 rather than all in a single config file.

 I have tried something like

 cfg_file=/etc/nagios/hosts/*.cfg



 does not work - anyone got a handy hint for this?

http://nagios.sourceforge.net/docs/3_0/configmain.html

--
Marc

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagios results relay

2008-05-15 Thread Marc Powell

On May 15, 2008, at 11:56 AM, Jaime Ventura wrote:

 Hello
I already have a nagios server monitoring several servers, and  
 now I
 need to monitor a set of servers behind a firewall with the following
 constrains: I cant install anything on them and I cant connect to them
 ouside the firewall.
This means I cant make the servers passively send data neither  
 use a
 nrpe server inside the firewall because I cant reach it from the  
 ouside.
So, is it possible to configure a nagios server inside the firewall
 to actively check the servers and send the results(passively) to the
 main nagios server outside the firewall?


Yes. It's well documented under Advanced Topics.

--
Marc

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Sending repeated notifications from a passive service check

2008-05-15 Thread Gerald N. Ginsburg
To all,

 

Using Nagios 3.0.1, we would like to send repeated notifications out and to
escalate after a passive service check goes critical.

The passive service checks in question will not normally be triggered (from
a job scheduler) more than once a day.

 

An event handler could be written to send additional notifications but the
event handler would need to be aware of acknowledgments, scheduled downtime,

and other changes.  Is there a more straight-forward way to do this?

 

With thanks for any suggestions,

Gerald Ginsburg

 

 

Gerald N. Ginsburg

ITCS

Northwestern University

2020 Ridge Ave. 

Evanston IL 60208-4311

 

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Newbie question - check_snmp syntax

2008-05-15 Thread mrinal devadas
Hi all,
Am attempting to setup a Nagios server to accept SNMP traps from a NetApp
controller. Need help with the syntax to be used for check_snmp.

My commands.cfg file has,
define command{
command_namecheck_snmp
command_line$USER1$/check_snmp -H $ARG1$ -P 2c -L noAuthNoPriv
-d ! -m $ARG2$
}

My netapp.cfg file has,
define service{
use generic-service ; Inherit values from a
template
host_name   gx3
service_description Uptime
check_command   check_snmp!gx3!sysUpTime.0
}

I get the following error message on Nagios,
Status Information:SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m sysUpTime.0 -v 2c [authpriv] gx2:161

What am I doing wrong?


Thanks in advance,
Mrinal.


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread nuffnough
hi...

I have been running nagios for quite a long time now.  Never really
had any problems with it.  But my recent upgrade doesn't seem to be
going well.

After I figured out the differences between 2.10 and 3.0 I thought it
would be smooth sailing.  Sadly I was wrong.  When I try to run a
verification now, I get the following output:



MelMon01:nagios:~/binnagios -v ../etc/nagios.cfg

Nagios 3.0.1
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-01-2008
License: GPL

Reading configuration data...

Segmentation fault (core dumped)



I am running this on an OpenBSD 4.3 server.  The core dump isn't huge.
 Is there anyone who would like to take a look at it for me?  Where
should I send it?

TIA

Nuffi

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread Brian A. Seklecki

On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:
 hi...
 
 I have been running nagios for quite a long time now.  Never really
 had any problems with it.  But my recent upgrade doesn't seem to be
 going well.


Rebuild it with debugging symbols and run it with ktrace(8) as needed.
~BAS

 After I figured out the differences between 2.10 and 3.0 I thought it
 would be smooth sailing.  Sadly I was wrong.  When I try to run a
 verification now, I get the following output:
 
 
 
 MelMon01:nagios:~/binnagios -v ../etc/nagios.cfg
 
 Nagios 3.0.1
 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
 Last Modified: 04-01-2008
 License: GPL
 
 Reading configuration data...
 
 Segmentation fault (core dumped)
 
 
 
 I am running this on an OpenBSD 4.3 server.  The core dump isn't huge.
  Is there anyone who would like to take a look at it for me?  Where
 should I send it?
 
 TIA
 
 Nuffi
 
 -
 This SF.net email is sponsored by: Microsoft 
 Defy all challenges. Microsoft(R) Visual Studio 2008. 
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread nuffnough
2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:

 On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:
 hi...

 I have been running nagios for quite a long time now.  Never really
 had any problems with it.  But my recent upgrade doesn't seem to be
 going well.


 Rebuild it with debugging symbols and run it with ktrace(8) as needed.


Thanks for the awesomely quick response, BAS.

I checked the archives, the faqs,  yahoo.  I even poked around in the
configure file.  I failed.

How do I build nagios with the debugging symbols?

Thanks!

nuffi

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Newbie question - check_snmp syntax

2008-05-15 Thread Patrick Morris
On Thu, 15 May 2008, mrinal devadas wrote:

 Hi all,
 Am attempting to setup a Nagios server to accept SNMP traps from a NetApp
 controller. Need help with the syntax to be used for check_snmp.
 
 My commands.cfg file has,
 define command{
 command_namecheck_snmp
 command_line$USER1$/check_snmp -H $ARG1$ -P 2c -L noAuthNoPriv
 -d ! -m $ARG2$
 }
 
 My netapp.cfg file has,
 define service{
 use generic-service ; Inherit values from a
 template
 host_name   gx3
 service_description Uptime
 check_command   check_snmp!gx3!sysUpTime.0
 }
 
 I get the following error message on Nagios,
 Status Information:SNMP problem - No data received from host
 CMD: /usr/bin/snmpget -t 1 -r 5 -m sysUpTime.0 -v 2c [authpriv] gx2:161
 
 What am I doing wrong?

First, a couple points:

NMP traps are not something you can get using check_snmp.  They are sent
from a device to something that listens for SNMP traps, and aren't
something you can poll for.  In the example you gave, however, it 
appears you're polling for the sysUpTime.0 OID from SNMP, which is not 
a trap, so maybe you're just using the wrong terminology. If you are
trying to receive traps, though, your current approach will never work.

Now, if you're just polling SNMP for values, you've got a workable
start. However, The result you say you're receiving in Nagios cannot be
the result of the configs you've supplied.  You're also mixing commands
in a way that doesn't make much sense. For example, you specify to use
SNMP version 2, but also include the -L switch, which only applies to
SNMP version 3.  You're also going to have trouble with the -d ! part
of the command line, probably, and I doubt you even need it.  You're
also not specifying the OID you want to poll.  The -m flag specifies a
MIB to load -- a MIB is generally a file containing information about
the OIDs available on a device, but the -o switch is the one to use to
specify the data you want returned.

It's also unclear what, if anything, you've done on the NetApp as far as
SNMP configuration, so that could very well be a problem as well. 

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread Brian A. Seklecki
On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:

 On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:
 hi...

 I have been running nagios for quite a long time now.  Never really

if the GNU configure script doesnt have a --with-debugging, export 
CFLAGS=-g and export COPTs=-g

~BAS

 had any problems with it.  But my recent upgrade doesn't seem to be
 going well.


 Rebuild it with debugging symbols and run it with ktrace(8) as needed.


 Thanks for the awesomely quick response, BAS.

 I checked the archives, the faqs,  yahoo.  I even poked around in the
 configure file.  I failed.

 How do I build nagios with the debugging symbols?

 Thanks!

 nuffi


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread nuffnough
2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:
 On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:

 On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:

 hi...

 I have been running nagios for quite a long time now.  Never really

 if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g
 and export COPTs=-g


Thanks for that.  Did as you suggest.  Tailing kdump shows:

 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2129010688/0x8119e000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2007908352/0x8851c000
 18223 nagios   CALL  munmap(0x85522000,0x80e)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2e00,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/hostgroups.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x578,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -2067492864/0x84c49000
 18223 nagios   CALL  munmap(0x84c49000,0x578)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2f80,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/services.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x13338,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -1952940032/0x8b988000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap 2081120256/0x7c0b6000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2096656384/0x83079000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 

Re: [Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread Brian A. Seklecki

Does it leave a core file?


On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:
 On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:

 On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:

 hi...

 I have been running nagios for quite a long time now.  Never really

 if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g
 and export COPTs=-g


 Thanks for that.  Did as you suggest.  Tailing kdump shows:

 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2129010688/0x8119e000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2007908352/0x8851c000
 18223 nagios   CALL  munmap(0x85522000,0x80e)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2e00,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/hostgroups.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x578,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -2067492864/0x84c49000
 18223 nagios   CALL  munmap(0x84c49000,0x578)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2f80,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/services.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x13338,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -1952940032/0x8b988000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap 2081120256/0x7c0b6000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap 

Re: [Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread Brian A. Seklecki
gdb `which nagios` /path/to/core.file

gdb bt

Paste results here

~BAS


On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:
 On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:

 On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:

 hi...

 I have been running nagios for quite a long time now.  Never really

 if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g
 and export COPTs=-g


 Thanks for that.  Did as you suggest.  Tailing kdump shows:

 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2129010688/0x8119e000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2007908352/0x8851c000
 18223 nagios   CALL  munmap(0x85522000,0x80e)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2e00,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/hostgroups.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x578,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -2067492864/0x84c49000
 18223 nagios   CALL  munmap(0x84c49000,0x578)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2f80,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/services.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x13338,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -1952940032/0x8b988000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap 2081120256/0x7c0b6000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 

Re: [Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread nuffnough
2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:
 gdb `which nagios` /path/to/core.file

 gdb bt

 Paste results here

 ~BAS


GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-openbsd4.3...(no debugging
symbols found)

Core was generated by `nagios'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.9.0...done.
Loaded symbols for /usr/lib/libpthread.so.9.0
Reading symbols from /usr/lib/libm.so.2.3...done.
Loaded symbols for /usr/lib/libm.so.2.3
Symbols already loaded for /usr/lib/libpthread.so.9.0
Reading symbols from /usr/lib/libc.so.43.0...done.
Loaded symbols for /usr/lib/libc.so.43.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0x1c030f83 in mmap_fgets_multiline ()
(gdb)


Thanks for your help.  B)

nuffi

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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