Re: [Nagios-users] Nagios "clock" way off

2009-10-11 Thread Kyle Tucker
If it helps, all Duration times show as "???", even for checks I just forced and have the times back in sync. -- - Kyle - ky...@panix.com http://www.panix.com/~kylet - -

Re: [Nagios-users] Nagios "clock" way off

2009-10-11 Thread Kyle Tucker
> > I don't have log rotation on. Apparently it's on by default, but that date's good as well. [10-04-2009 00:00:00] LOG VERSION: 2.0 Log Rotation [10-04-2009 00:00:00] LOG ROTATION: WEEKLY -- - Kyle - ky...@panix.com http://www.panix.com/~kylet

Re: [Nagios-users] Nagios "clock" way off

2009-10-11 Thread Kyle Tucker
On Sun, Oct 11, 2009 at 08:24:21AM -0700, Justin Pryzby wrote: > Just to be sure, is that true for the earliest lines at midnight the > day you discovered the problem? I discovered it today and just looked back through a week of archives and dates are right on. I don't have log rotation on. Log F

Re: [Nagios-users] Nagios "clock" way off

2009-10-11 Thread Kyle Tucker
On Sun, Oct 11, 2009 at 07:34:39AM -0700, Justin Pryzby wrote: > On Sun, Oct 11, 2009 at 07:30:19AM -0400, Kyle Tucker wrote: > > > > check until October of 2014!. I saw this for all services > > with the last check having been the same year. The system > > clock is

[Nagios-users] Nagios "clock" way off

2009-10-11 Thread Kyle Tucker
Hi all, Today when I noticed a root nearly full I looked to see why Nagios hadn't flagged it. It was quickly apparent when I saw Nagios wasn't going to run the next service check until October of 2014!. I saw this for all services with the last check having been the same year. The system clock is

Re: [Nagios-users] How configure Nagios to send periodic notifications?

2009-04-24 Thread Kyle Tucker
On Fri, Apr 24, 2009 at 04:48:39PM +0200, Arnau wrote: > Do you know if there is a way to force Nagios to send a notification > periodically? I'd try here with an external command. http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=135 -- - Kyle -

Re: [Nagios-users] Untraceable service by-email notification

2009-04-20 Thread Kyle Tucker
On Mon, Apr 20, 2009 at 04:43:37PM -0300, Fernando Rocha wrote: > Probably you have the 'contact_groups' variable at the host definition, and > it will be implicitly inherite. > > take a look at 'Implied Inheritance' from > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html I just n

[Nagios-users] Untraceable service by-email notification

2009-04-20 Thread Kyle Tucker
Hi all, I have defined a custom service notification command that I am using to send alerts to CA Spectrum. That part is working, but for every alert I send, I am also getting a corresponding service notification by email to the nagiosadmins contact group despite my service having an inherited

Re: [Nagios-users] Variable notifications based on severity for a single service instance?

2006-06-09 Thread Kyle Tucker
> >"Is it possible for a single service instance to send an e-mail > on a WARNING condition and a page plus e-mail on a CRITICAL condition?" > >Would this require two separate service instances with different > "notification_options"? I'd really like to avoid having two service > definit

Re: [Nagios-users] Host check doesn't wait in-between checks.

2006-06-06 Thread Kyle Tucker
> it is being discussed here again and again. Some working solution(s) attached. For the simpler situations, wouldn't the introduction of a simple host retry_check_interval be sufficient? It would fulfill my request and of the OP it would seem as well. -- - Kyle ---

Re: [Nagios-users] Host check doesn't wait in-between checks.

2006-06-06 Thread Kyle Tucker
> > What is the point of setting a Host max_check_attempts if Nagios isn't going > to > wait in between checking? I too wish I had more time between host checks and you've prompted me to try something in my check_alive script. Would this snippet do the trick? TIMEGAP=10 # number of seconds be

