[Nagios-users] Patches for inclusion to Nagios 4

2013-08-06 Thread Ton Voon
Hi!

We've published a list of patches for Nagios 4: 
http://www.opsview.com/whats-new/blog/opsview-patches-nagios-4

We'd be happy if you could review if these are acceptable for future inclusion 
or if anyone else finds them useful.

Ton


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
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] perfdata-file not working the same since upgrade from 3.0.2 to 3.3.1

2011-09-07 Thread Ton Voon

On 7 Sep 2011, at 10:08, Michael Friedrich wrote:

 On 2011-09-06 21:35, Joe Hoot wrote:
 Yep.  I had seen your post earlier and was hoping that there was an 
 additional variable that I could add to tell nagios to include non-perfdata 
 information in that file.  This is a shame.  In the past, my Nagios upgrades 
 have went very smoothly.
 
 Thanks for the reply.   I am now happily up and running again on 3.2.3
 
 I've been tracking down this problem already in Icinga 1.3.x and 
 provided a proper fix for our users. Unless there's a properly tested 
 3.3.x release you might wanna check my github branches for nagios 3.3.1 
 fixes. it's nothing official, but just a little help from the other 
 evil side named Icinga me being a core dev there too.
 
 https://github.com/dnsmichi/nagios-fixed/commits/3.3.1-fixes
 
 feel free to test and/or use that and provide feedback on the nagios 
 lists if any.

Thanks for finding this Michael.

I was going to change this so that enable_performance_processing=0 would not 
write anything, enable_performance_processing=1 does the old way (everything) 
and a new enable_performance_processing=2 would do this new behaviour.

If you could amend your change to work in this way, I'll commit to core. If 
not, let me know and I'll look at it later.

Ton


--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
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_http + headers

2011-07-29 Thread Ton Voon

On 29 Jul 2011, at 14:35, af.at.w...@gmail.com wrote:

 I am trying to mimic this in Nagios with check_http like so:
 
 ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f
 follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324'
 -v

You should use multiple -k to add more headers.

Ton


--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
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 with mysql

2011-04-21 Thread Ton Voon

On 21 Apr 2011, at 08:32, Marco Borsani wrote:

 I am using Nagios since 2004 with all the configuration in the text files.
  
 Now, I’d like using mysql DB.
  
 I do not need a migration procedure, I just need to understand how to 
 configure a Nagios to start with mysql DB.

If you create your own DB to hold all the relationships and information to 
create the nagios configuration files, you'll end up with Opsview 
(http://opsview.com)

We model the data in the proper way 
(http://labs.opsview.com/2011/04/managing-security-permissions-for-large-teams-in-opsview/)
 and then we generate the nagios configuration files appropriately, with 
distributed monitoring thrown in for free.

NagiosQL is mapping the Nagios configuration files into a sql database, which 
is okay, but try running queries to tell you what you want to know and you'll 
end up replicating Nagios' configuration algorithms to get the data you need.

While our demo site doesn't give you access to the mysql db, I'd recommend you 
download our latest VM and poke around the DB structures. There's an import 
script so if you supply your Nagios object.dat file, we'll do a good job at 
importing your information into Opsview's DB.

We've got users that now run DB queries against opsview to give them asset 
lists. We've got other users that have asset lists external to Opsview, but use 
the REST API (http://docs.opsview.com/doku.php?id=opsview-community:restapi) to 
update Opsview. All this is much easier by abstracting the Nagios specific 
information away.

Ton

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
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] Distributed Nagios Configuration with Passive Checks

2011-03-21 Thread Ton Voon

On 21 Mar 2011, at 02:43, Samuel Kidman wrote:

 I am trying to set up a distributed nagios configuration that will monitor n 
 mine-sites. There is a single master server that will accept passive checks 
 from all of the mine sites providing a unified view of network status 
 throughout the organisation.
  
 I have set up host groups that represent groups of hosts with similar 
 function and have the same service checks ran against them such as switches 
 and PLCs. Whenever we get a new device I can just add it to the right host 
 group and it gets all of its service checks by being a member of that 
 hostgroup.
  
 My question is how do I disable active checks for the service checks for the 
 remote minesites without having to create a separate service check for each 
 site? The only thing I’ve been able to think of is using an external command 
 at nagios start up that checks all of the services on the master server and 
 works out which ones belong to remote sites and then disables active checks 
 on each one, but this seems like a messy way.
 
 If there was a way to have host group intersections in the hostgroups 
 property in service checks I could specify two services and two hostgroups – 
 a local and a remote one. The local check applys to its function group AND 
 all devices at the head office while the remote check applies to its function 
 group AND all remote hosts, however at present I think this functionality is 
 unavailable.
  
 Just looking for some configuration suggestions on how to get this to work.

You want to use templating so that the master is set to active checks enabled 
no while the slave is set to active checks enabled yes.

In Opsview (http://opsview.com), our db based configuration database knows if a 
host is monitored on the master or on a remote slave. We generate 
configurations for a host (and services) appropriately. We've also done loads 
of work so you can manage it from the central master and it will distribute 
downtimes/acknowledgements/disables to slave systems as well.

Ton


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
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] Weird failure-to-count error

2011-01-17 Thread Ton Voon


On 17 Jan 2011, at 19:59, Steven Schwartz wrote:

I have a test (proprietary internal test) that runs, reports  
critical (not surprising, as it’s doing a web submit to a non- 
running webserver), which then fails again every 15 minutes; and  
never moves from “Current Attempt: 1/3”, and therefore does not  
notify.


Interestingly enough, the subsequent failures do not log; the only  
way I was able to tell that, in fact, they had failed was checking  
the “Last Check Time” and “Next Scheduled Active Check” and seeing  
them advance, while the “Current Attempt” remained stable.


The “Current State Duration” is updated correctly, but it still does  
not page.


Has anyone seen a problem like this before, and if so, what did you  
do to fix it?


If this is:
  * On Nagios 3.2.3
  * Has a host failure and
  * Is not the service that noticed that the host failed

Then you probably have the bug documented here: http://bit.ly/dKykJr

I've patched in the latest CVS, but no release is made yet.

Does this fix it for you?

Ton

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
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] Suppress Max concurrent service checks messages.

2010-11-12 Thread Ton Voon

On 12 Nov 2010, at 15:30, Paul M. Dubuc wrote:

 We're running Nagios 3.2.3 with concurrent service checks set to  
 40.  We can't
 go much higher than this due to resource constraints outside of  
 Nagios but
 we're running 329 services at 5 minute intervals (this is a load  
 test of
 sorts not production load ... yet).  Average execution time/latency  
 is 36/11
 seconds so we're seeing quite a few messages like this in the Nagios  
 log file:

 (Informational Message) [11-11-2010 14:55:57] Max concurrent service  
 checks
 (40) has been reached. Nudging host:service by 9 seconds...

 Is there any way to suppress these messages from being logged?  I  
 don't see an
 option for logging these in the config file documentation.

I put those messages in.

Firstly, 40 doesn't necessarily mean there are 40 concurrent service  
checks running as they may have finished but not been reaped yet (to  
decrement the counter).

Secondly, if you are getting these messages, then either (1) this  
limit is too low - increase and keep an eye of the load on your nagios  
server; (2) you've got too many checks running - reduce frequencies/ 
numbers or setup a slave server.

The trouble with the way the nudging works is that it hides the fact  
that you have latency issues (as the check is rescheduled to a future  
time). This means nagiostats will not include the additional latency  
time here.

If someone has a better way of working this out, I'm all ears.

Ton


--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
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] host_port objects - Enhancement Request

2010-10-28 Thread Ton Voon

On 28 Oct 2010, at 16:16, Jason Frisvold wrote:

 Nagios Enhancement Proposal

 Overview

 Currently, there are two primary ways to add individual physical ports
 for a port-based device.  Each method has both advantages and
 disadvantages, but neither fully satisfies the needs of Lafayette and,
 likely, other institutions.

Opsview (http://opsview.com) has the Service-based Ports way of  
doing this. You assign host attributes with X number of items to a  
host and then Opsview will generate X service checks against it. An  
example of this is urls or disks or processes.

But the most common request for X number of things is interfaces, so  
we've designed some special pages for that. There's a discovery page  
where you click Query Host and you get a list of all your interfaces  
and you just tick which ones you want monitored, with your desired  
thresholds. And there's a Host Interfaces page where you can see a  
graph of all your interfaces with throughput and errors/discards.

See our screencast at http://bit.ly/dnWPJI  (from 02:10 onwards) to  
watch it in action.

Ton


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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] Time scheduling bug

2010-10-27 Thread Ton Voon
Hi!

Just a reminder for people that are running older versions of Nagios  
that since DST will be ending soon, the DST time scheduling bug may  
affect you.

The bug affects Nagios 3.2.0 and is fixed in Nagios 3.2.1.

More details at: http://bit.ly/cnhf5S

Ton


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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_snmp new feature

2010-09-02 Thread Ton Voon
Hi!

Just want to let you know about a new blog article about the new  
feature in check_snmp where it measures rate changes in SNMP.

http://bit.ly/cdNQlu

It was developed for a customer of Opsview (http://opsview.com), but  
is now in Nagios Plugins for everyone to use. Enjoy!

Thanks to Holger for ideas on the C interface to the state change  
functions.

Ton


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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 reload from crontab on 5 mins ?

2010-09-01 Thread Ton Voon

On 1 Sep 2010, at 07:43, b2 wrote:

 I have to do rebuild my nagios2 configuration. The idea is to get
 hosts.cfg and hostgroups.cfg dynamically from MySQL DB , the
 'get_config.pl' script first connects to db , retrieve hosts and then
 print values to hosts.cfg. , then reload nagios. Everything is fine  
 with
 the hosts.cfg but if I put the 'get_config.pl' to crontab in 5 mins  
 the
 nagios proccess terminates maybe because nagios own step is 5 minutes
 and two reloads at same time conflicts with each other ? Any  
 suggestions
 when to reload nagios to work with the new config  , or not to reload
 the nagios proccess an rely on its own 5 mins step reload ? Am i  
 missing
 soemthing here ?

Reloading every 5 minutes is not advised. You only want to reload when  
you've made changes to the DB.

However, you've basically described Opsview (http://opsview.com): do  
configuration changes in the database, then generate Nagios  
configuration by kicking off a reload. Bonus points: Opsview will also  
generate the configurations on any distributed slave systems at the  
same time!

Ton


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] Distributed Setup of Nagios

2010-08-18 Thread Ton Voon

On 17 Aug 2010, at 15:26, Bradley Radjoo wrote:

 Please can you assist me as I a 1st timer to Nagios itself as I need  
 assistance on a Distributed Monitoring Setup of Nagios.
 Where one server manages other instances of Nagios Servers in  
 differant locations.

You may want to look at Opsview (http://opsview.com).

 From a single point of configuration, it pushes out the nagios  
configuration to the remote slaves which are independently running  
their own copy of Nagios. We have users going up to 25 slaves!

Ton


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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] Distributed Setup of Nagios

2010-08-18 Thread Ton Voon

On 18 Aug 2010, at 15:38, Max wrote:

 On Wed, Aug 18, 2010 at 7:22 AM, Ton Voon tonv...@gmail.com wrote:
 You may want to look at Opsview (http://opsview.com).

  From a single point of configuration, it pushes out the nagios
 configuration to the remote slaves which are independently running
 their own copy of Nagios. We have users going up to 25 slaves!

 Cool - how many active service checks / active host checks per poller?

As many as a single nagios instance runs. You can scale out by adding  
more slaves. We also have a feature where you can have slave clusters  
to do workload balancing and redundancy, so you can just add another  
node if hardware is the issue.

The bottleneck would be at the central master, but that is very fast  
because of only processing passive results.

Ton


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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 Plugins 1.4.15 released!

2010-07-28 Thread Ton Voon
The Nagios Plugin development team are proud to announce a new release  
of the Nagios Plugins!


More details at http://nagiosplugins.org/nagiosplugins-1.4.15

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/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] How to find active check status for a service?

2010-07-15 Thread Ton Voon

On 15 Jul 2010, at 22:08, Paul M. Dubuc wrote:

 Is there some programmatic way to find out whether or not active  
 checks are
 enabled or disabled for a service in Nagios.   We have a requirement  
 for an
 audit to provide notifications for certain critical services that  
 may have
 their active checks disabled so they aren't left that way any longer  
 than
 necessary.

If you don't mind setting it global wide, you can use the  
retained_(host|service)_attribute_mask: 
http://nagios.sourceforge.net/docs/3_0/configmain.html

This was added by Ethan a few years back, inspired by some code we  
contributed from Opsview for our slave cluster failover logic, where  
we reset certain flags in the retained.dat file on a reload. This  
means you can strip the active_checks_enabled to always be based on  
the configuration file setting.

Ton


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] failover setup help

2010-07-15 Thread Ton Voon

On 9 Jul 2010, at 18:16, Shadhin Rahman wrote:

 All,
I have a failover setup with nagios.  I also have ndoUtils setup  
 for collecting historical data.   My setup is described below.

 master server - running nagios and ndoutils collecting data.  The  
 master is also sending host state and service state  data using nsca  
 to failover server.  master server has active host check, service  
 check and notification enabled.

 slave server - running nagios and partial ndoutil.  no active checks  
 are being done in this slave server.  The slave server also has  
 notification disabled.  nsca daemon is listening for service and  
 host status from master server.

 The problem:  I am facing the problem where acknowledgements and  
 comments are not up to date in the slave server.  I can possibly   
 transfer the retention file to slave server and fix the comments  
 part of the problem.  However I do not know how to get all the  
 acknowledgements transfer to the slave server.

 It would be great if someone can point me to the right direction,  
 how I can solve the acknowledgement problem I describe above.   
 Thanks in advance.

You probably want to analyse what we've done in Opsview (http://opsview.com 
).

There's two parts to this problem:
1) How to send commands to multiple Nagios instances
2) How to keep them in sync

In this screencast, 
http://www.opsview.com/learn/demos-tutorials/how-opsview-uses-nagios 
, (registration required), about 04:30 in, I mention a broker module  
we developed called altinity_distributed_commands. It hooks into  
Nagios and, for certain commands, writes them out so that a separate  
process can take those and push it out to slave systems. This is how  
we solve (1).

