[Nagios-users] R: Nagios 3 compatible RSS

2009-07-27 Thread Bertinelli Massimo
I'm using Blosxom from one mounth and work fine...
I'setting my nagios 3.0.6 (ubuntu 8.0.4) for send Rss/Atom  notification
during work time and mail notification during not work time..

You can download application and install-instructions from nagios
exchange site:

http://exchange.nagios.org/directory/Addons/Notifications/RSS/Blosxom4Na
gios/details


bye
Max
 

-Messaggio originale-
Da: Joseph L. Casale [mailto:jcas...@activenetwerx.com] 
Inviato: domenica 26 luglio 2009 20.19
A: 'Nagios-users@lists.sourceforge.net'
Oggetto: [Nagios-users] Nagios 3 compatible RSS

Anyone using one, or got a reco for this?
Thanks,
jlc


--
___
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 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] R: Nagios 3 compatible RSS

2009-07-27 Thread Marc-André Doll
I wrote my own perl script to generate RSS notifications using the
XML::RSS perl module.

Marc-André

Le lundi 27 juillet 2009 à 09:25 +0200, Bertinelli Massimo a écrit :
 I'm using Blosxom from one mounth and work fine...
 I'setting my nagios 3.0.6 (ubuntu 8.0.4) for send Rss/Atom  notification
 during work time and mail notification during not work time..
 
 You can download application and install-instructions from nagios
 exchange site:
 
 http://exchange.nagios.org/directory/Addons/Notifications/RSS/Blosxom4Na
 gios/details
 
 
 bye
 Max
  
 
 -Messaggio originale-
 Da: Joseph L. Casale [mailto:jcas...@activenetwerx.com] 
 Inviato: domenica 26 luglio 2009 20.19
 A: 'Nagios-users@lists.sourceforge.net'
 Oggetto: [Nagios-users] Nagios 3 compatible RSS
 
 Anyone using one, or got a reco for this?
 Thanks,
 jlc
 
 
 --
 ___
 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 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 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] Update 3.0 to 3.1.2

2009-07-27 Thread Marc Powell

On Jul 27, 2009, at 7:45 AM, Esteban Torres Rodriguez wrote:

 how to update versión?

 I have nagios on RHEL 5.1 with install from .tar.gz.

Upgrading within the same major version is trivial.

./configure --with-your-options
make all
(stop nagios)
make install
(start nagios)

--
Marc


--
___
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] Help with check_cluster plugin

2009-07-27 Thread shadih rahman
I am trying to monitor 3 exchange server and combined them with
check_cluster to report if there was any issue with them or not.  If any of
my exchange server is down then my check_cluster should report down.  So I
have 3 individual exchange checks as listed below

define  service {
useuse-standard
host_nameEXCHANGE1.com
service_description   executive_exchange_check
servicegroupsexchangecheck
check_command
check_email_service!nagios-ex1!something!pasword
contact_groups  standard
}

define  service {
useuse-standard
host_nameEXCHANGE2.com
service_description   executive_exchange_check
servicegroupsexchangecheck
check_command
check_email_service!nagios-ex2!something!password+
contact_groups  standard
}

define  service {
useuse-standard
host_nameEXCHANGE3.com
service_description   executive_exchange_check
servicegroupsexchangecheck
check_command
check_email_service!nagios-ex3!something!password
contact_groups  standard
}




Now I have the following check_cluster check.

define  service {
use   standard
service_description  exchangestatus
servicegroups  Executive_dashboard
check_command
check_cluster_service!exchangecheck!0:0!0:0!$SERVICESTATEID:CUIT-EXCHANGE1.com:executive_exchange_check,$SERVICESTATEID:CUIT-EXCHANGE2.com:executive_exchange_check,$SERVICESTATEID:CUIT-EXCHANGE3.com:executive_exchange_check$
contact_groups  atg
}




First, my cluster check exchangestatus . does it need any association with
any hostgroup?  I want Executive_dashboard servicegroup to show only one
exchangestatus check not three.  I set the warnning and critical to be 0:0
and 0:0.  I want anything but OK state to alert me.  Is my threshold
setting correct?  Please advise on this.  Thanks



