Re: [Nagios-users] Re NSCA

2009-07-09 Thread Nick Price
Hi Tried that still can't get it to work I have got the central server nagios debug set to external commands nothing shows in the debug log. Also nothing from nsca in both of the servers nagios.log And on the central server the nagios.cmd file stays at 0 bytes so nothing seems to be getti

[Nagios-users] vSphere and check_esx3.pl

2009-07-09 Thread Joseph L. Casale
Anyone resolve the following error with this script, or is it not possible to use it with esx4 and the vSphere sdk? CHECK_ESX3.PL CRITICAL - Error: Server version unavailable at 'https:///sdk/vimService.wsdl' Thanks! jlc --

Re: [Nagios-users] Regarding hosts with multiple hostgroup.

2009-07-09 Thread Morris, Patrick
On Fri, 03 Jul 2009, Gaurav Ghimire wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dear all, > > I am off to write up a script for notification of Host status. Doing so to > integrate more information in the notification email such as latest > Syslog messages from the network devi

Re: [Nagios-users] Using two or more host templates to aggregate contacts

2009-07-09 Thread Morris, Patrick
Hi Guy! On Tue, 07 Jul 2009, Guy Waugh wrote: > Hi all, > > I'm trying to configure nagios 3.0.6 so that I can add contact groups to a > host by adding a host template to the host definition. > > I have one host template called 'unix-host' that I'm using to aggregate the > Unix Team contacts

Re: [Nagios-users] Banner Text in status.cgi

2009-07-09 Thread Morris, Patrick
On Wed, 08 Jul 2009, Litwin, Matthew wrote: > How can one change the ?Location? red banner text that is on the top of the > status page? I did a grep for the text and it was a string inside status.cgi. > Is set up at compile time somehow? That doesn?t seem right? There's no such banner on my Na

Re: [Nagios-users] check_smtp issue

2009-07-09 Thread Morris, Patrick
On Wed, 01 Jul 2009, Dei Bertine wrote: > I got it! :-) > > I got confused with the check_nrpe plugin. > > So what I did was enabled nrpe on the host side, then configured my services > in nagios to check_nrpe!check_smtp > > Now Nagios is happy. > SMTP OK - 0.004 sec. response time Assuming

Re: [Nagios-users] Checking URL on windows-client using NSClient++

2009-07-09 Thread Morris, Patrick
Hi jvc_dvl557! On Wed, 01 Jul 2009, jvc_dvl...@hotmail.com wrote: > Hi Greg, > > Thank you very much for the detailed explenation. > > I discovered that I even didn't had NRPE installed, now I do. > > I got everything running, except for the exit/output code. Nagios runs the > script on the c

Re: [Nagios-users] (no subject)

2009-07-09 Thread Morris, Patrick
On Thu, 09 Jul 2009, Francisco wrote: > help, anyone using nagios to monitor switch 3com 4200 > the nagios monitors only the port 14 and 16 with snmp I know this doesn't help with your switch issue, but you may want to consider trying your question again, and include how you're checking the switc

[Nagios-users] (no subject)

2009-07-09 Thread Francisco
help, anyone using nagios to monitor switch 3com 4200 the nagios monitors only the port 14 and 16 with snmp *** CorreioWeb. Porque Brasilia precisava de um Provedor daqui. http://www.correioweb.com.br

Re: [Nagios-users] permissions for check_dhcp

2009-07-09 Thread Natalie Aloi
never mind I figured it out - added the uid - but that wasn't the problem anyway I had duplicate definition problem and corrected it. -Original Message- From: Natalie Aloi [mailto:na...@experisdatacenters.com] Sent: Thursday, July 9, 2009 04:02 PM To: 'Nagios Users Mail-list' Subject: perm

Re: [Nagios-users] permissions for check_dhcp

2009-07-09 Thread Christian Schneemann
On Thursday 09 July 2009 22:02:43 Natalie Aloi wrote: > Hello again > > I am modifying my new 3.0.6 configuration so that I can have all the stuff > I had before but when I do my configuration verification I am getting an > error on check_dhcp - see it has this information below: Can I chown this >

Re: [Nagios-users] permissions for check_dhcp

2009-07-09 Thread Marc Powell
On Jul 9, 2009, at 3:02 PM, Natalie Aloi wrote: > Hello again > > I am modifying my new 3.0.6 configuration so that I can have all the > stuff I had before but when I do my configuration verification I am > getting an error on check_dhcp - see it has this information below: > Can I chown this

[Nagios-users] permissions for check_dhcp