For (2), we added some new code to Nagios (its in our development  
repo: http://github.com/tonvoon/opsview-nagios) there is a synchronise  
ability, at reload time or via an external command called  
SYNC_STATE_INFORMATION, where it reads a retention.dat-like file and  
changes certain characteristics of a host/service, such as whether it  
is acknowledged or not. This allows the Opsview master to be the  
single source of state information for all its slave systems.

Ton


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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 DST bug and upcoming DST-time switch in Europe

2010-03-09 Thread Ton Voon

On 9 Mar 2010, at 08:19, Mark Elsen wrote:

 Nagios 3.2.0
 

 - By the end of the month, Europe will switch to DST.
   Will I be affected by the Nagios DST-BUG which , which results in
 NAGIOS becoming
   dis-functional ?

 Which countermeasures can I take to prevent being struck by this  
 problem ?


The bug, which stops all Nagios monitoring for 24 hours, occurs when  
time moves backwards. This does not happen when time moves  
forward. However, any other timeperiods (such as 09:00-17:00) maybe  
incorrect by an hour, which is obviously not as serious. This is true  
for Nagios 3.2.0.

Ton


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 configurator

2010-03-04 Thread Ton Voon


On 4 Mar 2010, at 09:20, wale Ajayi wrote:

Hello every one, i need a very good web interface configurator for  
my nagios3.0.6 can anybody help me to get one , thanks very much.


And since everyone else seems to be linking to theirs, Opsera produce  
Opsview: http://opsview.org


Ton

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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.2.0 process dies silently - help!

2010-02-05 Thread Ton Voon


On 5 Feb 2010, at 16:41, Tony Johansson wrote:


Hello,

Our nagios 3.2.0 installation is having major problems.
The nagios process dies silently about 10-60 seconds after beeing  
started. No record as to why in any logfiles.


Have tried setting max debug (debug_level=-1 and debug_verbosity=2)  
in nagios.cfg - nothing.


System is a CentOS release 5.4 which has been running fine for months.

Any ideas on how to troubleshoot this or what is going on?


What entries are in nagios.log? Is there a core dump file?

Take a copy of retention.dat, then remove it. Does that start it up?

If that fixes it, there maybe a corruption in retention.dat. Can you  
then reduce the problem down by removing entries in retention.dat to  
find what the problem is. If we can get it recreated, I can add a test  
to pick on this specific error.


Ton

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
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 30 seconds initial delay

2010-01-28 Thread Ton Voon

On 17 Dec 2009, at 08:12, Brandino Andreas wrote:

 I have much less hosts and services (for the moment).
 After deleting retention.dat I still face the same delay...


When did this slow down occur? I can see how Jonathan's patches speed  
up the system but these look like long-term bottlenecks, not a 3.0 -  
3.2 migration. I'm interested to know when the slowdown occurred and  
if it is the side effect of something else.

There was a patch applied sometime in 3.1 which improved the circular  
parents lookup, but I don't know much else (Andreas applied it but  
didn't update the Changelog).

Some information from a slow startup system and a fast startup  
system:
   * how do you define the startup time? (time from nagios start to  
status.dat appearing?)
   * which version of Nagios?
   * size of system (number of hosts, services, comments, downtimes)
   * broker modules you use
   * nagios -s nagios.cfg - what does the timings tell you?

Ton


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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] Time Conversion Bug (Was: no email notifications sent)

2009-11-03 Thread Ton Voon
Hi Albrecht,

On 3 Dec 2008, at 20:01, Albrecht Dreß wrote:

 Am 01.12.08 21:59 schrieb(en) Albrecht Dreß:
 I have a self-compiled nagios 3.0.5 running on a 64-bit Xeon box  
 with Ubuntu 8.04 LTS.  Everything went perfectly (including  
 notifications) until I upgraded from 3.0.1 (iirc) to 3.0.5 during a  
 bigger service downtime (inter alia shifting the box into an other  
 network etc).

 After adding tons of debug messages, I was finally able to track  
 down the problem.  The problem is that I added a german holiday in  
 the form

october 3   00:00-00:00

 In function (all inbase/utils.c) check_time_against_period(), the  
 start time was calculated by calculate_time_from_day_of_month() as  
 1222988400 (Fri Oct  3 01:00:00 2008), but the end time as  
 1222984800 (Fri Oct  3 00:00:00 2008), which is /before/ the start,  
 and therefore the time span was expanded to a whole year, i.e. the  
 end now was Oct 3, 2009...

 Looking deeper into function calculate_time_from_day_of_month(),  
 this is apparently caused by a wrong usage of the call to mktime(),  
 as the field tm_isdst is /not/ initialised properly.  The observed 1  
 hour offset seems to come from an earlier call to this function  
 which returned an active dst flag.

 According to the IEEE Std 1003.1 [1], the field tm_isdst /is/ used  
 in the time conversion, and should be set to -1 if the dst status is  
 unknown (you may want to write a small test app, setting this flag  
 to -1, 0 or 1 to observe the effect).  As mktime() is used  
 frequently in the code without properly initialising this field,  
 this seems to be a systematic bug which can trigger interesting  
 effects in nagios.

 Any opinions?

As you are probably aware, this change has caused the DST bug that has  
affected a lot of users of Nagios 3.2.0.

I have only reverted one instance of the tm_isdst field, which was  
specifically causing the rescheduling problem. There is a testcase in  
HEAD ( download from 
http://nagios.sourceforge.net/download/cvs/nagios-HEAD.tar.gz 
   ./configure --enable-libtap  make all  make test) which tests  
the DST bug (see t-tap/check_timeperiods.c).

However, I think some of the other isdst settings maybe causing other  
bugs, though I'm not sure.

It would be helpful if you could add some test for the problem you  
have fixed, to prove that the functionality you expect continues to  
work. I'd be happy to apply to CVS if you have an updated  
check_timeperiods.c file.

Ton


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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 disfunctional , perhaps due to time change ?

2009-10-26 Thread Ton Voon

Hi!

On 26 Oct 2009, at 10:18, Mattias Ryrlén wrote:


This can be solved with issue the following error.

service nagios stop; now=$(date +%s); sed -i s/^next_check=.*/ 
next_check=$now/ /usr/local/nagios/var/status.sav; service nagios  
start


this will only work if:
1. you can issue command 'service' :)
2. you have it installed to /usr/local/nagios


We've also seen this bug.

We've provided another way of fixing this. You can find more details  
here: http://opsview-blog.opsera.com/dotorg/2009/10/nagios-scheduling-bug.html


Ton

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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 disfunctional , perhaps due to time change ?

2009-10-26 Thread Ton Voon


On 26 Oct 2009, at 12:53, Matthias Flacke wrote:



this change is causing the wrong reschedule:
http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/base/utils.c?r1=1.236r2=1.237view=patch

It has been applied on 15th of January 2009 and introduced some
statements

t-tm_isdst=-1;

into base/utils.c.

Affected are all Nagios versions = 3.1.0.

I could reproduce it here: if the patch above is backed out, the
scheduling behaves correctly.



I've managed to get a libtap test case with the failure now. As you  
correctly say, removing the t-tm_isdst=-1 in utils.c fixes it.


However, the fact it works is lucky.

The check is that the scheduled time is between a date_range_start and  
a date_range_end. This date_range_end is based on the timeperiod  
definitions. However, an end point of 00:00 is calculated as 24*60*60.  
Obviously, this is wrong on the day that the clocks go back as there  
are 25 hours in that day.


So removing tm_isdst gets the calculation for the epoch time wrong,  
but that luckily works because the time falls within the 24 hour period.


I've applied the patch to remove that single tm_isdst.

Tests are also added now, for this specific issue.

Long term, I think it is correct that the isdst flag be set, but there  
are other problems that are lurking in the code, such as the  
calculation for the next appropriate time.


Any comments?

Ton


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] About Nagios3 and arbitrary code execution

2009-07-08 Thread Ton Voon

On 8 Jul 2009, at 10:44, Daniel Bareiro wrote:

 According to I see in changelog of the version 3.1.1, it  
 incorporates a
 security fix for statuswml.cgi where arbitrary shell injection was
 possible. Somebody could confirm to me that this vulnerability is the
 same that is mentioned in the DSA?

Yes it is.

Ton


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Escaping broke i 3.1.1 ?

2009-06-25 Thread Ton Voon
Tore,Aren't you missing a $ at the end of $_HOSTCRM_SERVICES$ in your services definition?See Custom variables inhttp://nagios.sourceforge.net/docs/3_0/macros.htmlYou could also have some debugging set in Nagios to show the exact command being run.TonOn 24 Jun 2009, at 14:12, Tore Lønøy wrote:Hello,Sorry for double posting, but wrong subject.Ton:Command line:/nagios/libexec/check_nrpe -H X> -c CheckServiceState -a AOS\$01 ShowAll=longOK: AOS$01: started Here is the host def:define host { use Xhost_name Xaddress Xalias Xhostgroups +CRM4#max_check_attempts 3#check_interval 2 #retry_interval 1#contact_groups +#notifications_enabled 1_CRM_SERVICES AOS\$01# Macros_REQUESTOR}The service definition:define service { # Which _template_* to use. # (e.g. standard-service-60)use standard-service-1# Service spesificservice_description CRM Servicescheck_command check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES  hostgroup_name CRM4# Per service optionsfirst_notification_delay 10process_perf_data 0notifications_enabled 1max_check_attempts 2retry_interval 5 }The check command definition:define command { command_name check_nrpe_parameters command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -a $ARG2$}It worked on Nagios 3.0.6. I've tried almost any combination of escaping the dollar sign, $$, \$, \\$$,\\\$ You name it! Thanks for your help,Tore Date: Tue, 23 Jun 2009 19:52:07 +0100 From: Ton Voon ton.v...@opsera.com> Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? To: Nagios Users Mailinglist nagios-users@lists.sourceforge.net> Message-ID: 864af918-0779-4585-885d-afe784e69...@opsera.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes  Tore,  Can you send the configuration for the host and service too? Can you also send the check_nrpe_parameters command definition.  On the command line, what works?  Also, you said a previous version of Nagios worked with this definition - which version of Nagios was that?  Ton  On 23 Jun 2009, at 15:09, Tore L?n?y wrote:  > Let me see, this should be enough i think: > > define host { > host_nameX > alias  X > address X > check_period  24x7 > check_command  check-host-alive > contact_groups > notification_period   24x7 > initial_state  o > check_interval 15.00 > retry_interval 5.00 > max_check_attempts   3 > active_checks_enabled  1 > passive_checks_enabled 0 > obsess_over_host1 > event_handler_enabled  0 > low_flap_threshold   0.00 > high_flap_threshold   0.00 > flap_detection_enabled 1 > flap_detection_options o,d,u > freshness_threshold   0 > check_freshness 0 > notification_options  d,r > notifications_enabled  1 > notification_interval  60.00 > first_notification_delay60.00 > stalking_optionsn > process_perf_data1 > failure_prediction_enabled   1 > notes_url > retain_status_information1 > retain_nonstatus_information  1 > _REQUESTOR > _CRM_SERVICES  "AOS$\$01" > } > > define service { > host_nameX > service_description   X > check_period  24x7 > check_command  check_nrpe_parameters!CheckServiceState! > ShowAll=long $_HOSTCRM_SERVICES > contact_groups > notification_period   24x7 > initial_state  o > check_interval 1.00 > retry_interval 5.00 > max_check_attempts   2 > is_volatile   0 > parallelize_check1 > active_checks_enabled  1 > passive_checks_enabled 0 > obsess_over_service   0 > event_handler_enabled  0 > low_flap_threshold   0.00 > high_flap_threshold   0.00 > flap_detection_enabled 1 > flap_detection_options o,w,u,c > freshness_threshold   0 > check_freshness 0 > notification_options  c,r > notifications_enabled  1 > notification_interval  60.00 > first_notification_delay10.00 > stalking_optionsn > process_perf_data0 > failure_prediction_enabled   1 > notes > retain_status_information1 > retain_nonstatus_information  1 > } > > The problem for me it seems is when nagios is parsing the data just > before it is going to execute the command. It is no problem executes > check_nrpe with ah backslash (\) as the escape char. But the problem > for me is what escape char do i use in custom macros?  Ton VoonProduct ArchitectOpsera Limited | Unit 69 Suttons Business ParkReading | Berkshire | RG6 1AZ | UKPhone:+44 (0) 845 057 7887Mobile:+44 (0) 7931 365796Skype: tonvoonEmail:ton.v...@opsera.comwww.opsera.comThis e-mail is confidential, intended only for the named recipient(s) above and may contain information th

Re: [Nagios-users] Escaping broke i 3.1.1 ?

2009-06-23 Thread Ton Voon
Tore,

Can you send the configuration for the host and service too? Can you  
also send the check_nrpe_parameters command definition.

On the command line, what works?

Also, you said a previous version of Nagios worked with this  
definition - which version of Nagios was that?

Ton

On 23 Jun 2009, at 15:09, Tore Lønøy wrote:

 Let me see, this should be enough i think:

 define host {
 host_name   X
 alias   X
 address X
 check_period24x7
 check_command   check-host-alive
 contact_groups
 notification_period 24x7
 initial_state   o
 check_interval  15.00
 retry_interval  5.00
 max_check_attempts  3
 active_checks_enabled   1
 passive_checks_enabled  0
 obsess_over_host1
 event_handler_enabled   0
 low_flap_threshold  0.00
 high_flap_threshold 0.00
 flap_detection_enabled  1
 flap_detection_options  o,d,u
 freshness_threshold 0
 check_freshness 0
 notification_optionsd,r
 notifications_enabled   1
 notification_interval   60.00
 first_notification_delay60.00
 stalking_optionsn
 process_perf_data   1
 failure_prediction_enabled  1
 notes_url
 retain_status_information   1
 retain_nonstatus_information1
 _REQUESTOR
 _CRM_SERVICES   AOS$\$01
 }

 define service {
 host_name   X
 service_description X
 check_period24x7
 check_command   check_nrpe_parameters!CheckServiceState! 
 ShowAll=long $_HOSTCRM_SERVICES
 contact_groups
 notification_period 24x7
 initial_state   o
 check_interval  1.00
 retry_interval  5.00
 max_check_attempts  2
 is_volatile 0
 parallelize_check   1
 active_checks_enabled   1
 passive_checks_enabled  0
 obsess_over_service 0
 event_handler_enabled   0
 low_flap_threshold  0.00
 high_flap_threshold 0.00
 flap_detection_enabled  1
 flap_detection_options  o,w,u,c
 freshness_threshold 0
 check_freshness 0
 notification_optionsc,r
 notifications_enabled   1
 notification_interval   60.00
 first_notification_delay10.00
 stalking_optionsn
 process_perf_data   0
 failure_prediction_enabled  1
 notes
 retain_status_information   1
 retain_nonstatus_information1
 }

 The problem for me it seems is when nagios is parsing the data just  
 before it is going to execute the command. It is no problem executes  
 check_nrpe with ah backslash (\) as the escape char. But the problem  
 for me is what escape char do i use in custom macros?