-- 
Cordially,
Shadhin Rahman
--
___
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] Method of notifying nagios by rsyslog

2009-07-27 Thread Jiří Hlinka
Hi,
Im thinking about how to monitor important messages on central rsyslog
server via nagios. I've got nagios monitoring various services on several
servers on a network. Some servers are sending syslog to rsyslog central
server.

In general, There are two ways of syslog messages monitoring:
a) when rsyslog recieves message i want to know about, it can send
notification to nagios  (i want to send notification via nagios because i
want only one system maintain notification and nagios do it a good way).
Rsyslog is parsing all syslog messages comming from remote hosts, so one
more parsing for this purpose will not be a big overhead.
b) parse logs by nagios itself (by special plugin). Parsing all syslogs by
nagios will lead to bigger overhead as syslogs are parsed twice - by rsyslog
AND nagios.

As i dont want to parse all syslogs comming from every remote server twice,
i prefer to use variant a) - to notify nagios via rsyslog. Rsyslog is able
to run any shell script or run some actions as response to specific syslog
messages comming from remote machines.

For example: i have rsyslog set to send me an e-mail when syslog-message
that came from remote server to central rsyslog server fulfill:
- syslogtag = mdadm
- severity = warning
(to notify me when raid problems occur, i know i can monitor raid status
with nagios itself, its just an example :-))

What is the best way to notify nagios by rsyslog that there is some problem
in syslog? snmp traps?

Best regards
Jiri
--
___
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 compatible RSS

2009-07-27 Thread Natxo Asenjo
On Sun, Jul 26, 2009 at 8:18 PM, Joseph L.
Casalejcas...@activenetwerx.com wrote:
 Anyone using one, or got a reco for this?

hi,

I followed these instructions recently and it works quite fine, I must
say: http://altinity.blogs.com/dotorg/2006/07/lessons_in_rss.html

--
natxo

--
___
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] Update 3.0 to 3.1.2

2009-07-27 Thread Rui Miguel Silva Seabra
Seg, 2009-07-27 às 08:29 -0500, Marc Powell escreveu:
 On Jul 27, 2009, at 7:45 AM, Esteban Torres Rodriguez wrote:
 
  how to update versión?
 
  I have nagios on RHEL 5.1 with install from .tar.gz.
 
 Upgrading within the same major version is trivial.
 
 ./configure --with-your-options
 make all
 (stop nagios)
 make install
 (start nagios)

You will need to update html/Makefile.in and fix the HTML dir.
Append /nagios or it'll install everything in /usr/share

This happened to me while making a nagios 3.1.2 RPM


Rui


--
___
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] FW: Antwort: Notification oddity

2009-07-27 Thread Kevin Davison
This is really strange, the Nagios server was restarted this weekend and now 
Nagios isn’t sending any notifications out at all. The Nagios.log shows 
numerous events, both Warnings and Critical but no notifications for any of 
them. If it were simply a case of my email not being sent, I can troubleshoot 
that. Given that Nagios seems simply to have decided not to send notifications, 
I’m really stumped about where to start looking. 

 

I’ve taken a look in my templates and found that my hosts, services, and 
contacts all have notifications enabled and are set for 24x7. I don’t see any 
reason for Nagios not to send notifications at all, but it has definitely 
decided not to do so for some reason.

 

 

 

From: Kevin Davison [mailto:kdavi...@innosphere.ca] 
Sent: Friday, July 24, 2009 6:11 AM
To: Nagios User List
Subject: Re: [Nagios-users] Antwort: Notification oddity

 

I thought of that and had a quick look around. I logged into the the MTA on 
Nagios via Telnet and was able to successfully send mail so I know that mail is 
capable of being sent. Nagios is also having no trouble sending some critical 
alerts. The weird thing for me is that if the messages were being stopped at 
the MTA level or by the relaying server then I would think that Nagios’ 
Notification log would still show that it attempted to send them. At this point 
there is no indication that Nagios even tried to send out a notification.

 