Re: [Nagios-users] status.dat on /tmp causes status.cgi issues

2006-05-30 Thread Kyle Tucker
r info, = > there's a pending-confirmation fix in CVS as well as a workaround (move = > your status.dat file back to the same filesystem). > -Original Message- > From: [EMAIL PROTECTED] on behalf of Kyle Tucker > Sent: Tue 5/30/2006 8:39 AM > To: Nagios Mailing List > Subje

[Nagios-users] status.dat on /tmp causes status.cgi issues

2006-05-30 Thread Kyle Tucker
Hi, Nagios 2.0b5 on Solaris 10. I've been running this setup for some time and just recently started seeing "Internal Server Error" on page refreshes from Firefox, with Apache reporting "Premature end of script headers". The only changes recently are that I increased the host and servi

[Nagios-users] $HOSTDURATION usability

2006-05-26 Thread Kyle Tucker
Hi, I modified my host-notify-by-email command to include a line to indicate how long a host had been down. When I saw it come out in this HOST UP recovery notification as zero seconds, some quick further reading shed light on why. I know this will be useful for re-notification of hosts t

Re: [Nagios-users] Host retry interval

2006-05-23 Thread Kyle Tucker
> > > for that service. Ergo, if you set your service checks max to 15, after > > > 15 minutes (assuming your delay is 60 seconds) your service will hit a > > > HARD CRITICAL, and host checks will fire. > > > > That's not correct, host checks are performed as soon as a service check > > returns so

Re: [Nagios-users] Host retry interval

2006-05-22 Thread Kyle Tucker
to avoid doing a host check until absolutely necessary. > Suggest increasing the max_check_attempts on the SERVICE to a larger number, > this will avoid impacting the monitoring system as a whole. > > /eli > > > On 5/22/06 11:45 AM, "Kyle Tucker" <[EMAIL PROTECTED]

[Nagios-users] Host retry interval

2006-05-22 Thread Kyle Tucker
Hi, I have many hosts that are constantly giving me DOWN/UP state as they are unreachable for certain periods. In an attempt to give the system more time to become available, I increased the max_check_attempts from 2 to 5. At 2 the interval between retry attempts was 10 seconds. Now at 5, t

[Nagios-users] Acknowledgement triggered actions

2006-04-25 Thread Kyle Tucker
Hi all, I have modified my notifications command such that it checks that if $NOTIFICATIONTYPE = "ACKNOWLEDGEMENT" then I am kicking off a couple actions; a snmpget and then an external Nagios command to submit the service check. But it runs the notification command for each recipient and

Re: [Nagios-users] SNMP Check straight to Critical

2006-04-20 Thread Kyle Tucker
> I want to be able to send an SMMP check straight to critical instead of > warning. I.e. a Wireless AP Interface has UP and Down. So instead of > sending that to a Warning status I would like it to go straight to > Critical. I have tried using the check_snmp string, however it requires > a

Re: [Nagios-users] restart http with ssl certificate pass

2006-04-18 Thread Kyle Tucker
> > On Tue, 18 Apr 2006, ThomasC. wrote: > > > I would like to use eventhandlers to restart apache on nagios server > > because > > it sometimes fails. > > My issue is that i have a password on the certificate that i have to give > > when restarting apache...do you know how i can handle this ?

Re: [Nagios-users] Submitting active check results?

2006-04-14 Thread Kyle Tucker
> On Fri, Apr 14, 2006 at 10:11:27AM -0500, Marc Powell wrote: > > An active check is one in which the host or service check_command is run > > by nagios itself. You can force an active check to happen by > > re-scheduling the next check of the service. > > A passive check is one in which the hos

[Nagios-users] Submitting active check results?

2006-04-14 Thread Kyle Tucker
Hi, I'm missing something here. In the extinfo.cgi page, all my active service checks on my central server have a link to submit "passive" service checks, which actually allow me to change the state of service checks and I assume the external command for this is PROCESS_SERVICE_CHECK_RESUL