--
___
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] passive service check where display_name larger then 128 characters

2009-06-09 Thread Ton Voon
Hi Paul,

On 9 Jun 2009, at 18:13, Paul Vaes wrote:

 The issue is that if I define a nagios service where the service  
 description is larger than 128 characters, everything seem to work  
 properly except that running a script which sends a passive service  
 check via send_nsca the service in the Nagius gui is not updated  
 although the send_nsca says it was successfully sent. Looking in the  
 nagios log, I see that the passive check is arrived but that the  
 service description is chopped at 128 chars.

 I wonder if anyone fixed this problem already? It looks to me that  
 following line in include/common.h causes the issue
 #define MAX_DESCRIPTION_LENGTH128

 I assume that I need to recompile nsca ( for the server ) and  
 send_nsca ( for the client where I need to use a service description  
 longer then 128). The problem is that as soon as I will use the new  
 nsca binary on the server, I expect problems with all the servers  
 which still are using the original send_ncsa.

 Anybody any idea's, suggestions or solutions.

 I am using the latest nsca and send_nsca 2.7.2
 nsca is running on SUSE 10.2
 send_nsca on different Unix and Linux falvours

Yes, we've spotted this too.

There is a limitation in NSCA where the hostname is 63 characters, the  
service description is limited to 127 characters and the output is  
limited to 511 bytes. The overall NSCA packet size is 716 bytes.

We've been looking into making this packet size variable while still  
maintaining compatibility with existing send_nsca clients (we've done  
something similar with NRPE: 
http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html) 
. Contact me off list if you are interested in sponsoring Opsera to  
develop this functionality.

Ton


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] New perl module: Nagios::Plugin::WWW::Mechanize

2009-05-29 Thread Ton Voon
Hi!

Just to let you all know there is a new perl module on CPAN:  
Nagios::Plugin::WWW::Mechanize.

You can use this to monitor your website, POSTing your login  
credentials, navigating through your site, and picking out specific  
content information. The example shows how I use it to capture the  
number of users that are subscribed to the opsview-users mailing list,  
after logging into Mailman's authentication system.

News story here: http://nagiosplugins.org/node/102

I'll also be running a workshop on this at the Nordic Meet next week.  
You'll wonder how you lived without this! See you there!

Ton


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
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] HTTP and Web Form based Auth

2009-05-28 Thread Ton Voon

On 28 May 2009, at 19:17, Paul Weaver wrote:

 How are folks checking site functionality with sites that use auth
 *other* than basic (apache) auth?
 I didn't find any plugins that support populating forms and posting.

 I use a perl script and WWW:Mechanize.

Great minds think alike :)

This seems like a suitable time to mention my new plugin:

Nagios::Plugin::WWW::Mechanize(http://search.cpan.org/dist/Nagios-Plugin-WWW-Mechanize/
 
)

I'll be doing a workshop on this in the conference in Sweden. Bring  
you web site with your credentials and we'll get a plugin written for  
you in minutes! (Internet connection permitting)

http://nordicmeetonnagios.op5.org/program

Ton



--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
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] Periodic Overrides

2009-03-13 Thread Ton Voon

On 12 Mar 2009, at 15:29, Jason Frisvold wrote:


   For any given service, what is the accepted method for overriding  
 test
 values for a specific time period?  For example, we have servers that
 are backed up at a given time each night.  During the backup period,
 load is driven up on the server, exceeding the current threshold.   
 This,
 in turn, results in alerts being sent out about the server.

   However, since we know about this in advance, and it's a scheduled
 service, we'd like to override the load value during the backup  
 period.
 So if we normally trigger on a load of 2, we'd like to instead trigger
 on a load of 4 during backups.

   I know I can create two services with two timeperiods that will  
 handle
 this, but is there a better way?

Check out our patch: 
http://opsview-blog.opsera.com/dotorg/2007/04/changing_a_serv.html

You can then run a different command based on the timeperiod specified.

Ton


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
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] Any recommendations

2009-03-10 Thread Ton Voon


On 9 Mar 2009, at 21:45, Martyn wrote:

Hi Group, anybody used or can recommend ant of the below, or any  
others, I think if I can build a few via a GUI it will give me a  
better understanding.


Nagmin
Nagat
Nagiosweb

Thanks

Martyn



You may also want to consider Opsview: http://opsview.org

You add your host and service information via a mysql db and we  
generate your configuration for you with all the best practises:  
distributed monitoring, freshness checking, templating.


Includes inline Ajax updates, performance graphing for free, Nagvis  
installed alongside, plus our Hostgroup Hierarchy views and Viewport  
views.


Download the VM and check out the quick start guide: 
http://docs.opsview.org/doku.php?id=opsview3.0:quickstart

Disclaimer: I work for Opsera :)

Ton

--
___
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] Opsview 3

2009-02-09 Thread Ton Voon
Hi!

Just wanted to announce that Opsera have recently released Opsview 3.  
This is our GPL product, based on Nagios, which covers:
   * web front end for configuration
   * AJAX status views
   * NDOutils for status data
   * simple distributed setups, including clustered failover nodes

And a new feature is Nagvis integration! We've got more ideas around  
this area which we're going to work closely with the Nagvis developers  
on.

You can read our blog post about version 3.0 at http://opsview-blog.opsera.com/

You can get a quick overview of Opsview at http://opsview.org

Ton



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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] Distributed monitoring without direct network connection

2008-11-28 Thread Ton Voon
Thanks for the plug, but Opsview is not really suitable for this. We  
have distributed monitoring out-of-the-box, but it requires the  
permanent connection between slaves and the master which Nick says he  
hasn't got.


If you will have temporary connections (that go up and down), we have  
been thinking whether we can do batched results from slaves, though  
this is quite a big job as it requires changes to a lot of components  
(Nagios, NSCA, NDOutils, and our datawarehouse). Let us know if you  
fancy sponsoring this work.


Otherwise, why can't you just have notifications from the other  
servers? Do you need to correlate with your central server?


Ton

On 28 Nov 2008, at 14:20, Assaf Flatto wrote:



Try looking at opsview , it is doing what you want  with nagios as a  
component in his setup.


http://www.opsview.org/



On Friday 28 November 2008 11:53:28 Nick Lunt wrote:

Hi folks



nagios 3.0.5 on RHEL 4u6.



We have nagios servers all over the uk and we want to get all alerts
from each nagios server to a central nagios server at our main  
offices.


We do not have permanent network connectivity to the remote nagios
servers so using NSCA is not an option.



Has anyone any idea of how to overcome this problem ? I am thinking  
of
getting the remote nagios servers to send email alerts to an  
account on
the central nagios server then trying to get an alert generated  
based on

the contents of the email, has anyone tried this before ?



Or does anyone have any better ideas for solving this problem ?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] Distributed monitoring without direct networkconnection

2008-11-28 Thread Ton Voon


On 28 Nov 2008, at 16:00, Nick Lunt wrote:



So I'll have nagios clients - nagios  - send_email - primary  
nagios server - postfix - mail filter - send_nsca - nagios

If I get this working I'll treat myself to curry :)


You deserve a vindaloo.

So basically, you are using email from the disparate nagios systems as  
a delivery mechanism to send state change data to the master. Can't  
see why that wouldn't work (its just like getting trap or log event  
data).


Using emails provide you with resilience and retries, though high  
latency. Better hope there's not a network/email outage!


Ton

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] Auditing External Commands

2008-09-18 Thread Ton Voon

On 18 Sep 2008, at 20:15, Laack,Jacob C wrote:
 I'm running Nagios 3.0.3 with httpd on RHEL 5.  I have CGI  
 Authentication enabled for a couple dozen users.  Some of them make  
 mistakes when issuing External Commands and I'm looking for a way  
 to log or know who turned of notifications for a server that  
 shouldn't have been modified, etc.  I see that the /usr/local/nagios/ 
 var/nagios.log file shows…



 [1221748066] EXTERNAL COMMAND:  
 DISABLE_SVC_NOTIFICATIONS;fileserv;Download-WellsFargoBP



 …while the apache logs show…



 160.76.51.177 - ekaj [18/Sep/2008:09:27:46 -0500] POST /cgi-bin/ 
 cmd.cgi HTTP/1.1 200 1961



 Is there a native way for Nagios to attach to attach the CGI user,  
 ekaj in this case, to the DISABLE_SVC_NOTIFICATIONS command in  
 either the nagios.log file or somewhere else?  Any non-native way to  
 do it?

We had this request from a customer to add into Opsview. Patch is  
here: 
http://trac.opsview.org/browser/trunk/opsview-base/patches/nagios_store_cmd_cgi_submissions.patch

This tells the CGIs to write an additional line API LOG: to the  
nagios.log file and includes the user's name.

Beware, you need to provide permissions to the nagios.log file for the  
apache user to write to it.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Request to test pst3 on solaris systems

2008-06-17 Thread Ton Voon
Hi!

This is a request to test the latest pst3 in the nagiosplugins  
snapshot. My colleague, Duncan Ferguson, has been making some  
optimisations so that is runs much faster on systems with a large  
number of processes - on a Solaris 10 server with multiple zones, it  
runs about 94% faster!

I've just committed a change where a possible segfault was fixed.

Best way to get the change is via a snapshot when it next runs at 
http://nagiosplug.sourceforge.net/snapshot

I'd be interested if the before and after output is the same (within  
reason), with timings and number of processes and which Solaris  
versions.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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 Plugins 1.4.12

2008-05-27 Thread Ton Voon
Hi!

I'm proud to announce the availability of Nagios Plugins 1.4.12.

Included in this release is the --extra-opts syntax, available on all  
the core C based plugins, so you can now specify extra options that  
would act as if they were passed via the command line. This allows  
sensitive information to be stored in configuration files away from  
Nagios and in process listings. See http://nagiosplugins.org/extra- 
opts for more information. Note, this is only available by setting the  
configure option --enable-extra-opts, though it will be included by  
default in a future release.

Credit to Thomas Guyot-Sionnest for his hard work in porting this  
functionality over from the Nagios::Plugins perl module.

Speaking of which, this is a reminder that the Nagios::Plugin perl  
module is also included in this package. You need to run ./configure  
with --enable-perl-modules to include the perl libraries.

This release contains lots of fixes and minor enhancements from Holger  
Weiss and Matthias Eble.

Other highlights of this release:

   Added ./check_nt -v INSTANCES to count number of instances  
(Alessandro Ren)
   New check_icmp -s option to specify the source IP address
   check_dns now sorts addresses for testing results for more than one  