2009-07-09 Thread Natalie Aloi
Hello again I am modifying my new 3.0.6 configuration so that I can have all the stuff I had before but when I do my configuration verification I am getting an error on check_dhcp - see it has this information below: Can I chown this to nagios:nagios and then chmod 550? -r-sr-x--- 1 root nagio

Re: [Nagios-users] Problem with pnp4nagios

2009-07-09 Thread Kaplan, Andrew H.
Hi there -- Thanks for the help. My syntax was wrong. -Original Message- From: Joerg Linge [mailto:pitchf...@ederdrom.de] Sent: Thursday, July 09, 2009 3:11 PM Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem with pnp4nagios Kaplan, Andrew H. schrieb: > Follow

Re: [Nagios-users] Problem with pnp4nagios

2009-07-09 Thread Joerg Linge
Kaplan, Andrew H. schrieb: > Followup: > > I came across the following entry in the nagios.log file: > > Warning: Host performance command 'process-host-perfdata' was not found - > host > performance data will not be processed! > > What would the correct syntax be, assuming it is in the comman

Re: [Nagios-users] Problem with pnp4nagios

2009-07-09 Thread Kaplan, Andrew H.
Followup: I came across the following entry in the nagios.log file: Warning: Host performance command 'process-host-perfdata' was not found - host performance data will not be processed! What would the correct syntax be, assuming it is in the commands.cfg file, for the process-host-perfdata com

Re: [Nagios-users] regularly schedule host checks?

2009-07-09 Thread Frater, Greg J
Thanks Max! I'll read up on cached checks, a lot has changed since 1.0. Regards, -greg -Original Message- From: max.schub...@gmail.com [mailto:max.schub...@gmail.com] On Behalf Of Max Sent: Thursday, July 09, 2009 9:48 AM To: Frater, Greg J Cc: nagios-users@lists.sourceforge.net Subjec

Re: [Nagios-users] Problem with pnp4nagios

2009-07-09 Thread Joerg Linge
Kaplan, Andrew H. schrieb: > > > Hi there -- > > I went through the motions of installing pnp4nagios on our 3.1.2 system. > I ran the > verify_pnp_config script and the output from it is shown below: > > [...@romonitor pnp]$ sudo /home/ahk/Nagios/pnp\ 4\ > nagios/pnp-0.4.14/contrib/verify_pnp

Re: [Nagios-users] About Nagios3 and arbitrary code execution

2009-07-09 Thread Daniel Bareiro
On Wednesday, 08 July 2009 11:42:15 +0100, Ton Voon wrote: > 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

Re: [Nagios-users] regularly schedule host checks?

2009-07-09 Thread Max
On Thu, Jul 9, 2009 at 11:58 AM, Frater, Greg J wrote: > Hi All, > > I'm wondering if there is any consensus from Nagios users regarding > scheduled host checks.  In general is it better to have Nagios schedule host > checks or is it better to use the old logic i.e. only run the host check if > a s

[Nagios-users] regularly schedule host checks?

2009-07-09 Thread Frater, Greg J
Hi All, I'm wondering if there is any consensus from Nagios users regarding scheduled host checks. In general is it better to have Nagios schedule host checks or is it better to use the old logic i.e. only run the host check if a service check fails. How do you turn off the scheduled host check

Re: [Nagios-users] check for the absence of a service