From: sascha.runsc...@gfkl.com [mailto:sascha.runsc...@gfkl.com] 
Sent: Friday, July 24, 2009 3:16 AM
To: Nagios User List
Subject: [Nagios-users] Antwort: Notification oddity

 

 I’ve checked my Contacts, as well as my Host and Service 
 notifications entries and all are configured W,U,C,R for 24x7. I’ve 
 even done some work on Nagios today and restarted to load in some 
 new stuff, but I’m still not seeing anything other than Critical 
 notifications. 
   
 Clearly I’m missing something. I would appreciate any advice. 

Did you check the MTAs - local and the relay? 
Maybe the relay you are using started ditching your mails 
because of some strange anti-spam or maybe your host got 
throttled by the mailserver because it was sending too much 
mails. Just an idea, but I've seen strange setups of local 
relays being Exchange or Domino servers with really stupid 
policies ;) 

S 


GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.26/2257 - Release Date: 07/23/09 
18:00:00

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.26/2257 - Release Date: 07/23/09 
18:00:00

--
___
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 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] Update 3.0 to 3.1.2

2009-07-27 Thread Marc Powell

On Jul 27, 2009, at 9:14 AM, Rui Miguel Silva Seabra wrote:

 Seg, 2009-07-27 às 08:29 -0500, Marc Powell escreveu:
 On Jul 27, 2009, at 7:45 AM, Esteban Torres Rodriguez wrote:

 how to update versión?

 I have nagios on RHEL 5.1 with install from .tar.gz.


 You will need to update html/Makefile.in and fix the HTML dir.
 Append /nagios or it'll install everything in /usr/share

 This happened to me while making a nagios 3.1.2 RPM


I didn't see this issue when installing by tarball (as the OP  
indicated) since nagios doesn't install into /usr/share/anything.

--
Marc


--
___
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] NRPE + check_oracle + XINET.d = Problem

2009-07-27 Thread Paulo Andrade
Hello again Nagios community,

I found the solution for the NRPE over XINET.D permission problem. As I said, 
the check_oracle plugin uses some features from the Oracle Home directory to 
do the Test. But if we don't have permission to access the Oracle directory 
from the Nagios linux user (as specified in xinet.d configuration file), we 
cant reach the right path to do the plugin tests.

The problem can be fixed by this 2 following steps:

1: Put the Nagios unix user in the oinstall group (The Oracle instalation 
group)
2: Replace the line in the nrpe/xinet.d file:

user= nagios
group  = nagios

for

user= nagios
groups= yes

This second step forces to the xinet.d to use all the groups the Nagios user is 
member.

I hope this solution is useful to the community.

Thanks!






--

Message: 18
Date: Mon, 20 Jul 2009 17:06:04 -0300
From:Paulo Andradepa...@mobilecard.com.br
Subject: [Nagios-users] NRPE + check_oracle + XINET.d = Problem
To: nagios-users@lists.sourceforge.net
Message-ID: 20090720200604.16105.qm...@hm1580.locaweb.com.br
Content-Type: text/plain; charset=ISO-8859-1

Hi Nagios community,

I got a problem with NRPE Addon working under XINET.d when the check_oracle 
plugin is used.

If the NRPE service is started as a deamon, the check_oracle plugin works 
fine. But if I use check_oracle under XINET.d I got this following error:

Cannot determine ORACLE_HOME for sid DB1

I googled it and most of people says to check the owner and read/write 
parameters of the Oracle path/directories and Nagios paths. But it don't solve 
my problem.

I tried to initialize the XINET.d with the -d debug parameter and I didnt see 
and error message.

I think there are a solution for it.


Paulo Andrade
MobileCard



--

Paulo Andrade
MobileCard

--
___
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 web ui granular access

2009-07-27 Thread Alex Burger

Hi.

My Nagios advanced permissions patch may help:

http://www.fragit.net/nagios.html

Patch for 3.1.2 coming soon.

Alex

alexus wrote:
 is there a way to provide an access to a nagios's web interface for a
 user and assign only particular host/service or hostgroup/servicegroup
 and nothing else?