[Nagios-users] check_service_freshness on central/distributed

2006-04-04 Thread Kyle Tucker
I've set up a distributed server with freshness checks for each service being submitted passively set to 1 on the central server. But in the main nagios.cfg on each server (central and distributed), what should the global check_service_freshness parameter be set to? I don't see anything definitiv

[Nagios-users] multiple parents

2006-03-31 Thread Kyle Tucker
Hi, At out colocation site, the systems I am monitoring have two border routers by which they can get out, so both of these would need to be down for me to not want to monitor hosts and services beyond these. Is this where comma separated parent hosts would come into play? If not, how woul

[Nagios-users] Re: check_snmp truncates load return strings

2006-03-31 Thread Kyle Tucker
Trying to debug this with gdb didn't help as it acts properly using gdb. Why would this happen? Program exited normally. (gdb) run check_snmp -u "load average" -t 3 -P 3 -H 192.168.2.1 -L authPriv -U xx -a MD5 -A yy -X zz -o laLoad.2 Starting program: /usr/local/nagios/libexec/check

[Nagios-users] check_snmp truncates load return strings

2006-03-31 Thread Kyle Tucker
Hi, If I use check_snmp to get the load from Net-SNMP's load directives, all comes back fine until I set -w or -c option. When I use these options, everything after the decimal point gets cut off. If I leave off the options, I get the full numeric value. Thoughts?

Re: [Nagios-users] Host/Service ACK's Notifications

2006-03-22 Thread Kyle Tucker
> > A follow up to this is that I found a Macro "$NOTIFICATIONTYPE$". The > problem is I don't want this Macro sent out on every notification. I > need to find someway of allowing for the seperate config for a > acknowledgement notification. The word "ACKNOWLEDGEMENT" specified is > also to long f

Re: [Nagios-users] SNMP WARNING

2006-03-22 Thread Kyle Tucker
> > Am I missing something fundamental about this command ? > > It appears that you missed the 'min:max' vs. 'max:min' thing on the ranges, > but 1) that's a common oversight, and 2) it doesn't appear to be the real > reason you're getting nothing but warnings. James, thanks for all this detai

Re: [Nagios-users] OCSP timeout for send_nsca