returned IP (Matthias Urlichs)
   Fix segfault in check_ntp_time and (deprecated) check_ntp (Bug  
#1862300)
   check_disk should now work with large file systems (2TB+) on all  
archs that supports it
   Fixed check_disk disk usage calculation when using --group=NAME  
(related to bug #1348746)
   Fix help text of check_ntp* (Bug #1880095)
   Fix bugs and flaws in best offset server selection of  
check_ntp_time and (deprecated) check_ntp
   check_ntp_peer now checks for the LI_ALARM flag
   Sync to latest Gnulib (includes new floorf function)
   check_pgsql now successfully builds with postgres lib v8.3 (Bug  
#1878972)
   check_procs now accepts --ereg-argument-array for a regular  
expression match to the argument array
   Reverted back to using pst3 for Solaris systems. Fixed issues re: - 
m64 needed to compile on 64bit systems
   If applicable, Gettext linked dynamically instead of statically
   check_dig can now pass arguments to dig by using -A/--dig-arguments  
(#1874041/#1889453)
   check_ntp and check_ntp_peer now show proper jitter/stratum  
thresholds longopts in --help
   check_dns now allow to repeat -a to match multiple possibly  
returned address (common with load balancers)
   check_mysql and check_radius now try clearing password in  
processlist just like check_mysql_query
   check_mysql and check_mysql_query now support sockets explicitely (- 
s, --socket)
   negate now has the ability to replace the status text as well (-s,  
--substitute)
   Added performance data to check_ping (Christian Schneemann)
   Added support for --extra-opts in all C plugins (disabled by  
default, see configure --help)
   Updated Nagios::Plugin to 0.27
   Fixed passive option in check_by_ssh
   On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse  
(result from command) instead of always UNKNOWN.
   Fix linking against OpenSSL where libdl is required

Thanks to all the contributors in the community that have helped with  
raising reports or providing patches.

You can download the latest release at 
http://sourceforge.net/project/showfiles.php?group_id=29880

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon


-
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] NDOUtils --- not compiled on Solaris

2008-03-31 Thread Ton Voon

On 31 Mar 2008, at 15:41, Marcin Praczko wrote:
  Is there anybody who install ndoutils on Solaris ?

http://altinity.blogs.com/dotorg/2008/03/ndoutils-on-sol.html

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Getting ndoutils 1.4b7compiled under freeBSD 6.3 with mysql support

2008-02-27 Thread Ton Voon

On 27 Feb 2008, at 08:11, Denny Schierz wrote:

 i really have problems to get ndoutils compiled under freeBSD 6.3 with
 mysql support. MySQL headers are under /usr/local/include/mysql and  
 libs
 are /usr/local/lib/mysql.

 ./configure --with-mysql-lib=/usr/local --with-mysql-inc=/usr/local/ 
 include

 does not work. (mysql.h not found, lmysqlclient ... no ...)

 i found a patched tar archive for with 1.4b3 but ...

I assume you are referring to our patched 1.4b3: 
http://altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html

Could you try that and see if it does detect mysql correctly?

Ethan appears to have committed our suggested patch for mysql  
detection, but is only in CVS at the moment and not released as a new  
version yet.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon


-
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] Fwd: Just a general concensus

2008-01-25 Thread Ton Voon
On 24 Jan 2008, at 20:50, Brian Loe wrote:

 what's the view on Opsview?

We like it, but then, we wrote it!

 Is it just, more or less, a wrapper for
 Nagios?

A lot of people complain about managing the configuration files, so  
Opsview provides a web front end to do this: http://opsview.org/about

A lot of people want a distributed setup, so we make that easy to do  
and maintain: http://opsview.org/distributedmonitoring

A lot of people want the integration with NDO, so we've invested time  
in that: http://opsview.org/architecture

A lot of people want a view on all their host and services in a  
hierarchical fashion, so we've got one: http://opsview.org/hostgrouphierarchy

A lot of people want a big screen showing the status of a few items: 
http://opsview.org/viewports

So yes, it is a wrapper to Nagios, because Nagios is the world's most  
popular monitoring system and it would be silly of us to re-rewrite  
that. But I think Opsview gives a lot more above it. And we give a lot  
back to this project too: http://altinity.org.

 Addons
 like Nagvis work with it (or is Nagvis unnecessary?)?

You can use Nagvis. In fact, one of our contributors, Jose Luis  
Martinez at Capside (http://opsview.org/contributors), has been doing  
some work on that. We hope to get it committed into our upcoming 2.12  
release in February.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon



-
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] Monarch like interface for Nagios 3.0rc1

2008-01-08 Thread Ton Voon

On 8 Jan 2008, at 03:26, [EMAIL PROTECTED] [EMAIL PROTECTED]  
wrote:

 We are brand new to Nagios/*ix.
 I’ve been nagging my head against the wall, and got it running.
 Config seems to be a nightmare.
 Anyone know where I can find a Monarch like interface for Nagios  
 3.0rc1  which is dumb proof so I can install  use it?

You may want to try Opsview: http://opsview.org.

You get Nagios + configuration web GUI + NDO + distributed setup in  
our nice complete package.

Disclaimer: I work for the company behind it.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] monitor Network Time Protocol

2007-12-20 Thread Ton Voon

On 20 Dec 2007, at 11:37, trevor obba wrote:

 use check_ntp

In fact, use check_ntp_time (in the 1.4.11 release).

This will check the local (to the plugin) time against the NTP server.  
check_ntp will be deprecated in future releases.

If you want to check your NTP server against its peers, use  
check_ntp_peer.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Slow Nagios reloads with NDOUtils

2007-11-17 Thread Ton Voon
On 16 Nov 2007, at 21:23, [EMAIL PROTECTED] wrote:


 My first problem, and I am not sure it is actually a problem, is  
 that when I do a reload of nagios (/etc/init.d/nagios reload) it  
 takes, what seems to me to be, a long time. It is usually around  
 90-120 seconds for Nagios to start allowing use of the web  
 interface once the reload is initiated. A check of the files  
 reveals no errors (save one warning for a host with no services)  
 and the nagios process shows in a ps awux list. However the web  
 interface shows the Whoops! Error: Could not read host and service  
 status information! during the 90-120 second delay I mentioned  
 earlier.


Hi Mark,

There seem to be quite a few emails in this list about NDOUtils being  
a bit slow. We saw this about 6 months ago and have been optimising  
the hell out of it, but it boils down to this:

- NDO updates are synchronously applied to the database

This means that Nagios has to wait for the DB to finish the update  
before it continues. I believe Ethan is doing something at NDO after  
Nagios 3 is released.

We've done various tricks to try and reduce the time for a reload,  
which we will blog about on http://altinity.org soon, but I just  
haven't found the time to do it. The first couple of things that come  
to mind are:

- indexes should be re-arranged so that the time column is first.  
Currently, a lot of indexes have instance_id first. However, when you  
are doing a delete based on time, the index is effectively useless,  
so mysql has to do a complete table scan to work out which rows need  
to be deleted. This will cause mysql to take a lot of time. This is  
the single biggest thing that you can do
- reduce the amount of times ndo2db calls the housekeeping routine.  
By default, it is every 60 seconds. We've reduced down to 600  
seconds. It could probably be even less frequent. One thing I've just  
thought is to have ndo2db NOT do any housekeeping and do it yourself  
(mysql is multi-user after all)
- reduce the amount of data sent. We stop the broker module sending  
systemcommands, log entries and passive commands
- we've also patched Nagios to not send status data on a reload. By  
default, Nagios will send data to ndo about the status of all hosts/ 
services on a reload. This is not required because the db already  
knows what the status of the things were before the reload!
- we're currently testing a de-coupling of NDOMOD from ndo2db. The  
idea is that NDOMOD writes files and then a separate daemon loads  
those files into ndo2db. This effectively means that NDO updates are  
now asynchronous, though there is now a delay in the updates

We've also made a patch to Nagios 2.9 (which Ethan has applied to  
Nagios 3), where the status file is kept between reloads, so you  
don't get the dreaded Could not read host and service status  
information error. That is available at http://altinity.blogs.com/ 
dotorg/2007/09/nagios-patch-da.html.

We love NDOutils - a lot of our features in Opsview depends on it,  
including our favourite, Hostgroup Hierarchy (http://opsview.org/ 
hostgrouphierarchy). So we're interested in making NDOutils work as  
fast as possible too.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] Global users and time zones

2007-10-30 Thread Ton Voon
Hi Benny,

On 29 Oct 2007, at 20:56, C. Bensend wrote:

I realize this is borderline relevant, but I'm sure some of you
 have had to deal with this in the past.  How do you do it?  I'm
 trying to avoid having times displayed in a single time zone and
 having the local admins do time calculations and offsets just to
 get their systems monitored.  I REALLY don't want to have a Nagios
 server in each time zone if I can in any way avoid it.

I think this is as simple as setting TZ=new_timezone before executing  
the CGIs. This seems to be the case running on command line.

What you may want to do is setup different Apache virtual hosts, say  
http://india.nagios.example.com//cgi-bin/status.cgi, http:/// 
uk.nagios.example.com/cgi-bin/status.cgi, etc and within each of  
those virtual hosts in Apache, set the TZ variable. Then, from the  
website, it is obvious which timezone data you are looking at.

I'd also be open to any third-party front ends that may handle
 this more gracefully than I might.  :)  As of right now, I'm using
 PHP and PostgreSQL, and will be building the config files with
 perl.

With Opsview (http://opsview.org), we'd like to incorporate timezone  
support so that a user can choose their timezone and get data  
displayed accordingly (http://trac.opsview.org/wiki/RoadMap). Let us  
know if your interested in sponsoring this development.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] New Nagios Plugins website

2007-10-09 Thread Ton Voon
Thanks Tom,

We were thinking that the --help pages are different from the man  
pages. For instance, dpkg --help or rpm --help gives a list of  
options, whereas man dpkg or man rpm gives more commentary and  
examples. However, that requires more work.

If --help on the site is sufficient, we could setup a job that takes  
the latest code and populate the web site with it.

Ton

On 9 Oct 2007, at 10:54, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi Ton,

 I notice you have a Manuals page with the help files for each  
 plugin. I
 went and collected a whole bunch off stuff  recently. I have  
 attached a
 MS word doc with what I have. Hope this doc saves you or some others
 some work

 Regards

 Tom

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ton
 Voon
 Sent: 09 October 2007 10:44
 To: Nagios Users mailinglist; [EMAIL PROTECTED]
 Subject: [Nagios-users] New Nagios Plugins website

 Hi!

 Just to let you all know that a new website for the Nagios Plugins
 project has just been launched: http://nagiosplugins.org

 We'll be using this as a way of keeping you all up to date on the  
 latest
 information about the plugins.

 But it is your site too. We've enabled comments so you can add your
 information to various pages. We're especially looking forward to some
 innovative ways you use the plugins.




http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Standard Nagios Plugins 1.4.9 and IPv6 problem?

2007-09-21 Thread Ton Voon

On 20 Sep 2007, at 19:36, Frost, Mark {PBG} wrote:

 We're looking to changes the modules file for this box to prevent any
 component of IPv6 being loaded, but I'm still not convinced that will
 dissuade the plugins from going on their merry way.

Sorry to jump in late on this thread.

In the plugins code, the is_hostname routine tries to verify if the  
hostname is valid and I think this is through the resolver libraries,  
so will use DNS (regardless of OS caching). I think more recent  
resolver libraries will try ipv6 resolution before ipv4, which is  
beyond the scope of the plugins.

As some people have already pointed out, checking the validity of the  
hostname is redundant. The better approach is to just make the call  
with the hostname specified on the command line and catch any errors.

I believe this is why your DNS servers see multiple calls for the  
same hostname from a single plugin invocation.

While removing the is_hostname calls is not too difficult, making  
sure that an appropriate error is propagated into the plugin output  
could be quite time-consuming.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] dont check service when host down

2007-09-18 Thread Ton Voon

On 18 Sep 2007, at 15:08, Marc Powell wrote:

 I'm using nagios to check a lot of host and service. When a host is
 coming
 down, nagios continue to check the service attached to this host.  
 It's
 consume a lot of performance, it's trivial to know that when a  
 host is
 down, we dont get a response from the service associate...

 how can I fix that ? please

 Nagios does what you're asking for by default if you have a host
 check_command that correctly determines the status of the host.

 Check the first two paragraphs of
 http://nagios.sourceforge.net/docs/2_0/networkreachability.html.

Marc, that's not strictly what Olivier is asking for. Nagios will  
silence alarms if the host is down, but will continue checking the  
service, regardless of the state of the host.

Olivier, you could probably stop the service check by using  
dependencies (http://nagios.sourceforge.net/docs/2_0/ 
dependencies.html), but there's a lot more configuration required.

Ton


http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] Disabling Host Commands CGI for a user

2007-09-18 Thread Ton Voon

On 18 Sep 2007, at 18:32, Mick wrote:

 Is there a way to disable access to the Host Commands CGI on a user  
 by user
 basis?

 For some users I want to only allow them to view the settings and  
 status of
 different services, but not to allow them to change these.

I think you mean to stop certain users from being able to issue  
commands via the CGIs.

Altinity have published a patch to Nagios 2.x which allows this very  
thing by setting a new variable for a contact.

Details here: http://altinity.blogs.com/dotorg/2006/02/ 
a_view_some_cha.html

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] Further problems with NDO Utils

2007-09-13 Thread Ton Voon

On 12 Sep 2007, at 19:32, Ton Voon wrote:

 Can you try the Altinity patched version of NDO Utils? http://
 altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html

 This incorporates a better detection of mysql (based on the Nagios
 Plugins' one).

 I'm trying to get Ethan to apply to the core NDO, so every success is
 an encouragement.

I've since realised that this problem is actually a linking issue,  
not a compile issue.

There are three options (that I know of):
   - ld.so.conf
   - LD_LIBRARY_PATH at runtime
   - LD_RUN_PATH at compile time (or some variation of, using linker  
flags)

This is not a problem on the Nagios Plugins because we use libtool  
which adds in the correct linker flags, which is why check_mysql  
works okay (run ldd check_mysql and it will find the mysql libraries  
in the non-standard directories).

This has not been included in the Altinity patch for NDO utils  
because libtool is a bit of a sledgehammer to crack this nut.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] Further problems with NDO Utils

2007-09-12 Thread Ton Voon
Tom,

Can you try the Altinity patched version of NDO Utils? http:// 
altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html

This incorporates a better detection of mysql (based on the Nagios  
Plugins' one).

I'm trying to get Ethan to apply to the core NDO, so every success is  
an encouragement.

Ton

On 12 Sep 2007, at 17:41, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi Again list.

 Im my continuing saga to try and get NDO Utils working I have come  
 up against another error.

 # /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 /usr/local/nagios/bin/ndo2db: error while loading shared libraries:  
 libmysqlclient.so.15: cannot open shared object file: No such file  
 or directory

 If I check the output off ./configure I can see that it found the  
 mysqlclient libs

 checking for mysql_store_result in -lmysqlclient... yes
 checking mysql/mysql.h usability... yes
 checking mysql/mysql.h presence... yes
 checking for mysql/mysql.h... yes
 MySQL library and include file(s) were found!

 Can anyone point me in the right direction please.

 I'm so gonna write this all up when I have finished.

 Regards

 Tom



 Nagios 2.9 starting... (PID=10285)
 [1189614170] LOG VERSION: 2.0
 [1189614170] ndomod: NDOMOD 1.4b5 (08-29-2007) Copyright (c)  
 2005-2007 Ethan Galstad ([EMAIL PROTECTED])
 [1189614170] ndomod: Could not open data sink!  I'll keep trying,  
 but some output may get lost...
 [1189614170] Event broker module '/usr/local/nagios/bin/ndomod.o'  
 initialized successfully.
 [1189614170] Finished daemonizing... (New PID=10286)
 [1189614186] ndomod: Still unable to connect to data sink.  3212  
 items lost, 5000 queued items to flush.

 -- 
 ---
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 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 2005.
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] Distributed config admin tool?

2007-08-31 Thread Ton Voon

On 30 Aug 2007, at 22:55, Rob Brown wrote:

 Anyone using OpsView? (http://opsview.org/node/10) Sounds like it has
 this capability:
 With Opsview, one of the big features is the simple distributed
 monitoring - you just select a drop down to associate a host with a
 slave server and then when you hit the Opsview reload button, all the
 Nagios configurations are generated as you'd expect (slaves
 monitoring, master with freshness checking, automatic distribution to
 slaves, synchronized reloading). It works amazingly well.

We wrote it, so we use it :)

We use scp to transfer the files across to slaves. The generated  
config is different between master and slaves, so separate tarballs  
are created. There's also a validation phase before we synchronise a  
reload on all Nagios instances.

There's a little publicised feature where you can cluster your slaves  
together, so at configuration generation time, it will split the  
hosts between the clustered slaves for load balancing. if there's a  
failure on one slave, the other slave will take over the active  
checks. All for free!

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] NDOUtils 1.4b4 OpenBSD build issue

2007-08-30 Thread Ton Voon
Hi Israel,

On 29 Aug 2007, at 21:31, Israel Brewster wrote:

 Ok, I have now attempted to build ndoutils 1.4b4 on a RHEL 4 box,
 only to get the following error:

 gcc -O0 -g -DHAVE_CONFIG_H  -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c
 dbhandlers-2x.o io.o utils.o db.o  -L/usr/lib/mysql -lz  -lnsl -
 lmysqlclient
 utils.o(.text+0x14e): In function `ndo_dbuf_strcat':
 /root/ndoutils-1.4b4/src/utils.c:67: undefined reference to `ceil'
 collect2: ld returned 1 exit status
 make[2]: *** [ndo2db-2x] Error 1
 make[2]: Leaving directory `/root/ndoutils-1.4b4/src'
 make[1]: *** [ndo2db] Error 2
 make[1]: Leaving directory `/root/ndoutils-1.4b4/src'

Is this using the Altinity patch for NDOutils to use mysql_config?

Andy is right, you're missing the -lm in the compile, but using the  
mysql_config should have picked that up correctly. (Actually, I think  
that rings a bell about some redhat mysql-devel packages are not  
sync'd correctly with the mysql packages, so mysql_config gives bogus  
data -that would be a packaging problem.)

If you are using the Altinity patch, can you attach the config.log?

We do nightly builds on RHES4U1 and ndoutils always compiles correctly.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] NDOutils on FreeBSD -- solved

2007-08-22 Thread Ton Voon
Hi Michael,

On 21 Aug 2007, at 22:16, Michael W. Lucas wrote:

 The problem is in ndoutils-x/include/config.h .  The configure script
 puts all the libraries under /usr/lib instead of letting mysql be
 under /usr/local/lib.  I edited config.h as shown, and ndoutils
 compiled just fine.

Can you try this patch we posted on altinity.org? http:// 
altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html

It uses the same detection mechanism that the Nagios Plugins uses.  
I've tested on Mac OS X which has mysql in /usr/local/mysql/lib,  
which is also non-standard.

I think Ethan has said he is interested in this patch, so a  
confirmation from yourself might help swing his decision.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] NDOutils on FreeBSD -- solved

2007-08-22 Thread Ton Voon

On 22 Aug 2007, at 14:23, Michael W. Lucas wrote:

 No joy.  I did the following:

 download the patch and the np_mysqlclient.m4 into my home dir.

 extract a clean ndoutils, go into it

 patch  ../ndoutils_better_mysql_detection_cvs.patch

 mkdir m4
 mv ../np_mysqlclient.m4 m4/

 Ran configure, and got:

You need to run aclocal -I m4  autoconf in the top level directory  
before you run configure.

The configure log doesn't have any entries re: mysql_config which is  
what this patch will try to use.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] NDOutils on FreeBSD -- solved

2007-08-22 Thread Ton Voon

On 22 Aug 2007, at 15:20, Michael W. Lucas wrote:

 On Wed, Aug 22, 2007 at 03:11:38PM +0100, Ton Voon wrote:

 On 22 Aug 2007, at 14:23, Michael W. Lucas wrote:

 No joy.  I did the following:

 download the patch and the np_mysqlclient.m4 into my home dir.

 extract a clean ndoutils, go into it

 patch  ../ndoutils_better_mysql_detection_cvs.patch

 mkdir m4
 mv ../np_mysqlclient.m4 m4/

 Ran configure, and got:

 You need to run aclocal -I m4  autoconf in the top level directory
 before you run configure.

 The configure log doesn't have any entries re: mysql_config which is
 what this patch will try to use.

 Sorry, still no joy.  This was with aclocal14 and autoconf259; are
 particular versions required?  (I'm a BSD guy, so this aclocal and
 autoconf stuff is foreign, sorry.)

Can you try with a higher automake (where aclocal comes from)? You  
need at least 1.9.2, I think.

Can you also try the nagiosplugins and see if check_mysql compiles  
there?

I'll try and create a new tarball for ndoutils later today for you to  
try. I'll post on our blog site.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] NDOutils on FreeBSD -- solved

2007-08-22 Thread Ton Voon

On 22 Aug 2007, at 15:49, Michael W. Lucas wrote:

 On Wed, Aug 22, 2007 at 03:37:21PM +0100, Ton Voon wrote:
 I'll try and create a new tarball for ndoutils later today for you to
 try. I'll post on our blog site.

 Let me know, I'm happy to test.

The tarball (based on ndoutils-1.4b3) is here: http:// 
resources.opsview.org/ndoutils-1.4b3_with_mysql_patch.tar.gz

./configure should give output like:

checking for mysql_config... /usr/local/mysql/bin/mysql_config

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] NDOutils on FreeBSD -- solved

2007-08-22 Thread Ton Voon

On 22 Aug 2007, at 16:44, Michael W. Lucas wrote:

 checking for type of socket size... size_t
 checking for linker flags for loadable modules... -shared
 checking for mysql_config... /usr/local/bin/mysql_config
 checking for mysql_init in -lmysqlclient... yes
 MySQL library and include file(s) were found!
 ...

 This is more like it.  Now make the main distribution work like  
 that.  ;-)

That's up to Ethan. Another happy user may sway him...

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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 project help required

2007-08-09 Thread Ton Voon
Hi Sekhar,

On 9 Aug 2007, at 13:59, Sekhar wrote:

 I have a new monitoring project now i am planning to implement  
 nagios with some good GUI for configuration files.

 Can someone help me which web interface is good for configuration  
 files like adding hosts,hostgroups etc

You might like to try Opsview - http://opsview.org.

Configuration via the web interface, reload via a web page, Nagios  
CGIs that refresh inline (using AJAX) and a great new Hostgroup  
Hierarchy page to see the status of everything in a hierarchical  
fashion with drill down.

You can get a downloadable VM, redhat RPMs or debian packages.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] Simple SMS alerting

2007-07-18 Thread Ton Voon
Hi!

Just wanted to make you aware of a simple way of getting SMS alerting  
from your Nagios system. For Opsview, we've been working with a  
company called AQL (http://aql.com) who provide an SMS gateway. We've  
been speaking to their technical guys and David Precious, a perl  
developer who has written SMS::AQL (http://search.cpan.org/dist/SMS- 
AQL/), to get really easy communication with AQL's systems.

You can read about it on our blog site: http://altinity.blogs.com/ 
dotorg/2007/07/sms-alerting-vi.html

There's also a script to download, which can then provide you with  
the mechanism to send your alerts via AQL.

Enjoy!

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Unable to installed the plugins

2007-07-02 Thread Ton Voon

On 2 Jul 2007, at 20:07, Paikray, Manas (GE Money, consultant) wrote:

 +Error+
 if gcc -DLOCALEDIR=\/usr/local/nagios/share/locale\ - 
 DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/ 
 include/ldap -I/include -I/usr/include-g -O2 -MT check_apt.o - 
 MD -MP -MF .deps/check_apt.Tpo -c -o check_apt.o check_apt.c; \
 then mv -f .deps/check_apt.Tpo .deps/check_apt.Po; else rm -f  
 .deps/check_apt.Tpo; exit 1; fi
 /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o  
 check_apt  check_apt.o utils.o ../lib/libnagiosplug.a ../gl/ 
 libgnu.a runcmd.o
 libtool: link: cannot find the library `' or unhandled argument `/ 
 nagios-plugins-1.4.7/plugins'
 make[2]: *** [check_apt] Error 1
 make[2]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7/plugins'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/opt/Backup /nagios-plugins-1.4.7'
 make: *** [all] Error 2

Is the space after /opt/Backup correct?

There is a known problem with the automake tools if the path to the  
compile area contains a space.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Severe peformance issue during major network outage

2007-05-11 Thread Ton Voon

On 11 May 2007, at 19:03, Jim Avery wrote:

 On 11/05/07, Aidan Anderson [EMAIL PROTECTED] wrote:

 A lot of people have mentioned using fping to speed things up but  
 if my
 average service latency is only 0.479 seconds in normal  
 circumstances, I
 can't see how tweaking this will help in a major outage situation.

 check_ping won't finish until it's done all the pings, and the pings
 are (if I recall) always at one second intervals.  This means that if
 you've configured check_ping to do (let's say) 5 pings, the check_ping
 plugin will always take at least 5 seconds to complete.

 If the check_ping is being run as a host check rather than a service
 check, my understanding is that this is the only thing Nagios will be
 doing; it doesn't do anything else concurrently (correct me if I'm
 wrong people).

Correct. We noticed this some time ago too: http://altinity.blogs.com/ 
dotorg/2006/05/immediate_perfo.html

If you do stick to using check_ping, use -p 1 which is sub second  
response time.


 In normal operation, nagios will rarely do a host check, as it only
 usually bothers to if all of the service checks (which can run
 concurrently) for that host have failed.  When lots of hosts go down
 at once, you suddenly notice how bad it is to have such slow host
 checks.

Nagios 3 will do parallelised host checks, so there will not be a  
slow down there.

Also, Ethan said in his presentation at the Netways conference last  
year that some of the host unreachable logic was not quite right:  
http://www.netways.de/uploads/media/Ethan.Galstad_Nagios. 
3.and.Beyond.pdf

This should be fixed in Nagios 3.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Severe peformance issue during major network outage

2007-05-11 Thread Ton Voon

On 11 May 2007, at 20:25, Aidan Anderson wrote:

 First of all, thank-you for the replies!

 The majority of devices that I monitor are routers/vpn devices and I
 have (on the documentation's advice) not set active checks on the  
 hosts
 and instead I've added check_ping as a service on each of these  
 hosts to
 do 5 pings as follows:

 check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5

 For the host check I already use as you suggested a check_ping that  
 only
 does one ping as follows:

 check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1

 My understanding was that if the service check failed it would then
 abandon the service check altogether and move onto the host check  
 which
 is only 1 ping.  The fact that the service checks are parallelised
 should mean that it shouldn't matter that there are 5 pings and the  
 host
 check is only 1 ping which should resolve the bottleneck of serialised
 host checks.  I'm at a loss as to why performance has been impacted so
 severely.

 Maybe I need to abandon the service checks altogether and just have a
 host check.  I'm reluctant to do this because I get very useful
 information from 5 pings, ie packet loss and high rta which is
 particularly handy for checking volatile links such as ADSL.  Maybe  
 that
 is the trade-off, fast host checking with no useful stats or slow host
 checking with useful stats.

Just noticed this in your original email:

Host Check Execution Time:   0.03   / 10.04   / 0.843 sec

This means that some of your host checks are taking 10 seconds, which  
is, funnily enough, the timeout period for check_ping. So the -p 1  
will still take 10 seconds if the routers are not responding.

You can use a timeout flag for check_ping (but is only supported on  
some OSes). I guess check_icmp is a better bet here.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 2.8 + NDO 1.4b2 + NDO2DB = high service latency

2007-05-10 Thread Ton Voon

On 4 May 2007, at 11:39, Robin Ericsson wrote:

 On 5/4/07, Ton Voon [EMAIL PROTECTED] wrote:
 Just to let you know that we've found DB contention issues with
 Nagios 2.8 with NDO 1.4b2. Mysql takes a very long time (around 30
 seconds) to run the (from memory) DELETE FROM nagios_servicechecks
 WHERE instance_id = 1 AND entry_time  . query. This holds up
 other things, though I haven't fully understood where or why.

 The problem is with the indexes for nagios_servicechecks. We dropped
 the unique key index, which was (instance_id, service_object,
 entry_time, uentrysec), and created a new index based on entry_time
 only. This is much quicker because (a) the index is smaller, (b)
 mysql can locate the correct rows quicker because it finds the rows
 based on time, rather than trying to find rows based on instance_id
 (which is every row in the table - effectively doing a full table  
 scan).

 (As an aside, mysql will not enforce the uniqueness on that index -
 it only works for tables of type innodb, not myisam.)

 Seems like a very bad I idea to drop the unique key index, just create
 another index that works better with the query.

Wise words. I've just discovered that for each servicecheck result,  
it is inserted into nagios_servicechecks table twice.

The first time has results from the previous servicecheck result, but  
with the current start time. The 2nd time actually has the result  
from the servicecheck.

The insert is done with a INSERT ... ON DUPLICATE KEY UPDATE ...,  
so with the unique key, it overwrites it. But with the index dropped,  
there are two entries.

(My previous statement about mysql not enforcing the uniqueness of a  
row is now clearly wrong, so I retract that :) )

Obviously we need to restore the unique index, but the better fix  
would be to work out why there are two inserts


 If the query contains WHERE instance_id = 1 and entry_time , create
 an index on instance_id, entry_time which should make mysql fly a
 little faster.

I think maybe if the order of the index is arranged, it would work  
much better. For instance, set the unique index to be (start_time,  
instance_id, service_object_id, start_time_usec). Then for the query,  
the db will use the start_time first (which will reduce the number of  
rows to the smallest number found) and then check the instance_id.

The trouble was that the previous index returned back all rows (if  
you only have one instance_id), so a full table scan was required to  
find the start_time.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 cluster plugin

2007-04-23 Thread Ton Voon
James,

Can you try the snapshot at http://nagiosplug.sf.net/snapshot.  
check_cluster2 has been recently moved into core and renamed as  
check_cluster.

Ton

On 23 Apr 2007, at 21:23, James wrote:

 Hi i was trying to use the check cluster plugin from the contrib
 directory in the nagios plugins download but i get the following:

 ./check_cluster2.c: line 1: /backup: is a directory
 ./check_cluster2.c: line 2: aix: command not found
 ./check_cluster2.c: line 3: aix: command not found
 ./check_cluster2.c: line 4: aix: command not found
 ./check_cluster2.c: line 5: syntax error near unexpected token `('
 ./check_cluster2.c: line 5: ` * Copyright (c) 2000-2004 Ethan Galstad
 ([EMAIL PROTECTED])'

 i'm just suppose to copy the files from the contrib directory to the
 plugins directory i'm using right?
 Or am i suppose to configure them and do make and all that stuff?
 cause if so can someone give me the command for making and installing
 the contrib plugins?

 Thanks

 -- 
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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



http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 menagemente

2007-04-12 Thread Ton Voon

On 12 Apr 2007, at 03:39, Thomas Guyot-Sionnest wrote:

 On 11/04/07 08:26 PM, Jason Rojas wrote:
 An ex-coworker just brought this to my attention, looks promising:

 http://www.opsview.org/

 Interesting. However it does not seems to be well documented. I'm
 particularly wondering what level of flexibility does it gives.

 I'd certainly benefit from this kind of SNMP Trap management, but I
 doubt it could be of any help for setting up hosts and services
 considering the way wrote my Nagios config (Highly based on  
 templates in
 a way it is very easy to maintain). Is it possible for example to  
 use it
 only for trap management?

 Anyone has experience migrating large distributed setups partly or
 completely to Opsview?


Aahhh! The cat is out of the bag!

We will be making a bigger announcement about Opsview shortly as we  
have a newer version waiting in the wings. But I will answer a few  
questions now:

   Q: Is it based on Nagios?
   A: Yes. Nagios is the world's most popular open source monitoring  
system, so it would be silly not to. We make a big (http:// 
altinity.com) deal (http://www.altinity.com/opensourcecommitment)  
about using Nagios (http://www.opsview.org/), and we continue to  
publish our changes upstream (http://www.altinity.org)

   Q: Can I manage Nagios config files using Opsview?
   A: Yup. We have our web frontend to add or clone hosts, services  
or contacts. We spend a lot of time making the front end as easy as  
possible. You don't touch the config files at all

   Q: Can I do distributed setups?
   A: Yup, as easy as a drop down selection for a host. Hit reload  
and we take care of sending all your configs to all the slaves. We  
even throw in freshness checking and parent child relationships for  
good measure

   Q: Do you have a Pro version?
   A: We only have one version: Opsview. We don't believe in  
splitting our codebase for marketing reasons - we just want to keep  
making our core code better. You can call it Pro if you want :)

   Q: How much does it cost?
   A: We licence Opsview under the GPL because we believe it is a  
fundamental right that you can change the code if you want. So the  
code is free. We make money on support (which you don't have to take)  
and development (so you can sponsor certain features).

   Q: So you're open sourcing it?
   A: That is our plan. We're starting with a publicly available VM,  
we'll be publishing RPMs and .deb files soon and we will be posting  
source code releases on Sourceforge. We're already put source code on  
SF, but they are hard to install or create RPMs. We're getting there.

   Q: Where can I start?
   A: I recommend getting the VM image from http:// 
downloads.opsview.org/ as we've sorted out a lot of the dependency  
issues. We will have a 2.7 image posted in the next few days, with  
packages soon after - we'll talk more about that when it is ready.  
Sign up to our mailing lists at http://opsview.org/mailinglists, and  
get ready for the announcements!

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
[EMAIL PROTECTED]
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] NDOUtils 1.4 Stability

2007-04-11 Thread Ton Voon

On 11 Apr 2007, at 21:20, Patrick Morris wrote:

 On Wed, 11 Apr 2007, Janet Post wrote:

 Hello Everyone,

 I would -really- like to use the NDOUtils for my nagios 2.8 install.
 But the big **DO NOT USE IN PRODUCTION ENVIRONMENT** warning is a  
 little
 scary.

 Here are some questions for you all who are using it (and the
 developers):

 1) is there any outward sign that the NDOMOD module has  
 segfaulted?  A
 logfile?

 2) Can nagios monitor this itself?  Or will a crash in NDOMOD cause
 nagios itself to die as well?  (I was thinking of having nagios watch
 for the NDOMOD process, and if it wasn't there, restart  
 everything...but
 if nagios goes down too, that obviously won't work)

 3) Any ETA on when NDOUtils will be ready?   Losing database  
 support was
 one of the reasons I did not want to upgrade to nagios 2.x.  Pointing
 the cold spare to a database with up-to-date status information is  
 just
 easy!

 Nagios will keep running if ndmomod dies; it just won't log to a
 database any more.  It's pretty easy to spot the insertion errors in
 Nagios's log if/when it happens, or by monitoring the process as you
 mentioned.

I don't think that is strictly true. Since ndomod is running in the  
same process space as Nagios, a problem with the broker module will  
cause the main nagios process to die too.

However, a failure at ndo2db (that writes to the db) will not affect  
Nagios.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] What do you not like about Nagios' notification/escalation system?

2007-03-30 Thread Ton Voon

On 30 Mar 2007, at 12:35, Andreas Ericsson wrote:

 Ton Voon wrote:
 There probably needs to be an order to the contactprofiles so that a
 notification alert only alerts through at most 1 contactprofile.

 In my experience, people always want email but not always sms. Forcing
 it to be a single notification only wouldn't be a good idea.

Sorry, I meant to say only alerts through each command at most one  
time (if that's proper English).

So the characteristics of the contactprofile define the filters for a  
particular event, the command defines the type of notification  
(email, sms, paging, rss) and the above rule stops you getting  
multiple emails/sms/pages/rss items for a single event.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Out of memory failures on Nagios master server

2007-03-09 Thread Ton Voon
Jonathan,

On 9 Mar 2007, at 16:39, Wheeler, JF (Jonathan) wrote:

 My configuration has a master server and 2 slave servers with about  
 730
 hosts and 16000 service checks.  All our systems are running  
 Linux.  For
 some time now the master server has been running out of memory between
 4:50 and 5:00 such that the server either kernel panics (rarely) or it
 kills all useful processes.  To try and investigate the problem I have
 been running at commands to run vmstat 15 160 and date; ps -ef;  
 sleep
 15 (160 times) to record system activity at 15 second intervals  
 for 40
 minutes, i.e. from 4:30 until 5:10.  This has revealed that the  
 problem
 is caused by a) nsca processes starting and not being completed  
 (today's
 maximum count was 4447) until they all suddenly complete at about  
 4:50.

You may want to try running nsca in --single mode. You can  
potentially lose some slave checks, but you would never get the high  
number of nsca processes.

We've seen situations where a high number of nsca processes makes the  
nagios server crawl, slowing other things down.

 During this time vmstat shows that memory usage increases slowly,  
 but it
 is all released when the nsca processes run.  About 10 minutes later
 there are many separate nagios processes which do not complete  
 (183); as
 the nagios process is quite large this fills system memory and swap
 space which effectively kills the system.

IIRC, passive check results are processed by the main nagios process,  
so shouldn't be responsible for multiple nagios processes. There are  
multiple nagios processes for parallelised service checks - perhaps  
you could restrict the number of parallelised checks?

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] FOSDEM talk about Nagios Plugins

2007-02-19 Thread Ton Voon
Hi!

If any of you are going to FOSDEM in Brussels this coming weekend,  
please pop round and say hello! I will be in giving a 15 minute  
Lightning Talk about the Nagios Plugins, which will comprise a  
quick introduction to Nagios and the Plugins and a how to write a  
plugin in 8 minutes demonstration.

More details here: http://fosdem.org/2007/schedule/events/59

Videos will be available after the show - I will follow up with links  
when they are released.

Look forward to seeing some of you there!

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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 in check_disk when using mount points?

2007-02-14 Thread Ton Voon

On 14 Feb 2007, at 18:49, frank wrote:

 (Please pardon my top-posting)

 The first problem is that the --help listing has a typo. Mount  
 points are
 checked with '-M', megabytes are checked with '-m', but both are  
 listed
 in lowercase when you use --help.

Thanks. This is fixed in CVS now.


 The second problem appears to be in the reporting of command line  
 errors.
 Try putting your mount point after your -w and/or -c flags. In older
 version of the plugin it would complain when you left out either  
 the -w or
 -c. Now it just reports (signed) 2^32 (if my mental math is right)  
 in the
 performance data:

 # ./check_disk -M -w 10% /home
 DISK WARNING - free space: /dev/hda3 5904 MB (8% inode=95%);| /dev/ 
 hda3=63902MB;66188;-2147483648;0;73543

 So yes, there are some issues in the plugin that deserve fixing,  
 but it
 does work properly when given instructions in the correct order.

This has been fixed in the 1.4.6 release.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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_disk

2006-12-20 Thread Ton Voon


On 20 Dec 2006, at 15:51, Marc Powell wrote:

1.64 (from plugins-1.4.3) works successfully here (RHAS3.7  
checking an

ext3 formatted LVM partition) --

$ ./check_disk --version
check_disk (nagios-plugins 1.4.3) 1.64

$ ./check_disk --icritical 91%  /
DISK CRITICAL - free space: / 2546 MB (32% inode=90%);|
/=5328MB;7874;7874;89;7874

$ ./check_disk --icritical 1%  /
DISK OK - free space: / 2546 MB (32% inode=90%);|
/=5328MB;7874;7874;89;7874


1.79 from plugins-1.4.5 appears borked --

$ ./check_disk --version
check_disk (nagios-plugins 1.4.5) 1.79

$ ./check_disk --icritical 91%  /
DISK OK - free space: / 2531 MB (33% inode=89%);|
/=4942MB;-2147483648;-2147483648;0;7874

$ ./check_disk --icritical 1%  /
DISK CRITICAL - free space: / 2531 MB (33% inode=89%);|
/=4942MB;-2147483648;-2147483648;0;7874




Marc,

Yes, this does look incorrect. When the plumbing work was done for  
the filesystems, checks for the inodes weren't completed correctly.


This is fixed now. I've also included tests now, so this should be  
picked up in future before it gets released.


The perf data is nulled if you check inodes only because there is no  
warning/critical set for the disk space.


Please try the CVS snapshot when that gets created.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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_disk

2006-12-20 Thread Ton Voon


On 20 Dec 2006, at 19:43, Marc Powell wrote:


Thanks for the quick fix Ton. I was just confirming a bug for Matthias
Haider though and am happy with my 1.64 version ;) Did you also see  
that

the CRITICAL logic appears to have been inverted between releases? Was
that just due to the improper inode value handling?


Sorry, credit to Matthias Haider for the original report.

Yes, I think I've fixed the inverted results. This is due to  
inconsistencies between plugins where the thresholds are defined  
differently. I'm going to propose a new syntax in nagiosplug-devel  
soon


Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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] Packet loss reported by check_ping?

2006-12-13 Thread Ton Voon


On 13 Dec 2006, at 15:58, Andy Shellam (Mailing Lists) wrote:


Yes I had enabled check_freshness, however the freshness_threshold was
set to 0, so would this still take effect?


Having been bitten by this one:

freshness_threshold = 0 means let Nagios calculate the threshold  
period.


http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host

Ton


http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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 if spoole directoty is epmty

2006-11-14 Thread Ton Voon
On 14 Nov 2006, at 12:02, Giles Coochey wrote: Hendrik Baecker schrieb: Hi Ralf,For Mail:what about checking the local mailq? check_mailq out of the  standard  plugins might help.try to use check_smtp for connecting directly to your smtp port?  Actually, on my system check_mailq returns OK status when nagios doesnot have rights to read the queue folder. So it also seems a littleflawed. Might get better results with Qmail instead of sendmail Isuppose.Hi Giles,FYI, this was fixed in the plugins 1.4.4 release. Please try that and let me know if it is still a problem.Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] timeouts when using secondary dns

2006-11-09 Thread Ton Voon
Hi!Just to let you know that I've made a change to CVS today, reported by Pawel Malachowski, where it looked like the plugins were making too many calls to resolver/DNS when the plugins were compiled with IPv6 options enabled.This should reduce the occasions of timeouts. However, I do like the idea of making the Nagios server a caching name server too...TonOn 9 Nov 2006, at 22:25, Steve Shipway wrote: We dealt with this by installing a local caching-only nameserver on the Nagios host itself.  This also took a lot of the load off of the main nameservers.   So, resolv.conf was set to use 127.0.0.1 by default and have our normal name servers as secondaries.  A nice sideeffect was that it vastly sped up the name resolution.   Steve  --Steve ShipwayITSS, University of Auckland(09) 3737 599 x 86487[EMAIL PROTECTED]     From:   [EMAIL PROTECTED]   [mailto:[EMAIL PROTECTED]] On Behalf Of   stuckySent: Friday, 10 November 2006 6:57 a.m.To:   AzCc: nagiosSubject: Re: [Nagios-users] timeouts when   using secondary dns  Yey !! That totally did it. Thx AZ I hadn't even considered messing   with the resolver cuz I was sure it was a nagios issue so I had to fix   nagios.If that wasn't a text book example of how well mailinglists can   work then I don't know what is... thx  On 11/7/06, Az   [EMAIL PROTECTED] wrote:  stucky wrote: I use the check_by_ssh plugin for most of my stuff and I noticed that if the primary nameserver is unavailable nagios starts freaking out. All of a sudden all plugins time out. I tested it using the 'host'  command and it only takes about 1 second longer to lookup hosts using the secondary nameserver. The default timeout for check_by_ssh is 10 seconds. I cranked it up to 30 and still I get timeouts. I'm not sure I understand that one.  Has anyone else seen this.We had a similar issue in that our primary DNS was doing strange things,and it quite often took 5 or even 10 seconds to perform a DNS lookup.What we were seeing was 70% of service checks (and subsequently host checks) failing by timing out. The key was the multiple of 5 seconds.The resolver timeout on, say, RHEL3 is based on RES_TIMEOUT inresolv.h... which was 5 seconds.We added the following to our resolv.conf , and found the problems went away:options timeout:2 rotateThis sets the timeout for waiting for a reply to 2 seconds, and tellsthe resolve to rotate through your 'nameserver' entries rather thanalways hitting #1, then #2,   etc.Cheers.-- stucky This message has been scanned for viruses by MailController.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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  http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Can't install Plugins :- 'make' error after running configure

2006-11-08 Thread Ton Voon
Sam, Can you try the 1.4.5 release as we updated libtool and I think this removes the dependency on cpp. Please let us know if this fixes it for you.TonOn 8 Nov 2006, at 12:38, Sam Fraser wrote:Hello All Nagios users, I'm trying to install Nagios and it's plugins but have a problem when I run through the installation steps outlined in the INSTALL file.This is the output I get from running ./configure as instructed.  I've found some archive messages that seem to suggest that where there is a "no" it means I don't have the package and should install those before continuing.  There seems to be an awful lot of no's in this output!! Surely I don't have to install all of this!?Help Anyone?Donald.nagios-plugins-1.4.3]# ./configure --prefix=/usr/local/nagios --with-nagios-user=samfraser --with-nagios-group=brochsecure --with-cgiurl=/nagios/cgi-binchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking for style of include used by make... GNUchecking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ANSI C... none neededchecking dependency style of gcc... gcc3checking how to run the C preprocessor... gcc -Echecking for egrep... grep -Echecking for AIX... nochecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking minix/config.h usability... nochecking minix/config.h presence... nochecking for minix/config.h... nochecking for gcc... (cached) gccchecking whether we are using the GNU C compiler... (cached) yeschecking whether gcc accepts -g... (cached) yeschecking for gcc option to accept ANSI C... (cached) none neededchecking dependency style of gcc... (cached) gcc3checking how to run the C preprocessor... gcc -Echecking whether gcc needs -traditional... nochecking for a sed that does not truncate output... /bin/sedchecking for ld used by gcc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for /usr/bin/ld option to reload object files... -rchecking for BSD-compatible nm... /usr/bin/nm -Bchecking whether ln -s works... yeschecking how to recognise dependent libraries... pass_allchecking dlfcn.h usability... yeschecking dlfcn.h presence... yeschecking for dlfcn.h... yeschecking for g++... nochecking for c++... nochecking for gpp... nochecking for aCC... nochecking for CC... nochecking for cxx... nochecking for cc++... nochecking for cl... nochecking for FCC... nochecking for KCC... nochecking for RCC... nochecking for xlC_r... nochecking for xlC... nochecking whether we are using the GNU C++ compiler... nochecking whether g++ accepts -g... nochecking dependency style of g++... nonechecking how to run the C++ preprocessor... /lib/cppconfigure: error: C++ preprocessor "/lib/cpp" fails sanity checkSee `config.log' for more details.nagios-plugins-1.4.3]# makemake: *** No targets specified and no makefile found.  Stop.Send instant messages to your online friends http://uk.messenger.yahoo.com -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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/nullThis message has been scanned for viruses by MailController - www.MailController.altohiway.com  http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___

Re: [Nagios-users] Advanced permissions/user properties

2006-11-06 Thread Ton Voon
On 6 Nov 2006, at 16:43, Alex Burger wrote:I haven't tried Nagios 3 yet, but it doesn't look like my patch will work with it.  I'll see if I can port it over.  Any idea when the release date is for v3?Ethan stated at the Nagios Conference that he was aiming for v3 to go stable by end of this year.Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Advanced permissions/user properties

2006-11-03 Thread Ton Voon
Hi Alex,This is a really interesting idea. We've recently made a patch to Nagios so that a contact will only see the services in the CGIs based on their contact groups - currently Nagios 2.x will show all services if that contact is a contact for the host (which you would normally do so they receive host notifications).Our patch means we use contactgroups to "slice" which services are visible per contact. I'll be blogging about this soon (when I get a spare 30 mins!).However, this still lacks the ability to show some services but only allow changes to a subset, which is what Tobias is interested in.I think the "read/write" attribute needs to be associated with the contact. So this implementation looks more obvious (to me):define contact {	name person	contactgroups cg1,cg2,cg3		# means can submit commands	contactgroups_viewonly cg5,cg6}This would effectively mean the can_submit_commands attribute is redundant, because you just use contactgroups_viewonly instead of contactgroups.Does this make sense?TonOn 3 Nov 2006, at 01:21, Alex Burger wrote:Hi Tobias.I have expanded on the Altinity patch by adding a 'can_submit_commands' and 'can_submit_commands_strict' option to contact groups.  The limitation of having a can_submit_commands option on the user is that it's an all or nothing option.  A user is either view-only for all devices, or not.I will be using can_submit_commands_strict for people who need to be able to submit commands for the servers and services they manage, but also be able to only view some other servers and devices.  I don't want the users to be able to view ALL devices.*can_submit_commands_strict:*  You grant users full access to all or some systems, but want to restrict them from issuing commands for a few devices.If a device has multiple contact groups defined and any one of them denies submit commands with can_submit_commands_strict 0, then the user is denied even if the user belongs to a group that permits it.*can_submit_commands:*  You grant users read/only access to all systems, but you want to allow the user to issue commands for a few devices.With can_submit_commands, if a device has multiple contact groups defined and any one of them allows submit commands, the user can submit commands.  If there was only one contact group listed and it had can_submit_commands set to 0, the user would not be able to submit commands.Is this what you are looking for?AlexTobias Klausmann wrote: Hi!I've got a problem that I don't how to solve best in Nagios. Ithink other people have run into the same problem (I know thatsomeone has run into a /similar/ problem).I'm running 2.5 on a mid-sized installations (~300 hosts, ~2500services). Thing is, our projects/(host|service)groups varywildly in who is responsible for them. Unfortunately, all theseprojects are also heavily intertwined in their dependencies.Say we have a web mail project A. This consists of severalweb servers, databases and the like. It is heavily dependent onthe LDAP project B and the mail server project C. While B and Chave the same group of admins, project A is managed by anentirely different group of people.As such, we have configured Nagios that the group that isresponsible for project can only see the machines of project A andthe "B-and-C-people" can only see B and C.Everything is peachy.Except. Sometimes, project A may look like it's broken (pagestime out etc). But in reality, there's a spam attack and theproject B (the LDAP infrastructure) is so slow it simply grindsto a halt. In this case it would obviously be nice if the peoplefrom project A could see that project B is slow. Yet they shouldnot be able to change the notification options/acknowledgementsetc etc of projects B or C. The altinity people have created a patch for the "view some,change none" scenario[0]. Unfortunately, what I'd need is amechanism for the "view some, change a few" scenario I outlinedabove.How do others deal with this kind of problem? I'm sure we're notthe only ones who've run into it.As of currently, our best guess would be to createpseudo-accounts (like john.foo and john.foo-admin) and hack theCGI(s) to only allow the commands from -admin accounts which arein the notification list (with notification options set to "n").We already do this to let people see machines they don'tmailed/paged/called about.Regards,Tobias[0] http://altinity.blogs.com/dotorg/2006/02/a_view_some_cha.html -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS 

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Ton Voon
Andy,Can you goto http://ftp.gnu.org/pub/gnu/coreutils/ and download 5.96 and try and compile on your platform. As the plugins are currently syncd with this version, if coreutils compiles, it means I've made a mistake somewhere in copying their files over.If their code fails to compile, it is a problem with their code, which they've probably fixed in a newer version - please confirm by compiling their latest version. If a newer coreutils works, then I need to take some time to re-sync the plugins with their latest code, but that takes time...TonOn 3 Nov 2006, at 14:32, Andy Shellam (Mailing Lists) wrote:Hi Ton,How can we find out the coreutils version? Basically I'm using FreeBSD 6.1-RELEASE, and have experienced this issue with the plugins.  My m4 version is 1.4.7.  I don't know which version of coreutils 6.1 runs against though?As soon as FreeBSD 6.2 is released (couple weeks) I'll be upgrading my test system to it so can check again with it.Andy.Ton Voon wrote: Hi!I replied to Jason earlier, but forgot to copy the list. I'd like to know if anyone else on a recent *BSD is having these problems with coreutils 5.96.TonOn 3 Nov 2006, at 09:03, Ton Voon wrote: Hi Jason,The Nagios Plugins uses a lot of the libraries from GNU's coreutils, of which alloca.h is taken. My guess is that the version we've sync'd with does not work on FreeBSD 5.5. Can you please download coreutils-5.96 from http://ftp.gnu.org/pub/gnu/coreutils/ and see if that compiles cleanly. If it does, then I've probably missed out some m4 file - any help here would be great. If it doesn't compile and looks like the same problem, then please try newer versions of coreutils.If we need to sync NP with a newer version of coreutils, this is much harder work.TonOn 3 Nov 2006, at 04:02, Jason Kerr wrote: Problem: regex_internal.h includes alloca.h which does not exist in FreeBSD.Version: nagios-plugins-1.4.5OS: FreeBSD 5.5-STABLESnipped output from config.log:configure:35748: checking for working alloca.hconfigure:35769: gcc -o conftest -g -O2   -L. conftest.c  5conftest.c:127:20: alloca.h: No such file or directoryconfigure:35775: $? = 1configure: failed program was:| /* confdefs.h.  */|Snipped output from make:In file included from regex.c:55:regex_internal.h:458:20: alloca.h: No such file or directory*** Error code 1Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib.*** Error code 1Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib.*** Error code 1Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib.*** Error code 1Stop in /usr/home/xxx/nagios-plugins-1.4.5.*** Error code 1Stop in /usr/home/xxx/nagios-plugins-1.4.5.In FreeBSD the alloca function is contained in stdlib.h, but the manpage discourages its use.  "BUGS  The alloca() function is machine and compiler dependent; its use is dis-couraged."In regex_internal.h do we need something like:#ifdef HAVE_ALLOCA_H    #include alloca.h#else   /* do nothing??? */#endifThanks,Jason http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon!DSPAM:37,454b51bf40412372011012!-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642!DSPAM:37,454b51bf40412372011012!___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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!DSPAM:37,454b51bf40412372011012! -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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/nullThis message has been scanned for viruses by MailController - www.MailController.altohiway.com  http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do 

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Ton Voon
Andy,Yup, that was easier than having to upgrade to a newer coreutils!Turns out I was missing the alloca_.h and alloca.c files from coreutils-5.96. I've just committed it into CVS. Still compiles on my MacOSX box. Please try the snapshot when it is next created.If you want to make sure the plugins always compiles on your platform, please look at the tinderbox server: http://tinderbox.altinity.org. You can setup regular builds on your box, so we get a better picture of which platforms work with the latest builds.TonOn 3 Nov 2006, at 15:09, Andy Shellam (Mailing Lists) wrote:Hello Ton,I'm hoping this news will be the better of 2 evils!!Coreutils 5.96 compiles, installs and uninstalls successfully on FreeBSD 6.1.  (I did remember to remove my botched alloca.h file ;-) )I've just tried the Nagios Plugins 1.4.5 and===In file included from regex.c:55:regex_internal.h:458:20: alloca.h: No such file or directory*** Error code 1Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib.*** Error code 1Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib.*** Error code 1Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib.*** Error code 1Stop in /endeavour/software/cache/nagios-plugins-1.4.5.*** Error code 1Stop in /endeavour/software/cache/nagios-plugins-1.4.5.===Re-instate my botched alloca.h, and plugins compile OK.Andy.Ton Voon wrote: Andy,Can you goto http://ftp.gnu.org/pub/gnu/coreutils/ and download 5.96 and try and compile on your platform. As the plugins are currently syncd with this version, if coreutils compiles, it means I've made a mistake somewhere in copying their files over.If their code fails to compile, it is a problem with their code, which they've probably fixed in a newer version - please confirm by compiling their latest version. If a newer coreutils works, then I need to take some time to re-sync the plugins with their latest code, but that takes time...Ton This message has been scanned for viruses by MailController - www.MailController.altohiway.com  http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Caching nsca data from slaves to master

2006-11-02 Thread Ton Voon
Hi!Just to let you know that we've put a blog post up about caching passive service results from Nagios slaves in a distributed setup. We've also included the script that we use.This helped on several of our customer's distributed setup and I'm keen to find out if it works for you too. It lowered our average check latency by a factor of 10. Blog on http://www.altinity.orgTonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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_mailq plugin

2006-10-26 Thread Ton Voon
On 25 Oct 2006, at 13:57, Paul Houselander wrote:If I run/usr/lib/nagios/plugins/check_nrpe -H remote_server_name -c check_mailqI always get backOK: mailq is emptyThis is a bug in Nagios Plugins 1.4.3 with check_mailq. If the nagios user runs "mailq", it comes back with a permissions error. However, the plugin does not recognise this correctly and instead says the queue is empty. This has been fixed in the the newer 1.4.4 release.Off the top of my head, on your server, you need to give the nagios user enough permissions to read /var/spool/mailq. You do this by adding the user into the mail group and chmod g+r /var/spool/mailq. Alternatively, you can do what Sjaak has recommended of running this plugin as root via sudo.Warning: I think some system updates may change the permission of /var/spool/mailq back to g-r, but at least the plugin will now return an error correctly :)Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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_snmp on Sol 10 mangling data

2006-10-19 Thread Ton Voon
Kyle,Thanks for the report. Applied in CVS.For future reference, please raise a tracker item in SF so it doesn't get lost in mailing lists. Thanks.TonOn 6 Mar 2006, at 18:58, Kyle Tucker wrote:After playing with gdb all day, I found the culprit. The array of charsnamed "type" was getting initialized with the crud on Solaris 10. On 8it was zeroed out at runtime. Using bzero on it before it's used fixed it up.*** check_snmp.c.orig   Mon Mar  6 08:05:26 2006--- check_snmp.c        Mon Mar  6 13:45:53 2006** 242,247 --- 242,249                 }                /* We strip out the datatype indicator for PHBs */+               /* Clean up type array */+               bzero(type, sizeof(type));                if (strstr (response, "Gauge: "))                        show = strstr (response, "Gauge: ") + 7;                else if (strstr (response, "Gauge32: "))  http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Attending LinuxExpo in London