--
___
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 Queries

2009-07-27 Thread Tom Denham
Hello,

I'm currently running Nagios 3.0 on CentOS and was curious if anyone can
tell me (in Service Detail) how (without plugins) that Nagios is able to
query remote Linux boxes and gather information such as Current Load, Root
Partition, Swap Usage, Total Processes, etc...

I do not recall doing anything special that would allow this info to be
returned...is it possible that the remote Linux box has a service that
Nagios tries to connect?

Basically Nagios was setup to just monitor, which I figured it would only be
successful with pings, however it's obviously gathering much more info.

Any help would be great...also if there is a better way to gather data, that
would be helpful too.

thanks in Advance!

-- 
There's no place like $HOME.
--
___
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 Queries

2009-07-27 Thread Mathew Walker

typically the remote linux server runs NRPE ... it can be installed relatively 
easily via most package managers and/or source.


-- 
Mat W. - http://www.techadre.com


 


Date: Mon, 27 Jul 2009 17:14:58 -0400
From: tdenham...@gmail.com
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios Queries

Hello,

I'm currently running Nagios 3.0 on CentOS and was curious if anyone can tell 
me (in Service Detail) how (without plugins) that Nagios is able to query 
remote Linux boxes and gather information such as Current Load, Root Partition, 
Swap Usage, Total Processes, etc...

I do not recall doing anything special that would allow this info to be 
returned...is it possible that the remote Linux box has a service that Nagios 
tries to connect?  

Basically Nagios was setup to just monitor, which I figured it would only be 
successful with pings, however it's obviously gathering much more info.

Any help would be great...also if there is a better way to gather data, that 
would be helpful too.

thanks in Advance!
-- 
There's no place like $HOME.

_
NEW mobile Hotmail. Optimized for YOUR phone.  Click here.
http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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 Queries

2009-07-27 Thread Mathew S. McCarrell
Tom,

Are all the values the same, for each piece of information on all the hosts?


It sounds like you've got your hosts inheriting service checks, which has
resulted in all of them inheriting the default local service checks for your
Nagios server.

As for best ways to monitor systems remotely, I've used NRPE previously, due
to its simplicity, but SNMP makes things easier in the long run.

Matt

--
Mathew S. McCarrell
Clarkson University '10

mccar...@gmail.com
mccar...@clarkson.edu
1-518-314-9214


On Mon, Jul 27, 2009 at 5:14 PM, Tom Denham tdenham...@gmail.com wrote:

 Hello,

 I'm currently running Nagios 3.0 on CentOS and was curious if anyone can
 tell me (in Service Detail) how (without plugins) that Nagios is able to
 query remote Linux boxes and gather information such as Current Load, Root
 Partition, Swap Usage, Total Processes, etc...

 I do not recall doing anything special that would allow this info to be
 returned...is it possible that the remote Linux box has a service that
 Nagios tries to connect?

 Basically Nagios was setup to just monitor, which I figured it would only
 be successful with pings, however it's obviously gathering much more info.

 Any help would be great...also if there is a better way to gather data,
 that would be helpful too.

 thanks in Advance!

 --
 There's no place like $HOME.


 --

 ___
 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

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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.6 process hangs, then recovers

2009-07-27 Thread Andrew Noonan
Hi all,

This is the second time this has happened to me... Nagios is working
fine when suddenly it stops monitoring.  Hours later, the process
un-hangs and a message like:

[1248653042] Warning: A system time change of 0d 3h 39m 9s (forwards
in time) has been detected.  Compensating...

happens, followed by nagios complaining about orphaned checks and a
rescheduling.  The last time I published to the list, someone
suggested that this was a time zone problem... that an actual system
time change had occurred, but let me assure you, no such thing
happened.  Other process log files continued to log uninterrupted
during this time, and there is no individual TZ setting for the nagios
user.  No NTP messages, etc.  Plus, other then NTP problems, a TZ
change would likely be a multiple of an hour or half hour.  That being
said, has anyone ever had these problems?  I've had two of these in a
month.  The system was not loaded during this period, with plenty of
memory and CPU to spare.  I'm also running ndo2db, which I worry may
have something to do with things... perhaps a hang in that module
causes the process to spin?  The system has about 1000 checks per 5
minutes, so not overwhelmingly busy.