2009-07-09 Thread Marouane Himdi
Use negate plugin (http://nagiosplugins.org/man/negate ) Hope this help Regards Dr Marouane HIMDI -Message d'origine- De : Kyle Dippery [mailto:k...@engr.uky.edu] Envoyé : jeudi 9 juillet 2009 17:08 À : nagios-users@lists.sourceforge.net Objet : [Nagios-users] check for the absence of

Re: [Nagios-users] check for the absence of a service

2009-07-09 Thread Randal, Phil
http://nagiosplugins.org/man/negate -- Phil Randal | Networks Engineer Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 email: pran...@herefordshire.gov.uk Any opinion expressed in this e-mail

Re: [Nagios-users] check for the absence of a service

2009-07-09 Thread Marc Powell
On Jul 9, 2009, at 10:08 AM, Kyle Dippery wrote: > Is there a plugin for this, or a way to trick an existing plugin to > make it work? I suppose if nothing else I can write a wrapper for > check_smtp or check_tcp to swap the OK and CRITICAL return values, > but it'd be much easier if someone els

Re: [Nagios-users] check for the absence of a service

2009-07-09 Thread Wheeler, JF (Jonathan)
Use the negate plugin to reverse a check Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory > -Original Message- > From: Kyle Dippery [mailto:k...@engr.uky.edu] > Sent: 09 July 2009 16:08 > > Is there an easy way to use nagios to check for the absence of a > service? > >

[Nagios-users] check for the absence of a service

2009-07-09 Thread Kyle Dippery
Is there an easy way to use nagios to check for the absence of a service? I want to have nagios monitor SMTP and a few other services on hosts that aren't supposed to be running them, and tell me if they suddenly get turned on. Is there a plugin for this, or a way to trick an existing plugin to m

[Nagios-users] Nagios Documentation Rocks!

2009-07-09 Thread Natalie Aloi
All, thank you to eveyone who responded to questions asked here over the past few days. I have been trying to get nagios-3.0.6 installed through using RPMs unsucessfully(building my own - or trying). I finally gave up and just followed the instructions for compiling code from http://nagios.sou

Re: [Nagios-users] Weird issue with check_ping

2009-07-09 Thread Sean McAfee
Kevin Keane wrote: > I've seen this happen when ping returned an error. In my case, it was > actually ping6 because it had a bad IPv6 address configured. > > Since it's intermittent in your case, most likely the root cause is > something else, but ping is still returning an error. If I had to >

Re: [Nagios-users] Re NSCA

2009-07-09 Thread Marc Powell
On Jul 9, 2009, at 9:34 AM, Martyn wrote: > Is this available in a PDF format at all? Really? Under OSX, File -> Print -> PDF ;) For other OS's you can install one of the myriad of free/pay PDF writer/printer applications or the entire documentation is available as a PDF from the Documenta

Re: [Nagios-users] Configure NSCA in NSClient++.

2009-07-09 Thread Mathew Walker
if it's for windows event logs... i use NagEventLog... just made my life easier. NSClient++ handles the active checks and NagEventLog handles passive checks for Event Logs. -- Mat W. - http://www.techadre.com Date: Tue, 7 Jul 2009 14:20:48 +0300 From: nttbro...@gmail.com To: nagios-user

Re: [Nagios-users] How to graph historical data

2009-07-09 Thread Mathew Walker
I use "nagiosgraph"... it's just installing RRDTool and nagiosgraph, then adding/modifying map file entries as needed. Most default checks can be graphed automagically out of the box. I have some info on using nagiosgraph on my site, some notes about RRDTool versions, and even a few hiccup

Re: [Nagios-users] Display a http link in status information

2009-07-09 Thread Mark Clarkson
On Thu, 9 Jul 2009 09:16:24 -0500, Marc Powell wrote: > On Jul 9, 2009, at 4:36 AM, Mark Clarkson wrote: > >> Hi, >> I am currently upgrading from nagios 2.9 to 3.0.6. In 2.9 I was able >> to >> display a http link in the status information but in 3.0.6 the HTML is >> now displayed instead so t

Re: [Nagios-users] a special http check

2009-07-09 Thread Mathew Walker
I'll second the WebInject vote. We use it heavily in my office to test our web applications. Here is a simple example I used to demonstrate logging into a drupal website and checking a specific page for content. http://www.techadre.com/content/checking-drupal-status-nagios-and-webinject -

Re: [Nagios-users] Re NSCA

2009-07-09 Thread Martyn
Is this available in a PDF format at all? -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: 09 July 2009 15:20 To: Nagios Users Mail-list Subject: Re: [Nagios-users] Re NSCA On Jul 9, 2009, at 8:49 AM, Nick Price wrote: > What I don't get is how to get send_nsca on the

Re: [Nagios-users] Monitoring Eventlogs on windows server

2009-07-09 Thread Mathew Walker
I have some info on how I did it here: http://www.techadre.com/content/addon-nagios-event-log Using NagEventLog on the windows boxes with an NSCA service on my Nagios server. It works great in our environemnts... of course we all know how noisy a windows event log can be, but we have al

Re: [Nagios-users] Critical Memory Alert

2009-07-09 Thread Mathew Walker
my server config file defintion is: check_command check_nt!MEMUSE!-w 75 -c 90 I believe this is pretty much "out of the box" setup... of course you'll want to check the "check_nt" command definition in the commands.cfg file. -- Mat W. - http://www.techadre.com > From: m

Re: [Nagios-users] Re NSCA

2009-07-09 Thread Marc Powell
On Jul 9, 2009, at 8:49 AM, Nick Price wrote: > What I don’t get is how to get send_nsca on the remote nagios to > pick up the results of the active checks and send them to the > central server > > It is vital that the remote server has its own web interface and > send out notifications as