2006-10-16 Thread Ton Voon
Hi!Just wanted to announce that I will be at the LinuxExpo show in London next week (http://www.linuxworldexpo.co.uk). I'll be there officially under the guise of my role at Altinity (at stand A7), but if any of you are in the area, please pop round - I'd love to meet up and chat with my Nagios Plugins hat on!Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Availability of Altinity's source code repository

2006-10-03 Thread Ton Voon
Hi!

Just wanted to announce that my company, Altinity, have made our  
patch repository (http://source.altinity.org) available. This is our  
latest CVS HEAD of the GPL software that we distribute with Opsview,  
our monitoring software based on Nagios. In this repository, there  
are makefiles which apply patches, compile and install various  
software, including Nagios, NDO Utils and nagiosgraph.

We still plan on blogging about our patches on http:// 
www.altinity.org, but, by having an automated job to push the latest  
code controlled versions here, you can see what we've done if we are  
too busy to write about it. This is one of our ways of giving back to  
the community and it is great to see Ethan apply some of our patches  
into the central code.

Thanks to Netways for running the Nagios Konferenz in Nurember, where  
I got an opportunity to explain how Altinity are contributing back to  
the Nagios community. Slides for the conference are available from  
here: http://www.netways.de/de/nagios_konferenz/archiv_2006/programm/ 
ablauf/

The official press release is here: http://www.altinity.com/ 
80256D6000567191/httpPublicPages/41EBFC2A4BE069FB80256F6C00622808? 
opendocument

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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_http can't follow redirect properly, no cookies!

2006-08-17 Thread Ton Voon
No cookies in check_http, I'm afraid. It would be a nightmare enhance it to hold sessions.If you are good with perl, look at WWW::Mechanize. This allows you to store cookies and interact with a website as if you were a browser. We use this to login to monitor a betting site and retrieve funds information.On 17 Aug 2006, at 12:18, Hari Sekhon wrote:Hi,   I've got check_http doing a login which works fine and I'm using the -- to make sure I can fetch the secured page it's redirected to.The problem is that when the page is fetched it is fetched without the previously supplied credentials and therefore I get a login page instead of the page within the secure area.I really really need to get the page in the secure area. Does anybody know how to make it store and use the credentials for the redirect. It's obviously not using it's cookie and I've looked through the --help but it makes not mention of cookies...http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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_disk giving incorrect info!

2006-08-14 Thread Ton Voon
On 11 Aug 2006, at 16:01, Mike Emigh wrote:The snapshot check_disk plugin has a few functions that remained after the rewrite.  I submitted a patch recently to resolve this issue; however, I'm not sure if it has been taken in to consideration or not.If you check the patches portion of sourceforge, you can find the changes which fix this problem. Mike,Thanks for the reminder. Have updated CVS with your patch, so the inode values should be right now.I have removed the -U option because we're going to have a new way of specifying plugin output, probably for the 1.5 release.Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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_disk giving incorrect info!

2006-08-02 Thread Ton Voon
Jan,Can you try the snapshot at http://nagiosplug.sf.net/snapshot. There have been fixes to check_disk so it should be the same output as df.TonOn 2 Aug 2006, at 08:58, Jan van der Merwe wrote:Hi Guys,I'm using NRPE on a Fedora Core 2 box.I'm using the following line in /etc/nrpe.cfg to check the disk:command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hdd1Here is what df -k gives me that disk:/dev/hdd1            241263968 136218652 105045316  57% /mnt/storage/ftp-storageBut the Nagios Webpage gives me a crazy answer!!!Status Information: DISK OK - free space: /mnt/storage/ftp-storage -4126222888188510208 MB (20952869% inode=99%)Performance Data: /mnt/storage/ftp-storage=-865395347MB;-452984852;-452984842;98;-452984832I have many other drives on the same machine and they all work fine! So, I can't understand what is the specific problem with this one.Any ideas would be appreciated.Thanks-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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/nullThis message has been scanned for viruses by MailController - www.MailController.altohiway.com  http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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] AMD64 and check_disk

2006-07-19 Thread Ton Voon
Hi Chris,Can you please try the snapshot at http://nagiosplug.sf.net/snapshot. There's been a few improvements to check_disk recently.TonOn 19 Jul 2006, at 09:38, Chris Verhoef wrote:Hi,I've some problems with the check_disk plugin from nagios-plugins-1.4.3. Only on the AMD64 systems with RHEL 4 I get the error:INPUT ERROR: C_IDFP (0.00) should be less than W_IDFP (0.0) and both should be between zero and 100 percent, inclusive for /bootcheck_disk: Could not parse argumentswhen performing: check_disk -w 10% -c 2% -p /boot, at the other  hosts running XEON CPU's there's no problem.If I don't use the -p option (check_disk -w 10% -c 2% or check_disk -w 10% -c 2% -x partiton)  this plugin seems to work fine.Does anybody have a solution for this issue, I think it's a bug within the check_disk code.Thanks in advance,Chris Verhoef-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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/nullThis message has been scanned for viruses by MailController - www.MailController.altohiway.com  http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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] Oracle plugin check_oracle

2006-07-17 Thread Ton Voon
On 18 Jul 2006, at 02:33, Yang Xiao wrote:On 7/11/06, Ton Voon [EMAIL PROTECTED] wrote: On 11 Jul 2006, at 11:21, Hari Sekhon wrote:It's happened again, I changed a non-related service name and then  restarted nagios and now again it doesn't find $ORACLE_HOME for the sids of the databases apparently. This is ridiculous since I can su - nagiosecho $ORACLE_HOME/usr/lib/oracle/10.2.0.2/client which gives me the path to the oracle client installation and I can alsosqlplus "user/[EMAIL PROTECTED] " successfully and get a login./usr/nagios/libexec/check_oracle --login dbnameOK - dummy login connected Does anybody understand why this check has stopped working again when I haven't done anything to it, I have to get this working in a stable fashion, I can't have it doing this every time I restart nagios... How do you restart Nagios? Or do you mean reload?If the former, check that the startup scripts correctly source the environment variables. If the latter, it could be a bug in Nagios, though I'm not sure why. Alternatively, check_oracle will parse /var/opt/oracle/oratab (and other locations) for the ORACLE_HOME variable. Some installations of Oracle use this to know what SIDs are installed on a server. You could amend that instead. TonJust figured out the same problem by looking at another thread on this, the answer is permission, make sure the oracle install tree has the world execute bit on! chmod 755 /app/oracle -Rbtw, I'm doing this via nrpe...so it has nothing to do with ORACLE_HOME, oracle client, ...none of that.Thanks Yang. I've forwarded this to nagios-users and to Hari.Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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 in AIX5L...?

2006-07-14 Thread Ton Voon
I used to work for IBM on their RS/6000 hardware, so I have a fond spot for AIX. However, I don't have any access to servers to  develop on. If someone could grant me internet access to their server, I could spend some time on specific problems for the plugins.Alternatively, please consider running tinderbox builds on your AIX server and sending results back: http://tinderbox.altinity.org. This will make sure the plugins continue to work on your favourite platform.(Note, snapshots, and thus builds, aren't working at the moment because SF's shell servers are down.)TonOn 14 Jul 2006, at 07:57, Trevor Warren wrote:Have tired many a time to get nrpe running on aix but never have had a smooth experience.  Aix n HpUX have always been issues to get up and running on.  We ended up writing our own plugins on the older *nix boxes. But now even those are outdated and have be to redone for AIX5L. Some of us needs(probably i will sometime soon) to take ownership on the aix front. This is the only way we will ever get stable plugins for aix/hpux/solaris.  Is there a plugin roadmap on the risc front?.  TrevorOn 7/14/06, Alexander Harvey [EMAIL PROTECTED] wrote: Sorry, should have done my research first but I discovered this in the archives:  http://sourceforge.net/mailarchive/message.php?msg_id=6818296 Does anyone know if there was ever a patch released? Am I on the wrong track? Has anyone made NRPE work on AIX such that when we run the following test on the host instead of getting:/usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes.  Are we allowed to connect to the host?we get/usr/local/nagios/libexec/check_nrpe -H cairnsNRPE v1.9as expected? On 7/14/06, Alexander Harvey [EMAIL PROTECTED]  wrote: Hi,I found some more information:The following message gets written to syslog:/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Error: Request packet had invalid CRC32. /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Client request was invalid, bailing out... I see this happens in the following code fragment:    /* DECRYPT REQUEST **/    /* check the crc 32 value */    packet_crc32=ntohl(pkt-crc32_value);    pkt-crc32_value=0L;     calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet));    if(packet_crc32!=calculated_crc32){    syslog(LOG_ERR,"Error: Request packet had invalid CRC32.");    return ERROR;     }Anyone have any idea why this would happen? (My configure options etc were given in previous post).Thanks,Alex On 7/13/06,  Alexander Harvey [EMAIL PROTECTED]  wrote:  Hi List,I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1 and 2.5 as well) work in AIX5.3.From the Nagios host I'm getting:# /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes.  Are we allowed to connect to the host?and on the client I just see the following in the syslog:Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837  mail.info ] connect from 202.139.122.88 (Aside: why's the logging going to "  mail.info"??)I'm building nrpe using:# ./configure --disable-ssl # make allThen# grep nrpe /etc/servicesnrpe    5666/tcp    # NRPE# grep nrpe /etc/inetd.confnrpe    stream  tcp nowait  nagios  /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i # cat /etc/hosts.allownrpe: IPnumberhere: ALLOWI tried trussing it without finding anything much. If anyone can help I'd be most appreciative; I'm out of ideas as to how to troubleshoot this any further. Thanks in advance,Alex   -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Nagios-users mailing list Nagios-users@lists.sourceforge.nethttps://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--  ___( -   /  Scaling FreeSoftware  OpenSource\   - ) /~\   /   In the Enterprise   \   /~\ |  \) \  | www.fsf.org | www.opensource.org | /  (/ ||_|_   \/  _|_| An eye for an eye will soon turn the world blind - MKG"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.Only in absolute stillness, beyond self, can you know me as I 

Re: [Nagios-users] service viewing rights w/out command rights

2006-07-14 Thread Ton Voon
On 14 Jul 2006, at 15:35, Josh Yost wrote:Hi all,	Is it possible to create a contactgroup that has viewing rights for aservicegroup but does not have permissions to the service commands?  Anexample is I'd like tech support personnel to be able to login and viewthe status of the services they're allowed to see w/out being able toissue commands.It doesn't appear so from the documentation, but I thought I'd ask.	If not, can someone point me to the place in the source code to edit?I'm guessing cmd.c would be the place to start, but I'll need to keepreading it.I guess I could also pull the required info w/ wget or something and putit on a different webpage away from Nagios...but what's the fun in that?I think you want our patch. This allows a contact to be specified with a flag to stop them submitting commands, yet you can still use contactgroups to specify what services they are allowed to see. This is in the Nagios 3 branch, but Ethan has not put it into Nagios 2.x - drop him a line if you find it useful!http://altinity.blogs.com/dotorg/2006/02/a_view_some_cha.htmlTon http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Howto force a notification (before the scheduled renotify time) for a down host/critical service ?

2006-07-12 Thread Ton Voon
Hi Stanley,


On 12 Jul 2006, at 00:40, [EMAIL PROTECTED]  
[EMAIL PROTECTED] wrote:

 I would like to do this to send out notifications after a period of
 no-notifications ends (we
 have the view that people do not react well to even major crises  
 between
 about midnight and 4-5 am so
 we don't send notifications during that period. However it would be  
 nice
 to send out all the
 notifications for outages that occurred in the no-notification  
 period at
 5 am).

Sorry, no solutions, just more questions :)

We had it reported to us, but we haven't investigated further, that  
notifications do not get resent for a contact who has a timeperiod  
outside the original failure.

For instance, assume a service has a timeperiod of 05:00 to 23:00 and  
contacts have timeperiods of 24 hours. If the service fails at 3am,  
Nagios will schedule the next check at 05:00. If it still fails at  
05:00, contacts will be notified.

Here's the section that says so in the docs: http:// 
nagios.sourceforge.net/docs/2_0/notifications.html:

[quote]

Note: If the [host or service] time period filter is not passed,  
Nagios will reschedule the next notification for the host or service  
(if its in a non-OK state) for the next valid time present in the  
time period. This helps ensure that contacts are notified of problems  
as soon as possible when the next valid time in time period arrives.

[end quote]

However, the converse is not true (and is arguably the more likely  
scenario). Assume the service is 24 hours, but the contacts have a  
timeperiod of 05:00 to 23:00. If the service fails at 3am, the  
service is considered to be notified, but the filter for sending  
notifications to contacts will fail. Contacts will not get  
notification unless there is a notification retry.

We haven't investigated further, but, if the design documented at  
http://nagios.sourceforge.net/docs/2_0/notifications.html is  
accurate, that would be the case.

I'm not sure what the long-term fix is. Maybe notification_number per  
contact? Perhaps scheduling of notifications? This is probably one  
for Ethan.

Ton


http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Oracle plugin check_oracle

2006-07-11 Thread Ton Voon
On 11 Jul 2006, at 11:21, Hari Sekhon wrote:It's happened again, I changed a non-related service name and then restarted nagios and now again it doesn't find $ORACLE_HOME for the sids of the databases apparently. This is ridiculous since I cansu - nagiosecho $ORACLE_HOME/usr/lib/oracle/10.2.0.2/clientwhich gives me the path to the oracle client installation and I can alsosqlplus "user/[EMAIL PROTECTED]" successfully and get a login./usr/nagios/libexec/check_oracle --login dbnameOK - dummy login connectedDoes anybody understand why this check has stopped working again when I haven'tdone anything to it, I have to get this working in a stable fashion, I can't have it doing this every time I restart nagios...How do you restart Nagios? Or do you mean reload?If the former, check that the startup scripts correctly source the environment variables. If the latter, it could be a bug in Nagios, though I'm not sure why.Alternatively, check_oracle will parse /var/opt/oracle/oratab (and other locations) for the ORACLE_HOME variable. Some installations of Oracle use this to know what SIDs are installed on a server. You could amend that instead.Ton http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Altinity's RSS addon

2006-07-10 Thread Ton Voon
On 8 Jul 2006, at 14:00, Jim Perrin wrote:I think DAG would like to keep the path as short as possible. So if Toncan integrate it into the sources one could use rpmbuild to builddirectly from the source tgz. I was trying avoid saying "Hey thanks, now do more work!" to Ton. :-PAppreciated :) The only thing my patch does is change the paths his perl isexpecting, and README to match the new paths in the distributed rpms.Applying my patch would break it for non-RPM users, so having it bothways would require configure script or makefile of some sort. Wouldyou be willing to make that chunk of it?I'd rather not try to write a cross-platform makefile or configure script, since the patch is very short and the overall amount of source is small.Ton http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Altinity's RSS addon