2006-03-20 Thread Kyle Tucker
Darn - never mind - I found the setting. Sorry for the wasted bandwidth. :( -- - Kyle - [EMAIL PROTECTED] http://www.panix.com/~kylet - --- This SF.

[Nagios-users] OCSP timeout for send_nsca

2006-03-20 Thread Kyle Tucker
Hi, I am getting a lot of these errors on my distributed server. Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result olclient1 'check-sendmail' OK 'SNMP OK - 0 exitstatus - 1 processes - sendmail -'' for service 'check-sendmail' on host 'olclient1' timed

Re: [Nagios-users] check_snmp on Sol 10 mangling data

2006-03-06 Thread Kyle Tucker
After playing with gdb all day, I found the culprit. The array of chars named "type" was getting initialized with the crud on Solaris 10. On 8 it 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.cMon

Re: [Nagios-users] check_snmp on Sol 10 mangling data

2006-03-06 Thread Kyle Tucker
I just want to add that snmpget returns a good clean string on both Solaris 8 and 10. I also copied over and ran the check_snmp that I built (and runs well) on Solaris 8 on the Solaris 10 system and it too returns the garbage strings. So I'm at a total loss as to what about Solaris 10 that would c

[Nagios-users] check_snmp on Sol 10 mangling data

2006-03-03 Thread Kyle Tucker
Hi, I had check_snmp from the 1.4.2 plugins working great with Net-SNMP 5.2.2 on Solaris 8. I have built it all on Solaris 10 now for my production server and I get mangled data back from check_snmp going to the exact same snmpd client. Here's a good working Solaris 8 query from check_s

Re: [Nagios-users] check_snmp quoting issue

2006-02-16 Thread Kyle Tucker
Okay, We found the issue in popen.c that was just bailing if it found any double quote in the command string. Commenting out this bit of code allowed the quoted OIDs to work. /* This is not a shell, so we don't handle "???" */ if (strstr (cmdstring, "\"")) return NU

Re: [Nagios-users] check_snmp quoting issue

2006-02-16 Thread Kyle Tucker
ndResult.\"extt2\" NET-SNMP-EXTEND-MIB::nsExtendResult."extt2" = INTEGER: 2 > 2006/2/16, Kyle Tucker <[EMAIL PROTECTED]>: > > Hi, > > I'm trying to use the new extend directive > > in Net-SNMP and the symbolic OIDs litera

[Nagios-users] check_snmp quoting issue

2006-02-16 Thread Kyle Tucker
Hi, I'm trying to use the new extend directive in Net-SNMP and the symbolic OIDs literally contain a quote. I can't get check_snmp to be satisfied with the quotes I need to pass. I need to be able to pass nsExtendResult."extt2" to snmpd. Any suggestions? Thanks. /usr/local/nagios/libexec/

Re: [Nagios-users] Distributed servers and parenting

2006-02-08 Thread Kyle Tucker
t; > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of Kyle Tucker > > Sent: Friday, January 27, 2006 3:26 PM > > To: nagios-users@lists.sourceforge.net > > Subject: [Nagios-users] Distributed server

Re: [Nagios-users] Active Directory Monitoring

2006-02-01 Thread Kyle Tucker
> > I'm currently searching for a way to monitor an active directory using > nagios. The mainproblem I have is that I my active directory knowledge > tends to zero. I'm currently searching for docs where I can find atleast > the ports which I have to monitor, but until now without success. I had >

[Nagios-users] Distributed servers and parenting

2006-01-27 Thread Kyle Tucker
Hi, I have Nagios set up in distributed mode. I am wondering if this should have a direct affect on how parenting is set up. I think visually from the status maps, it would look "right" to have the all clients have the distributed monitor system be its parent and perhaps have the central se

Re: [Nagios-users] Question about Nagios configuration

2006-01-26 Thread Kyle Tucker
> > I'm confused about my Nagios configuration. My Nagios monitoring host is > Linux (Slackware ) box. All clients I need to monitor are Tru64 boxes. > So, I was able to compile NRPE on the Tru64 boxes, but it appears I need all > plugins locally on the system. So I want to install the standard

[Nagios-users] check_snmp options not getting passed to snmpget

2006-01-19 Thread Kyle Tucker
Hi, I have compiled the check_snmp plugin from the nagios-plugins-1.4.2 source code against Net-SNMP 5.2.2. All of the options I pass to check_snmp don't get passed along to snmpget, yet they're in the source code. Any clue what's up? Here's successful use of snmpget and what gets passed

Re: [Nagios-users] Disabling GIF image for passive checks

2006-01-19 Thread Kyle Tucker
> In order for freshness checks to work in 2.0 and up, you have to set as > follows. > check_period 24x7 > passive_checks_enabled 1 > active_checks_enabled0 ; these are all passive checks > check_freshness 1 > c

Re: [Nagios-users] Disabling GIF image for passive checks

2006-01-17 Thread Kyle Tucker
> > > -Original Message- > > From: Steve Shipway [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 17, 2006 4:08 PM > > To: 'Andrew Laden'; nagios-users@lists.sourceforge.net > > Subject: RE: [Nagios-users] Disabling GIF image for passive checks > > > > > > With active checks enabled

[Nagios-users] Disabling GIF image for passive checks

2006-01-17 Thread Kyle Tucker
Hey all, I've set up distributed servers and a surprising and unwanted by-product of this setup is the passive GIF image placed against all passive service checks on the web pages (images/passiveonly.gif). I'd like to disable this, firstly because I don't need to visually see each and ev