Re: [Nagios-users] Display a http link in status information

2009-07-09 Thread Marc Powell
On Jul 9, 2009, at 4:36 AM, Mark Clarkson wrote: > Hi, > I am currently upgrading from nagios 2.9 to 3.0.6. In 2.9 I was able > to > display a http link in the status information but in 3.0.6 the HTML is > now displayed instead so the user can't click on it. > > Is there a way to stop nagios fr

Re: [Nagios-users] Nagios lockup for about 8.5 hours

2009-07-09 Thread Andrew Noonan
Not that I can determine. We run everything in Central time, and the nagios user is currently running in that TZ. Actually, now that I think about it, it's a fairly moot point, as the logs that I listed don't have a timestamp, they are epoch stamps. Since those show a ~5 hour jump, this could no

Re: [Nagios-users] How to graph historical data

2009-07-09 Thread Max Hetrick
Gabriel - IP Guys wrote: > I would like to know if it’s possible to graph the historical data that > Nagios produces – I am about to rebuild an old Linux box that has nagios > installed on it, but I would like to at least see some trends what > actually has been going on. I’m in the rare positi

Re: [Nagios-users] Nagios lockup for about 8.5 hours

2009-07-09 Thread Kevin Keane
Has the time zone that Nagios runs under changed, maybe? That would not affect the log files or NTP, since both usually always run on UTC. Andrew Noonan wrote: > Sorry Kevin, I was out yesterday or I would have responded earlier. I > don't think that's the case. I forgot to mention it in the ea

[Nagios-users] Re NSCA

2009-07-09 Thread Nick Price
Hello I have 2 nagios servers ( 1 central and 1 remote) on different networks performing active checks. Everything works well with the email notification and both web interface. I am using NSCA to try and send all the results from the active checks on the remote server to the central. I h

Re: [Nagios-users] How to graph historical data

2009-07-09 Thread Giorgio Zarrelli
Hi, try php4nagios or nagiosgrapher. Giorgio > Nagios can not produce any graph AFAIK. You have either use MRTG or > ganglia to graph the system resources. > > - nilesh > > > > > "Gabriel - IP Guys" > 07/09/2009 05:38 PM > > To > > cc > > Subject > [Nagios-users] How to graph historical data

Re: [Nagios-users] Custom variable not returning any values

2009-07-09 Thread Ayotunde Itayemi
Hi Kevin, thanks it worked! "This mail is from a Gimper" -Original Message- From: Kevin Keane [mailto:subscript...@kkeane.com] Sent: Thursday, July 09, 2009 1:56 PM Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Custom variable not returning any values I think in your printf

Re: [Nagios-users] How to graph historical data

2009-07-09 Thread Michael Schwartzkopff
Am Donnerstag, 9. Juli 2009 14:38:06 schrieb N Patil: > Nagios can not produce any graph AFAIK. You have either use MRTG or > ganglia to graph the system resources. > > - nilesh > > > > > "Gabriel - IP Guys" > 07/09/2009 05:38 PM > > To > > cc > > Subject > [Nagios-users] How to graph historical

Re: [Nagios-users] Nagios lockup for about 8.5 hours

2009-07-09 Thread Andrew Noonan
Sorry Kevin, I was out yesterday or I would have responded earlier. I don't think that's the case. I forgot to mention it in the earlier email, but I checked the log files of a periodic cron job that also runs on the same server every 5 minutes, and its logs show an uninterrupted timestamp. In a

Re: [Nagios-users] How to graph historical data

2009-07-09 Thread N Patil
Nagios can not produce any graph AFAIK. You have either use MRTG or ganglia to graph the system resources. - nilesh "Gabriel - IP Guys" 07/09/2009 05:38 PM To cc Subject [Nagios-users] How to graph historical data Dear All, I would like to know if it’s possible to graph the his

Re: [Nagios-users] Custom variable not returning any values