2006-07-07 Thread Ton Voon
Hi!Just a quick email to say Altinity have released their RSS implementation, called RSS4NAGIOS. Details - and lessons learnt - here: http://altinity.blogs.com/dotorg/2006/07/lessons_in_rss.htmlTonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Performance Problem on Nagios 2.4

2006-07-07 Thread Ton Voon
On 7 Jul 2006, at 14:42, Chet Luther wrote:On 7/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:     I would like to know how to Improve Nagios 2.4 Performance.  We monitor586 Host  2326 Services thru Nagios with Active  Passive configurationusing Solaris OS  good Hardware  Network config( Solaris 9 -- Active,Solaris 10- Passive )...snip..        MetricMin.Max.AverageCheck Execution Time:  0.17 sec9.36 sec0.751 secCheck Latency:721.43 sec887.09 sec799.914 secPercent State Change:0.00%46.51%0.11% Check latency is probably your core symptom.  This almost always meansthat your service checks are being delayed because the system isspending too long on host checks.We've written a bit about this here: http://altinity.blogs.com/dotorg/2006/05/immediate_perfo.htmlIt's seems to stumble most people.Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Altinity's RSS addon

2006-07-07 Thread Ton Voon
On 7 Jul 2006, at 20:03, Jim Perrin wrote:On 7/7/06, Ton Voon [EMAIL PROTECTED] wrote: Hi!Just a quick email to say Altinity have released their RSS implementation,called RSS4NAGIOS. Nice work! Very useful I thinkA patch and a spec file are attached so that the rpm-enabled among uscan use this as well.Ton, would you mind this being submitted to Dag's rpm repository tokeep the  rest of the nagios packages company?I don't mind at all - this is released into the wild.Is there anything I need to do at my end?Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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_ping and source address

