Re: [Nagios-users] Display system time

2008-07-24 Thread Andrew Cruse
Not without a little (very little) work. Unless someone else already has one up at nagiosexchange.org, you'd need to write your own little plugin that basically runs the date command (assuming linux) and returns OK and the output from the date command. Then you could run that script as a service

Re: [Nagios-users] MySQL Alive

2008-07-16 Thread Andrew Cruse
Jeff Koch wrote: > Hi: > > We're new with nagios but learning. > > We need to be able to check whether mysql is alive on a server - we > don't > want to log in. I've looked at the check_mysql and check_mysql_query > plugins and they seem to require username and password. > > Can anyone advise o

[Nagios-users] Monitoring Exchange 2007?

2008-05-30 Thread Andrew Cruse
I've recently been tasked with monitoring an Exchange 2007 single-copy cluster so I've been perusing what's available at nagiosexchange.org as well as poking around what Google turns up. Most of what I've found is pretty old (Exchange 5.5) with a few newer bits (Exchange 2003) but nothing specific

[Nagios-users] Host checks under Nagios 1.x

2008-04-21 Thread Andrew Cruse
I've got an interesting problem with a particular setup. I'm monitoring a number of servers that the main Nagios installation doesn't have direct network access to, so I pass all of the host and service checks through an NRPE installation that can communicate with both Nagios and the servers being

Re: [Nagios-users] Need help with Nagios, PERC, and likely false warning

2008-04-16 Thread Andrew Cruse
Scott R. Ehrlich wrote: > I have a Dell PE2950 with PERC 5/i. The server suffered a failed disk > under RAID 0. I obtained a replacement disk, rebuilt the system from > the ground up (new logical volumes within the controller, new OS > install) and > the system is happy now. > > I installed nag

Re: [Nagios-users] Nagios strips quotes from command arguments

2007-12-14 Thread Andrew Cruse
Paul Lathrop wrote: > Hi all, > > I've been banging my head against this for days, and Googled my eyes > out to no avail, so I think it is time to bring this to the list. > > I have written a plugin in Python which connects to a database on > another host, runs an arbitrary query, and (depending

Re: [Nagios-users] Nagios and virtualization

2007-10-15 Thread Andrew Cruse
Stephan Seitz wrote: > Hi! > > I'm using Nagios 2.6 with Debian Etch. > > I was wondering how I can teach Nagios to know about virtualization, > in my case XEN environments. The parent concept does not work, > because it is designed for networks. And the Dom0 is not necessary in > the same networ

[Nagios-users] Status.cgi question

2007-09-26 Thread Andrew Cruse
I can't believe this isn't in the documentation so I fear I'm looking the wrong place, but I sure can't find it. I'm playing with the output of status.cgi like this: http://nagioshost.domain.com/nagios/cgi-bin/status.cgi?host=all&servicestatu stypes=248 And I'm trying to figure out what the vari

Re: [Nagios-users] Newbie: How to calculate within Nagios?

2007-08-29 Thread Andrew Cruse
Zembower, Kevin wrote: > I've just gotten my first Nagios system set up and running, so if this > is a common question, please forgive me and point out what I > overlooked. > > I want to use Nagios and the check_snmp plug-in to monitor the ambient > temperature in my server room, and send alerts

Re: [Nagios-users] Modbus/TCP??

2007-08-27 Thread Andrew Cruse
Hugo van der Kooij wrote: > On Mon, 27 Aug 2007, Andrew Cruse wrote: > >> I'm looking to take my monitoring of a transfer switch to the next >> level beyond just dry-contacts. The switch manufacturer offers a >> monitoring card that is TCP/IP capable, but it d

[Nagios-users] Modbus/TCP??

2007-08-27 Thread Andrew Cruse
I'm looking to take my monitoring of a transfer switch to the next level beyond just dry-contacts. The switch manufacturer offers a monitoring card that is TCP/IP capable, but it does not expose the various things it monitors over SNMP, but instead uses ModBus/TCP. I've not run into that format

Re: [Nagios-users] Detecting partial outages

2007-08-24 Thread Andrew Cruse
David Barrett wrote: > Is there any way to configure Nagios to detect and ignore partial > outages? > > Specifically, I have multiple datacenters for my production service, > and then two separate locations from which I do monitoring. It's > very rare that any of the production datacenters goes

Re: [Nagios-users] How to handle macros with \'s in them

2007-06-13 Thread Andrew Cruse
Frost, Mark {PBG} wrote: > Hello. Recently, we've started running plugins that have \'s in their > output. Specifically, the nsclient++ disk check that would report on, > say "C:\". > > The plugin sends output like: > > C:\ - total: 3.91 Gb - used: 3.62 Gb (93%) - free 0.29 Gb (7%) > > w

Re: [Nagios-users] Adding "information" to certain services