This is the last major hurdle before I begin using Nagios in
production, but this is a pretty big problem.  Any advice would help.

Thanks,
Andrew

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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 Queries

2009-07-27 Thread Rangi, Jai
You can also setup ssh trust and run commands remotely using ssh. 

 

-Jai Rangi

 

 



From: Mathew Walker [mailto:lmw94...@hotmail.com] 
Sent: Monday, July 27, 2009 2:27 PM
To: tdenham...@gmail.com; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios Queries

 

typically the remote linux server runs NRPE ... it can be installed
relatively easily via most package managers and/or source.

-- 
Mat W. - http://www.techadre.com http://www.techadre.com/ 


 



Date: Mon, 27 Jul 2009 17:14:58 -0400
From: tdenham...@gmail.com
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios Queries

Hello,

I'm currently running Nagios 3.0 on CentOS and was curious if anyone can
tell me (in Service Detail) how (without plugins) that Nagios is able to
query remote Linux boxes and gather information such as Current Load,
Root Partition, Swap Usage, Total Processes, etc...

I do not recall doing anything special that would allow this info to be
returned...is it possible that the remote Linux box has a service that
Nagios tries to connect?  

Basically Nagios was setup to just monitor, which I figured it would
only be successful with pings, however it's obviously gathering much
more info.

Any help would be great...also if there is a better way to gather data,
that would be helpful too.

thanks in Advance!

-- 
There's no place like $HOME.



NEW mobile Hotmail. Optimized for YOUR phone. Click here.
http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_07200
9 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Static linked libraries

2009-07-27 Thread Matthew Tice
Hello, I'd like to compile Nagios and the Nagios plugins with static linked
libraries.  Is this possible?  I couldn't find any documentation regarding
it and my understanding of gcc is shoddy at best.  If it is possible then a
few examples would be appreciated.

Thanks,
Matt
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Static linked libraries

2009-07-27 Thread James Pratt


 -Original Message-
 From: Matthew Tice [mailto:mjt...@gmail.com]
 Sent: Monday, July 27, 2009 10:29 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Static linked libraries
 
 Hello, I'd like to compile Nagios and the Nagios plugins with static
linked libraries.  Is
 this possible?  I couldn't find any documentation regarding it and my
understanding
 of gcc is shoddy at best.  If it is possible then a few examples
would be appreciated.
 
 Thanks,
 Matt

Sure, try:

./configure --disable-shared --whatever-here-etc

Cheers,
jamie

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Static linked libraries

2009-07-27 Thread James Pratt


 -Original Message-
 From: James Pratt [mailto:jpr...@norwich.edu]
 Sent: Monday, July 27, 2009 10:41 PM
 To: Matthew Tice; nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Static linked libraries
 
 
 
  -Original Message-
  From: Matthew Tice [mailto:mjt...@gmail.com]
  Sent: Monday, July 27, 2009 10:29 PM
  To: nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] Static linked libraries
 
  Hello, I'd like to compile Nagios and the Nagios plugins with
static
 linked libraries.  Is
  this possible?  I couldn't find any documentation regarding it and
my
 understanding
  of gcc is shoddy at best.  If it is possible then a few examples
 would be appreciated.
 
  Thanks,
  Matt
 
 Sure, try:
 
 ./configure --disable-shared --whatever-here-etc
 
 Cheers,
 Jamie

Ok, sorry, but before I send anyone who is admitting shoddy knowledge
of GCC down this road, just be aware of (among other things):

* Because linked external programs are built into the executable
files, these files become larger.
* You cannot change the behavior of executable files without
relinking them.
* External called programs cannot be shared. Therefore, if more than
one calling program needs to access the called programs, duplicate
copies of the called programs must be loaded in memory.

Ps - run ./configure --help to see all of the available nagios-plugin
compile options... 

Cheers,, x2
Jamie


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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