2006-07-05 Thread Ton Voon

On 5 Jul 2006, at 10:06, Ben O'Hara wrote:

 Im looking at adding a ping check from our nagios host to a remote
 host, the nagios machine has a number of interfaces and i want to set
 the source address of the ping to ensure it goes over a specfic link
 (and hence a specific VPN tunnel)

 anyone know if this is possible at all?  Ive had a look at the code
 for check_ping and it looks like it might be a possibility as its just
 calling the ping binary but rather than reinvent the wheel i thought
 id ask here first.

 anyone doing anything like this at present?

 would it be a change to check_ping that people would use or would it
 be better to do it elsewhere

Ben,

There is a patch that has been submitted on SF for this  
functionality: https://sourceforge.net/tracker/index.php? 
func=detailaid=1499641group_id=29880atid=397599

Unfortunately, this will not be applied into the main plugin code  
because it is too painful to parse through all the different  
distributions of ping to see if the source address option is supported.

However, it is very useful functionality. If you can provide a patch  
for check_icmp (the pure C implementation of check_ping), we would  
definitely re-evaluate it.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Oracle plugin check_oracle

2006-07-04 Thread Ton Voon
On 4 Jul 2006, at 18:41, Morris, Patrick wrote:Don't know about a binary plugin doing this. The Oracle Instantclient (sqlplus) is available here:  http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/ linuxsoft.html 		 [snip]  The check_oracle client won't work with just the Instant Client, because it doesn't include tnsping.  When I've used check_oracle, I use the --login option instead of --tnsping. This simulates a login, and returns OK if it gets a "invalid login, incorrect username/password". This is a better check because it goes down the entire stack and grabs whatever errors are returned by Oracle (for instance, "shutdown in progress").I assume the Instantclient will still work with check_oracle (as it just needs sqlplus).Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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

  1   2   >