2007-03-19 Thread Andrew Cruse
Patrick - South Valley Internet wrote: > Hello, > > We're migrating from our old monitoring system, Big Brother (VERY old > version) to Nagios, and one of the things we would like to see port > over to our Nagios install is the ability to view information, or > documentation on certain hosts. For

Re: [Nagios-users] TWO instances of Nagios on one server - possible?

2007-01-24 Thread Andrew Cruse
I see no reason that wouldn't work. If you're using NCSA you'd have to run them on different ports, but other than that it should work. Keep in mind though that with user groups and hostgroups you can achieve the same effect while still using only one instance of Nagios. Andrew _ From

Re: [Nagios-users] Nagios / NDO utils and Cacti

2007-01-11 Thread Andrew Cruse
Richard Luys-Nagios User wrote: > Hello List, > > I know, Nagios and Cacti is asked before. But this one is with a > twist. > > I compiled Nagios with event-broker-support and use the NDO Utils to > fill a MySQL database with the check output and perfdata (default > NDO2DB functionality). Now I

Re: [Nagios-users] Using $ in password

2006-12-12 Thread Andrew Cruse
Kareem Mahgoub wrote: > Thanks for all who replied to me, but unfortunately the three > solutions didn't work. Kindly if anyone has other ideas, post it. > Regards > - Original Message - > From: <[EMAIL PROTECTED]> > To: > Sent: Tuesday, December 12, 2006 9:28 PM > Subject: Re: [Nagios-use

Re: [Nagios-users] checking a counter on a website

2006-10-17 Thread Andrew Cruse
I would just write a quick script that grabs the value on the counter, then grabs the value again and subtracts the first from the second.  Publish that value out via SNMP and then just use check_snmp to verify that the value is >=1.  People with more programming skills than I would probabl

Re: [Nagios-users] Compare HTTP Page to Saved Copy

2006-09-20 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > I understand about the -s, -r and -R flags. These all look > for a specific pattern. Can I look for the absense of a pattern? So you want it to return critical only if the pattern is found? Check out the negate utility that I believe is still part of the plugins package

Re: [Nagios-users] page view question

2006-06-30 Thread Andrew Cruse
It's not a perfect solution, but what I've done to achieve more or less what you're looking for is:   Create an .htaccess file for the nagios/share directory: AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users AuthGroupFile /usr/local/nagios/etc/htpass

Re: [Nagios-users] statusmap.cgi - how to break up map

2006-06-22 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > As for if there's a way to make separate maps, it should > already be built in! > If you've created Host groups and assigned devices to them, > you can filter the Status Map by using the "Drawing Layers" area. The only problem with that is it still draws the whole map, b

Re: [Nagios-users] statusmap.cgi - how to break up map

2006-06-20 Thread Andrew Cruse
Pete Siemsen wrote: >>> We monitor about 240 things with Nagios. We don't use the Status >>> Map because it's so cluttered. Is there a way to control what's on >>> the graphical map, or is there a way to make separate maps or >>> something? >> >> You can create a map using your own coordinates,

Re: [Nagios-users] statusmap.cgi - how to break up map

2006-06-20 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > We monitor about 240 things with Nagios. We don't use the > Status Map because it's so cluttered. Is there a way to > control what's on the graphical map, or is there a way to > make separate maps or something? You can create a map using your own coordinates, but you'l

Re: [Nagios-users] host notification issues

2006-06-07 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: >> [EMAIL PROTECTED] wrote: >>> hey guys- >>>i have a problem that i wanted to put an entire computer lab (24 >>> PCs) under one host in nagios, and have a ping command for each >>> machine as a service of the host. i wrote a new ping command that >>> uses the $SERVIC

Re: [Nagios-users] host notification issues

2006-06-07 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > hey guys- >i have a problem that i wanted to put an entire computer > lab (24 PCs) under one host in nagios, and have a ping > command for each machine as a service of the host. i wrote a > new ping command that uses the $SERVICEDESC$ variable, and > then i just use

Re: [Nagios-users] Monitoring connectivity between 2 servers

2006-06-07 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > Hi list, > > I want to monitor the connectivity between two servers and > inform the results with Nagios. The test involes testing if > the server A is reacheble from server C and vice versa. I > also need some statistics like the RTT. Nagios will run in > another sepera

RE: [Nagios-users] utilizing pager/email in single contact

2006-05-24 Thread Andrew Cruse
Andrew Cruse wrote: > [EMAIL PROTECTED] wrote: >> On 5/24/06, Andrew Cruse <[EMAIL PROTECTED]> wrote: >>> [EMAIL PROTECTED] wrote: >>>> Good afternoon, >>>> >>>> I am sure I am not seeing the big picture here but I want to have a >&

RE: [Nagios-users] utilizing pager/email in single contact

2006-05-24 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > On 5/24/06, Andrew Cruse <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> Good afternoon, >>> >>> I am sure I am not seeing the big picture here but I want to have a >>> single contact and have nagios use the

RE: [Nagios-users] utilizing pager/email in single contact