2009-07-09 Thread Kevin Keane
I think in your printf line, you need to reference it as $_HOSTPRIMARY_CONTACT$. Ayotunde Itayemi wrote: > > Hi All, > > I use a custom variable _primary_contact in my host definitions > (below). I then modified the notification commands to include the > variable but it’s not being set (no valu

[Nagios-users] Custom variable not returning any values

2009-07-09 Thread Ayotunde Itayemi
Hi All, I use a custom variable _primary_contact in my host definitions (below). I then modified the notification commands to include the variable but it's not being set (no values are returned). What am I doing wrong? Thanks. define host { host_name a

Re: [Nagios-users] Critical Memory Alert

2009-07-09 Thread Kevin Keane
And how is check_nt_memuse defined? It's probably in commands.cfg Martyn wrote: > Oops yes it should > > check_nt_memuse!80!90 > > -Original Message- > From: Kevin Keane [mailto:subscript...@kkeane.com] > Sent: 09 July 2009 13:28 > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [N

Re: [Nagios-users] Critical Memory Alert

2009-07-09 Thread Martyn
Oops yes it should check_nt_memuse!80!90 -Original Message- From: Kevin Keane [mailto:subscript...@kkeane.com] Sent: 09 July 2009 13:28 Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Critical Memory Alert Shouldn't there be numeric values instead of ARG1 and ARG2? I

[Nagios-users] How to graph historical data

2009-07-09 Thread Gabriel - IP Guys
Dear All, I would like to know if it's possible to graph the historical data that Nagios produces - I am about to rebuild an old Linux box that has nagios installed on it, but I would like to at least see some trends what actually has been going on. I'm in the rare position where nothing on my

Re: [Nagios-users] Critical Memory Alert

2009-07-09 Thread Kevin Keane
Shouldn't there be numeric values instead of ARG1 and ARG2? I suspect that these non-numeric values both translate to 0, so all memory use would show up as critical. Martyn wrote: > > Hi All, I'm monitoring a windows server and Nagios is alerting the > memory usage as critical, below is what Na

[Nagios-users] Critical Memory Alert

2009-07-09 Thread Martyn
Hi All, I'm monitoring a windows server and Nagios is alerting the memory usage as critical, below is what Nagios is showing. CRITICAL 09-07-2009 12:42:261d 2h 48m 23s 3/3 Memory usage: total:5859.57 Mb - used: 305.44 Mb (5%) - free: 5554.13 Mb (95%) And this is the configuration I hav

Re: [Nagios-users] Monitor for memory bottleneck on Windows?

2009-07-09 Thread Michael Medin
I think by usage he did not mean usage but *usage* :) As in how much the swap area i used (having 8Gb swap which is allocated but not used wont matter much). Where as in a system who is spending time writing/reading from/to the swap area performance will degrade considerably. // Michael Medin

Re: [Nagios-users] Monitor for memory bottleneck on Windows?

2009-07-09 Thread Michael Medin
The CPU is measured as averages for the last X I could do something similar for this. Which is what I think you want? Stacking more of them in one go would be possible I guess, I shall look into it and see what I can come up with. // Michael Medin On 2009-07-09 09:44, Tore Lønøy wrote: Nu

Re: [Nagios-users] Monitor for memory bottleneck on Windows?

2009-07-09 Thread Andreas Ericsson
Michael Medin wrote: > I think by usage he did not mean usage but *usage* :) > As in how much the swap area i used (having 8Gb swap which is allocated > but not used wont matter much). > Where as in a system who is spending time writing/reading from/to the > swap area performance will degrade con

[Nagios-users] Display a http link in status information

2009-07-09 Thread Mark Clarkson
Hi, I am currently upgrading from nagios 2.9 to 3.0.6. In 2.9 I was able to display a http link in the status information but in 3.0.6 the HTML is now displayed instead so the user can't click on it. Is there a way to stop nagios from translating my http link to text? Cheers Mark. --

Re: [Nagios-users] Monitor for memory bottleneck on Windows?

2009-07-09 Thread Tore Lønøy
Number 2 seems to be the best choice for me. But I think it has to be an average value for the last e.g. 15 min, or something similar. The best would be if you could combine a check which measured swap usage, free physical memory, committed bytes, and pages out/sec, in which an warning / critical e

Re: [Nagios-users] Monitor for memory bottleneck on Windows?

2009-07-09 Thread Tore Lønøy
This is true for some cases but we have a few servers which are using 75% swap (8GB RAM, 8GB Swap), which are blazing fast even then. So I don´t think swap usage _alone_ is a good indicator, but it can be. 2009/7/6 Andreas Ericsson > Tore Lønøy wrote: > >> Hello naguis usergroup! >> >> I have fo

Re: [Nagios-users] monitoring unreachable hosts

2009-07-09 Thread Johannes Dagemark
Hi Mark Frost, Mark {PBG} wrote: > This topic of unreachable hosts that's come up recently has got me > thinking about an issue we have. We have a few hosts that are behind > proxies and as such are impossible to ping. They have a single service > which we can check through the proxy successfull