2006-05-24 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > Good afternoon, > > I am sure I am not seeing the big picture here but I want to > have a single contact and have nagios use the pager for > critical/ok and email for warning/ok messages. It doesnt > appear that the default notification commands allow for this. > >

RE: [Nagios-users] check_http: fail if word appears on page?

2006-05-22 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > I've got a case where I'm monitoring a web site that throws > up a message saying 'This site is undergoing maintenance' > when there is a problem with the backend servers.. is there a > way with check_http to verify that the word maintenance does *not* > appear on the pag

RE: [Nagios-users] nagios + nextel issue

2006-05-17 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > Craig Jackson wrote: >> Please help troubleshoot this problem. Nagios works great. It sends >> notifications to [EMAIL PROTECTED] The problem is that I >> get 2 pages for every notification, a header and a body. No other >> pager or email client sends me 2 pages for one.

RE: [Nagios-users] User authentication alternatives.

2006-05-16 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > On 5/16/06, Tiernan, Michael C. <[EMAIL PROTECTED]> wrote: >> I'll admit to being a bit green on how to make some of the things >> happen under Apache so I figured I'd ask this august group for >> advice. >> >> I'd like to use the system password file for authenticating

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

2006-04-20 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > 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, h

[Nagios-users] Oreon Project?

2006-04-07 Thread Andrew Cruse
I was perusing nagiosexchange.org and ran across the Oreon Project (http://www.oreon-project.org/index-en.html). Has anyone given this a shot? Comments? It looks amazing from the screenshots, but it seems to be a pretty young project so I'm concerned it might still be pretty buggy... Andrew

RE: [Nagios-users] multiple nagios monitoring that have to agree?

2006-03-29 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > I've read through the docs and distributed, failover, and > redundant monitoring, but those didn't seem to apply. > > I'm wondering if two nagios instances can be set up to > monitor the same hosts/services and have to agree with each > other before sending a notificatio

RE: [Nagios-users] TXT Message a sell phone

2006-02-24 Thread Andrew Cruse
Is your Nagios server permitted to relay through your Exchange server?   Andrew From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe JacksonSent: Friday, February 24, 2006 4:14 PMTo: Derek J. BallingCc: Andrew Cruse; nagios-users@lists.sourceforge.netSubject

RE: [Nagios-users] TXT Message a sell phone

2006-02-24 Thread Andrew Cruse
From the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=113&expand=false&showdesc=false      How can I have notifications sent to an alphanumeric pager?   There are two ways you can do this. If your paging company has an email-pager gateway, you can simply have Nagios send an email mess

RE: [Nagios-users] Services Script

2006-02-22 Thread Andrew Cruse
> Does anyone have a script that will monitor 1 named windows > service and restart only that one service if it fails? I don't have such a script, but here's how I'd do it: Assuming you're using NRPE-NT: 1. Configure a check for the particular service you're wanting to monitor. 2. Write a

RE: [Nagios-users] nagiosgrapher v1.3 unreliable

2006-02-06 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > While I can't comment on nagiosgrapher specifically, since I > don't use it, I would suggest for RRDtool in general you take > a look at tuning the RRD heartbeat and step values used in the > rrdcreate command. > > The factor in Nagios that would cause RRD gaps is most

RE: [Nagios-users] Acknowledge issues via e-mail

2006-01-30 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > Hello everyone > > I did a few google searches, and looked through > Nagiosexchange but I was not able to find anything that would > allow me to acknowledge issues via e-mail. > > What I would like to be able to do is receive and e-mail for > a problem, then be able t

RE: [Nagios-users] eventhandler issue

2005-11-30 Thread Andrew Cruse
Does the Nagios user have execute permissions on restart-httpd? Does the Nagios user have enough permissions to execute the commands contained in restart-httpd to restart Apache? Andrew [EMAIL PROTECTED] wrote: > So I setup eventhandler for one of my servers similar to the > write up on the nagi

RE: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > I see I have all these possible options for compiling with > MySQL support: > > --with-mysql-xdata > --with-mysql-downtime > --with-mysql-comments > --with-mysql-status > --with-mysql-retention > --with-mysql-extinfo > > Are there any cons to using Nagios with MySQL? W

RE: [Nagios-users] test email

2005-11-16 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > Q. > > Is anyone other than me getting these back for the list on posting? YES! Can we unsubscribe that guy? > > > --- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss

RE: [Nagios-users] nrpe checks failing because of low ping

2005-11-14 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > the hosts don't actually go down, but they have a ping low > enough that nrpe checks fail with 'connection refused' > > I'll get a notification for load being critical with > 'connection refused' then right after that get a ping critical > notification. > > i'd like to

RE: [Nagios-users] NRPE + raidutil ?

2005-11-07 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > > I'm trying to monitor RAID array status using NRPE. But > I'm running > into minor security issues. > > > > * Adaptec 2100S RAID controller > > * CentOS 4.2 > > * raidutil RPM from http://i2o.shadowconnect.com > > > When logged directly into the system to monit