Re: [Nagios-users] Advice on Plugin Development

2005-12-18 Thread C. Bensend
I need a plugin for Nagios that reboots an external server under certain circumstances (no ping response). There is no direct connection between the machine that Nagios runs on and the monitored server, so the reboot needs to be initiated via HTTPS with several POST parameters, i.e. a

Re: [Nagios-users] Nagios 2.0b4 Firefox 1.5 Possible Memory Leak

2005-12-22 Thread C. Bensend
After closing that window, BAM (Like Emril), the memory is added to the pot again. Welcome to Firefox. :) Seriously, though, I have this sort of thing happen any time I leave Firefox windows open. Occasionally, I just go through and close them all down (like once a week). Over the course

RE: [Nagios-users] Nagios 2.0b4 Firefox 1.5 Possible Memory Leak

2005-12-22 Thread C. Bensend
Same here... It also appears that there is some issue, either with 1.5 itself or with one or more extensions that is causing increased memory usage -- http://www.informationweek.com/news/showArticle.jhtml?articleID=17500715 2pgno=7 Yep. But, I have also seen this problem since Firefox

RE: [Nagios-users] Monitoring a mail server

2006-01-31 Thread C. Bensend
Depending upon what you want to check, there are many solutions. I'm not familiar with Amavisd, so I can't say for certain. However it seems that you may to look at: check_smtp, check_mailq, check_proc, and check_tcp (among others). You can even write your own quickly. I'm not sure I

RE: [Nagios-users] Monitoring a mail server

2006-02-01 Thread C. Bensend
Yes, you got it, but how do I send an email alert sent directly to a remote SMTP gateway? That all depends on your mailserver setup. Is there any way you can bypass the spam/anti-virus to send mail directly? Or, it could certainly be done easily enough with a shell script that connects to a

RE: [Nagios-users] Monitoring a mail server

2006-02-01 Thread C. Bensend
Thanks, how do I get Nagios to run my shell script in place of the normal notification? RTM. :) Hint: misccommands.cfg -- 'And you've got 10 gig of files to put through our mail system?' I ask, squeezing my mouse in a non-approved manner. -- BOFH, 2006-01

RE: [Nagios-users] check_procs with spaces in their path?

2006-02-22 Thread C. Bensend
You are confusing the program name with its arguments. ./check_procs -c 1:1 -C '/usr/lib/sendmail' -a '-bd -q15m' IE, exactly one process, with command /usr/lib/sendmail, and arguments '-bd -q15m' !! While I'm not the OP, I was wrestling with one of my monitored servers, trying to pick

Re: [Nagios-users] Monitor DHCP Server []

2006-04-20 Thread C. Bensend
#chown root:nagios check_dhcp #chmod 4710 check_dhcp #ls -lpsa -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... You're not on a disk partition mounted nosuid, are you? Benny

Re: [Nagios-users] Monitoring HTTPS

2006-05-18 Thread C. Bensend
Is there a possibillity to check the remaining time from an ssl certificate? Dont blame me because i am to lazy to recompile and try. :) Yes. -- God help us all if cats had thumbs. -- Me, 2006 --- Using Tomcat but need to do more?

Re: [Nagios-users] Monitoring HTTPS

2006-05-18 Thread C. Bensend
When the certificate of 'www.verisign.com' is valid for more than 14 days, a STATE_OK is returned. When the certificate is still valid, but for less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when the certificate is expired.

Re: [Nagios-users] https access with check_http

2006-05-23 Thread C. Bensend
Hello everyone, I try to use the check_http plugin to test an https access, but I don't succeed int it. I try to put the port to 443, but the plugin try to access via HTTP protocol on port 443. How can I use a HTTPS protocol with check_http plugin ? Thanks for any time help FAQ. The

Re: [Nagios-users] NRPE binary for HP-UX 10.20

2006-08-16 Thread C. Bensend
I realise this is a long shot, but does anyone out there have a precompiled NRPE binary (any version I don't mind) for HP-UX 10.20 or know of where I can get one from? And no, there's no ssh on this box and by the looks of it, that'll be even harder to get to work than NRPE..

Re: [Nagios-users] NRPE and Nagios plugin for Tru64 and HPUX 10

2007-03-07 Thread C. Bensend
If you are running Nagios 1.x, the precompiled binaries for hpux 10.x can be found at www.bennyvision.com http://www.bennyvision.com/ . They are located on the projects page. Please note that those binaries are ooolddd. I need to update the page with a banner in about

[Nagios-users] Service dependencies not disabling notifications

2007-04-15 Thread C. Bensend
Hey folks, I could swear I've asked this before, but neither Google nor the mailing list archives showed any posts. My apologies if this is indeed a repeat, my memory flakes out sometimes. I have a v2.8 installation on an OpenBSD machine. It was built from source, not installed via

Re: [Nagios-users] Service dependencies not disabling notifications

2007-04-15 Thread C. Bensend
Take a very close look at the output of nagios -v. It happened to me in the past that making a small error in the servicedependency definitions would make Nagios discard them as Lame service dependency without counting it in the warning/error count. This is logged at the top and discarded

Re: [Nagios-users] Service dependencies not disabling notifications

2007-04-16 Thread C. Bensend
I don't know if it makes a difference, and I may have missed some new parameters that have been added since the docs were revised, but I'm not sure p is a valid failure criterion. According to the docs, it is. But nevertheless, I've tried it with and without, and it doesn't work either way.

Re: [Nagios-users] negative check latency with Nagios as VM?

2007-08-21 Thread C. Bensend
VMWare themselves advise not to perform any monitoring which is rate-based on the guest, and further say that any monitoring which polls hardware (eg network card traffic) will cause performance problems, and also that monitoring CPU and Memory on the guest is pointless and misleading and

Re: [Nagios-users] negative check latency with Nagios as VM?

2007-08-21 Thread C. Bensend
OK, basically, there are three issues. Thanks a bunch, Steve. That gives me plenty of information to pass along to my group. Benny -- This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation

Re: [Nagios-users] AVTECH Room Alert examples

2007-08-28 Thread C. Bensend
I just deployed one of these using nagios. You will need to use SNMP. There is a secret setting that they just put in the most recent version of firmware that allows the temp and humidity output to be displayed as xx vs (so you have the device say 67 degrees instead of 6789 degrees).

Re: [Nagios-users] AVTECH Room Alert examples

2007-08-28 Thread C. Bensend
Request it. I bought my device 3 weeks ago and requested the feature. They released a new version of the firmware in a few days and Voila, it was there. Their tech support guys are very easy to deal with and from what I can tell, very responsive. -Seth Beat ya to it. :) I filed the request

Re: [Nagios-users] Error monitoring Postresql Servic

2007-08-28 Thread C. Bensend
Hello guys, I'am new to Nagios. I need to monitor the PostgreSql service in my server. But I'am receiving this problem: CRITICAL - no connection to 'template1' (could not connect to server: Connection refused thanks for your help. Have you passed the correct parameters to check_pgsql to

Re: [Nagios-users] Global users and time zones

2007-10-30 Thread C. Bensend
Hi Ton, 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:///

Re: [Nagios-users] putting limits on check_by_ssh

2007-11-16 Thread C. Bensend
My positives for NRPE are; 1) I have begun using NRPE where I can because it's much faster than check_by_ssh/SSH, and I was having issues with some hosts simply timing out upon SSH connection setup. check_by_ssh/SSH is much more resource intensive. Benny -- If it's true that our

Re: [Nagios-users] Monitoring hosts and DHCP

2007-11-19 Thread C. Bensend
I'm monitoring about 30 machines using Nagios with SNMP checks. I also have a DHCP server casting each machine on the network their IP address on start-up. Some machines stay on the majority of the time, others for only 4-8 hours a day. The machines generally maintain their same IP

Re: [Nagios-users] Environmental monitoring

2007-11-28 Thread C. Bensend
This is somewhat off-topic, but can anyone recommend a vendor for environmental? I would like to monitor the temp. and humidity of our two server rooms. Integration with Nagios is a huge plus. We use a number of TemPager 4E units: http://www.tempager.com/ Nagios queries them via SNMP.

Re: [Nagios-users] Setting up NRPE on HP UX

2009-01-05 Thread C. Bensend
:) Please keep in mind, the versions there are *old*. I don't work at that job any longer, so I do not have an environment to build new ones. Benny Hi there -- I would check out the following URL: http://www.bennyvision.com/projects/nagios/index.php I have used the files that are

Re: [Nagios-users] Installation issue

2009-01-20 Thread C. Bensend
Did you create the user and group nagios on the machine you are installing nagios on ? It seems that system is trying to copy a file and give it the permissions of user and group nagios , and fails to find those defined . Assaf On Tuesday 20 January 2009 08:50:31 Anto Marky wrote: Hi,

Re: [Nagios-users] nrpe 2.12 doesn't build in OpenBSD

2009-01-26 Thread C. Bensend
When trying to build nrpe configure fails because it cannot find the ssl libraries. This is preposterous. The error in ./configure is that is looks for a file called libssl.so in $dir, when what it really should test is that gcc test.c -L$dir -lssl works. While it should indeed build, why

[Nagios-users] Monitoring Active Directory

2009-11-02 Thread C. Bensend
Hey folks, I just started a new job, and my immediate task is to build a new Nagios system for them. I love my new job... :) They would like to monitor Active Directory OUs, so that Nagios alerts if any of a certain group of OUs are moved/renamed/deleted. Apparently, this happens every

Re: [Nagios-users] Monitoring Active Directory

2009-11-02 Thread C. Bensend
You could also use nsclient++ on your domain controller and run a power shell script to compare list of OU's Cheers Gareth -Original Message- From: C. Bensend [mailto:be...@bennyvision.com] Sent: Tuesday, 3 November 2009 5:56 a.m. To: nagios-users@lists.sourceforge.net

[Nagios-users] check_openmanage.exe cannot find Dell OMSA

2009-11-16 Thread C. Bensend
Hey folks, I'm trying to teach my newest Nagios installation how to test Dell's hardware on remote Windows boxes via NRPE/NSClient++, and I'm running into a snag: ./check_nrpe -H HOSTNAME -c check_openmanage ERROR: Dell OpenManage Server Administrator (OMSA) is not installed Hmm. It's

Re: [Nagios-users] check_openmanage.exe cannot find Dell OMSA

2009-11-16 Thread C. Bensend
C. Bensend be...@bennyvision.com writes: Hey folks, I'm trying to teach my newest Nagios installation how to test Dell's hardware on remote Windows boxes via NRPE/NSClient++, and I'm running into a snag: ./check_nrpe -H HOSTNAME -c check_openmanage ERROR: Dell OpenManage Server

Re: [Nagios-users] check_openmanage.exe cannot find Dell OMSA

2009-11-16 Thread C. Bensend
C. Bensend be...@bennyvision.com writes: C. Bensend be...@bennyvision.com writes: Hey folks, I'm trying to teach my newest Nagios installation how to test Dell's hardware on remote Windows boxes via NRPE/NSClient++, and I'm running into a snag: ./check_nrpe -H HOSTNAME -c

[Nagios-users] Passive service on Windows 2003 box notifies intermittently

2009-11-19 Thread C. Bensend
Hey folks, I'm working on ironing out Windows event log alerting for our eleventy billion Windows hosts, and they're slowly but surely driving me insane. I am using Steve Shipway's Nagios EventLog Agent, as I need the end users to be able to add/edit/remove their own alerts as they see

Re: [Nagios-users] Passive service on Windows 2003 box notifies intermittently

2009-11-20 Thread C. Bensend
Nov 19 08:20:12 hostname nagios: SERVICE ALERT: winhost;System EventLog;CRITICAL;HARD;1;System [info] [USER32 #1074]: The process svchost.exe has initiated the restart of computer WINHOST on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found

[Nagios-users] Anyone testing Microsoft Volume Shadow Copy?

2009-12-14 Thread C. Bensend
Hey folks, I am hitting a situation where certain Windows 2003 Server file servers will stop doing shadow copies on their share volumes. The service itself starts up and shuts down periodically like it should, but a new shadow copy is *not* created as viewed in Pervious Versions from a

Re: [Nagios-users] Anyone testing Microsoft Volume Shadow Copy?

2009-12-14 Thread C. Bensend
-Original Message- From: C. Bensend [mailto:be...@bennyvision.com] I am hitting a situation where certain Windows 2003 Server file servers will stop doing shadow copies on their share volumes. The service itself starts up and shuts down periodically like it should, but a new

Re: [Nagios-users] Anyone testing Microsoft Volume Shadow Copy?

2009-12-17 Thread C. Bensend
On Mon, Dec 14, 2009 at 8:17 PM, C. Bensend be...@bennyvision.com wrote:   Looking at the vssadmin.exe command on the Windows server, I see I can: vssadmin List Shadows   And it prints out a listing of the existing shadow copies. However, without awk and grep (and no, I cannot install

[Nagios-users] Checking IIS sites when there is a default outage page

2010-01-06 Thread C. Bensend
Hey folks, So, I'm running into an interesting scenario here at work, while setting up hosts for the web application guys. I have a number of IIS-hosted web sites that require NTLM authentication, which complicates matters. I found one plugin (check_http_ntlm.pl) that can at least pass

Re: [Nagios-users] Checking IIS sites when there is a default outage page

2010-01-06 Thread C. Bensend
Any thoughts on how to monitor an IIS site requiring NTLM authentication when a default page is configured for an out of service page? I'm not aware of anything out-of-the-box but I do know of one that's close (but haven't used it). I also know that curl supports NTLM so if that's used

Re: [Nagios-users] Checking IIS sites when there is a default outage page

2010-01-07 Thread C. Bensend
Any thoughts on how to monitor an IIS site requiring NTLM authentication when a default page is configured for an out of service page? I'm not aware of anything out-of-the-box but I do know of one that's close (but haven't used it). I also know that curl supports NTLM so if that's used

Re: [Nagios-users] Checking IIS sites when there is a default outage page

2010-01-09 Thread C. Bensend
Benny, you might also take a look at Webinject.pl It allows you to script a series of website interactions and watch for patterns in the response. There is a nagios mode and I believe you can pass credentials. In the earlier messages in this thread, I mentioned it. I'm not having a helluva

[Nagios-users] check_openmanage having issues with OMSA 6.2.0

2010-02-01 Thread C. Bensend
Hey folks, During this past weekend's maintenance window, we upgraded several hosts to OMSA v6.2.0. They were previously at v5.0.0, and so check_openmanage wasn't able to poll them. Now, they are still showing as UNKNOWN, giving the following error: Problem running 'omreport storage

Re: [Nagios-users] check_openmanage having issues with OMSA 6.2.0

2010-02-01 Thread C. Bensend
I would have thought 6.2.0 would be OK - is anyone else seeing issues, or does anyone know of incompatibilities? I checked the check_openmanage FAQ, but didn't see anything... Hi Benny, The command 'omreport storage controller' is pretty basic and should never fail like that. You

Re: [Nagios-users] check_openmanage having issues with OMSA 6.2.0

2010-02-01 Thread C. Bensend
I would have thought 6.2.0 would be OK - is anyone else seeing issues, or does anyone know of incompatibilities? I checked the check_openmanage FAQ, but didn't see anything... Hi Benny, The command 'omreport storage controller' is pretty basic and should never fail like that. You

Re: [Nagios-users] Nagios 3.2.0 process dies silently - help!

2010-02-05 Thread C. Bensend
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

[Nagios-users] check_openmanage not using my custom temperature thresholds

2010-02-09 Thread C. Bensend
Hey folks, I am trying to use custom temperature thresholds with one of my servers, and it doesn't seem to take them into account. The full command (as defined in NSC.ini for NSClient++): command[check_openmanage]=check_openmanage.exe -e -p -w 0=50 -c 0=54 -b

Re: [Nagios-users] check_openmanage not using my custom temperature thresholds

2010-02-09 Thread C. Bensend
Openmanage has its own limits. From a random M600 server here, the limits for ambient temperature is # omreport chassis temps Temperature Probes Information Main System Chassis Temperatures: Ok Index

Re: [Nagios-users] Re-send: Notificaitons after the commit

2010-03-02 Thread C. Bensend
Running nagios -v nagios.cfg haves Nagios verify the configuration, this is best practice because otherwise you risk a typo stopping your monitoring for the time it takes for you to correct the configuration :-) ... Tip: don't use restart when you just want Nagios to load new

[Nagios-users] check_openmanage: Failed to load external entity with OMSA v5.3.0 on 2003

2010-03-09 Thread C. Bensend
Hey folks, I am working my way through some more Windows NSClient++ installs, and I've hit a 2003 server that is not happy with check_openmanage (please forgive the horrible formatting): C:\Program Files\NSClient++check_openmanage -e -p -b bat_charge=ALL/ctrl_fw=ALL /ctrl_driver=ALL

Re: [Nagios-users] check_openmanage: Failed to load external entity with OMSA v5.3.0 on 2003

2010-03-09 Thread C. Bensend
C:\Program Files\NSClient++check_openmanage -e -p -b bat_charge=ALL/ctrl_fw=ALL /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe I/O warning : failed to load external entity E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl error xsltParseStylesheetFile : cannot parse

Re: [Nagios-users] Different timeperdiods for warning / critical states ?

2010-03-10 Thread C. Bensend
We have a nagios 2.x installation that I plan to upgrade to 3.x soon... For some services, I'd like to be able to send notification 24x7, but only with a critical state. For exemple a disk space checking service. When it reaches warning state, I don't want to be waked up at 3 am. But when

Re: [Nagios-users] Overall Service Status

2010-03-15 Thread C. Bensend
Kernel version is just an example, there are many service results I'd like to be able to display in this manner. Something similar to how the Hosts page, displays ping status against each host. I'm assuming I could create another customised page, and stick it on the sidebar, but was

[Nagios-users] Does anyone have event log monitors that *work*?

2010-03-19 Thread C. Bensend
Hey folks, I have been beating my head against various and sundry walls, tables, and desks for quite some time now, and my brain is starting to get very, VERY mushy. I need to monitor Windows event logs. You'd think this would be easy, but either the tools available out there don't work

Re: [Nagios-users] Does anyone have event log monitors that *work*?

2010-03-19 Thread C. Bensend
This is probably overkill for your situation but you could use Splunk to watch event logs (and other logs) via saved searches and then have it notify Nagios when it spots something. We do this here as Splunk just has more smarts about dealing with events/logs/matches within certain time

Re: [Nagios-users] Does anyone have event log monitors that *work*?

2010-03-19 Thread C. Bensend
You may want to consider a unified SYSLOG in a linux box for your windows machines an build your own plugins, this not only cuts off the stress on the windows side but allows you quite a bit of freedom in processing logging. It's just an idea, we are doing it over here, and we've had great

Re: [Nagios-users] Does anyone have event log monitors that *work*?

2010-03-19 Thread C. Bensend
I agree, it's not easy. If it's any help, the best I've been able or bothered to get for monitoring any errors from MS SQL Server is to put this in the NSClient++ .ini file: Event_MSSQL=inject CheckEventLog filter=new file=application MaxWarn=1 MaxCrit=2 filter+generated=30m

Re: [Nagios-users] Does anyone have event log monitors that *work*?

2010-03-20 Thread C. Bensend
I just read your thread on the NSClient++ forum too. I have found that whenever I try to combine too many matches in one check it simply doesn't work right (can't remember the precise details). So I normally try to match on as few things as possible for each check even if that means I'm

Re: [Nagios-users] Does anyone have event log monitors that *work*?

2010-03-22 Thread C. Bensend
I just read your thread on the NSClient++ forum too. I have found that whenever I try to combine too many matches in one check it simply doesn't work right (can't remember the precise details). So I normally try to match on as few things as possible for each check even if that means I'm

Re: [Nagios-users] Does anyone have event log monitors that *work*?

2010-03-26 Thread C. Bensend
Likewise please ask again if you're still stuck. I don't mind having another bash at some of these issues when I have a minute. I just read your thread on the NSClient++ forum too. I have found that whenever I try to combine too many matches in one check it simply doesn't work right

Re: [Nagios-users] Expiration of passive check results

2010-03-30 Thread C. Bensend
- Is it possible in NAGIOS, to let the result of a passive check , 'expire' after a given time period ? (this could be used for errors, which are considered less important, and are being considered 'dead weight' for the time being). I mean if I a get a CRITICAL (passive) test

Re: [Nagios-users] state change question

2010-04-01 Thread C. Bensend
I'm trying to track down an issue and am not sure If I'm following what is happening correctly. We had a service go critical and start sending alerts. The service was then acknowledged so it would stop sending notifications. The problem with that service was then resolved by getting the

Re: [Nagios-users] Plugin to check file for string?

2010-04-06 Thread C. Bensend
Does anyone know of a nagios plugin that will grep a file for a string? I have a cronjob that logs output to a file and I basically want to grep for 'cronjob successful' in this file, alerting Critical if the string isn't found and OK if it is.

Re: [Nagios-users] service dependency - dependent from

2010-04-08 Thread C. Bensend
If I understand the documentation right it is just possible to add the services that are dependent _from_ a service in the servicedependency definition. I would need to define a service and add to that definition from which service it is dependent. As an example I would like to add on the

Re: [Nagios-users] service dependency - dependent from

2010-04-08 Thread C. Bensend
You mean like: # All services that depend on NSClient++ define servicedependency{ # Host the dependent service is running on dependent_host_name HOSTNAME # Service that is dependent on the service_description below dependent_service_description

Re: [Nagios-users] Setup Nagios on an HP-UX Server

2010-04-08 Thread C. Bensend
I had hoped someone could give me some direction here. I would appreciate any help in this matter! Please be patient, Paul... People do not check their mail 24x7, nor is everyone in the same time zone as yourself. :) Now, just to verify, you are intending to run the Nagios daemon *on* the

Re: [Nagios-users] Nagios 3 Include File Mechanism

2010-04-15 Thread C. Bensend
I have an awkward nagios 3 configuration setup where configs for monitored hosts are automatically generated from a database, but I also have need to add new hosts via a manual method in a separate configuration file. It looks like an include file mechanism would be needed in the main nagios

Re: [Nagios-users] [Nagios-devel] FW: Timeperiods and oncall rotation with UK Public holidays

2010-04-22 Thread C. Bensend
If you can find a way to do this, please let me know! My boss is wanting our Nagios installation to do this very thing, but I have yet to find a way to make this happen. If you're needing to have warnings sent via email and criticals sent via SMS (for example), it's not difficult. The

Re: [Nagios-users] MySQL 5 Replikation

2010-05-04 Thread C. Bensend
I have to set up a Master/Slave Replication in mySQL 5. Before i do this i want to have tools watching this replication. Unfortunately i haven´t found a Nagios plugin, which is checking more than something like the time the slave is behind. Is there something to check all data between the

Re: [Nagios-users] Parsing Logs

2010-05-05 Thread C. Bensend
However, it what you really want to know is if the entire mail flow is working, I'm a fan of having procmail look for trigger messages and send a passive check result to Nagios when it sees one. A cron job can be set up to send mail on a regular basis, and the check can then be configured

Re: [Nagios-users] trying to fix problem with excessive latency

2010-05-19 Thread C. Bensend
Try disabling enable_environment_macros. It helped use greatly when we disabled this option. Nagios was spending most of its time allocating memory for environment variables it never used. (in our case) Host/Service checks latency dropped from ~20 minutes to 10 seconds I would say. Doesn't

Re: [Nagios-users] trying to fix problem with excessive latency

2010-05-19 Thread C. Bensend
Doesn't this kill the use of said macros in notifications, etc? No. It just means you can't access the various macros as environment variables, like so: $NAGIOS_(macroname) They still get swapped in at the command line, so they're still totally useful for that particular purpose. Ah!

Re: [Nagios-users] Only 1 hostgroup access?

2010-05-21 Thread C. Bensend
Is it possible to give a user access to only one hostgroup? Someone told me that if authentication is enabled is to only show hosts and services to people who are contacts on those hosts and services. Would somebody please give me an example of this setting? When I check the cgi.cfg

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread C. Bensend
command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol00

Re: [Nagios-users] Returning CHECK_NRPE: Error - Could not complete SSL handshake' on Nagios server

2010-07-01 Thread C. Bensend
The strange this is I've configured 5 other solaris based remote hosts the same way with ssl for nrpe but works fine with the same centos based nagios server. Is your Nagios server in the 'allowed_hosts' option in the client's nrpe.cfg? Can you telnet from your Nagios server to port 5666 on

Re: [Nagios-users] Returning CHECK_NRPE: Error - Could not complete SSL handshake' on Nagios server

2010-07-01 Thread C. Bensend
Below is a successful telnet session from my centos nagios server to the solaris remote host. As requested in my nrpe.cfg file on the solaris remote host I have loop back ip address 127.0.0.1 for 'allowed_host' not the ip address of the centos nagios server, but before it was working fine...

Re: [Nagios-users] Running Nagios on Vmware

2010-07-08 Thread C. Bensend
Is anyone aware of documentation or test cases showing whether or not running Nagios on VMware is a good idea? I realize the common opinion is that it is a bad idea due to I/O but I am looking for something a bit more in depth. I would also be interested in seeing some more detailed

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread C. Bensend
I have tried running the check_by_ssh plugin from the command line with no success , specifying ports, protocol, user, etc ./check_by_ssh -H pbylinux7 -C '/usr/local/nagios/libexec/check_ssh' -2 -4 -p 22 Have you tried using the *IP* instead of the hostname? Depending on how you have your

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread C. Bensend
Thanks for the reply, yes I have tried it with both ip name with the same results. I assume that the command line check should work as I have written it here correct? /usr/local/nagios/libexec ./check_by_ssh -H 172.xx.xx.xx -C '/usr/local/nagios/libexec/check_users -w 5 -c 8' -l nagios

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread C. Bensend
I also tried this as well from the server , which does work ssh 172.xx.xx.xx /usr/local/nagios/libexec/check_users -w 5 -c 8 Authorized users only. USERS OK - 0 users currently logged in |users=0;5;8;0 This tells me that 1. ssh as Nagios works 2. the check_users script runs on

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread C. Bensend
If I remember, that line is in the sshd.config for the auth users banner. I should be able to comment it out to test it. Didn't think about that... I'll dial in when I get home try it.. If you're running a recent release of OpenSSH, you might be able to use a match directive to skip the

Re: [Nagios-users] Nagios plugin always returns 0 value

2010-07-16 Thread C. Bensend
I made a plugin that counts mails in particular postfix queues and when invoke from shell at remote host (mail server) it returns me valid values on stdout: ./check_postfixq.sh -w 3 -c 5 -p OK - total mails in queues: 10606 | mail in queues=10606;3;5;0 but when I invoke it

Re: [Nagios-users] Windows Print Queue Monitoring...

2010-07-22 Thread C. Bensend
Can anyone point me in the direction on some documentation, how to monitor print queues on a 2008 Window server. I have the NSClient++ installed on this box, I just need to know if I'm barking up the right tree :) A quick web search is not getting anything thats helpful There are a number of

Re: [Nagios-users] check_openmanage ignores blacklist directive

2010-08-10 Thread C. Bensend
Despite of giving it the parameter to ignore Warnings about the controller firmware, it still gives a Warning Status: /usr/lib/nagios/plugins/check_openmanage -b ctrl_fw -s -H 192.168.2.137 'ctrl_fw' isn't the complete option you need to give there - you also need to specify the ID per:

Re: [Nagios-users] Email echo monitoring

2010-08-14 Thread C. Bensend
yes please. I was going to write something similar but if you've already done the work.. C'mon, people, where did you look? http://exchange.nagios.org/directory/Plugins/Email-and-Groupware/check_email_delivery/details This package contains multiple plugins, that when they are all set up,

Re: [Nagios-users] Email echo monitoring

2010-08-14 Thread C. Bensend
Thanks for the reply, this saved me a lot of extra work. No worries... Configuration was a pain, but it works *very* well. It will alert when the message sent is not received, as well as when message delivery latency exceeds your thresholds. Very nice. NOTE: Make it a part of your scheduled

Re: [Nagios-users] [Nagios-devel] FW: Nagios - SunOS

2010-09-07 Thread C. Bensend
This is really a joke, right? The in-charge person in our team feel s afraid to upgrade the SunOS to higher versions, just because of lack of technical knowledge. I suggested on the upgrade, but the boss with that in-charge person. While I think we're getting considerably off-topic for

Re: [Nagios-users] Nagios plain files vs database storage

2010-09-15 Thread C. Bensend
if you are considering an install of ndoutils, make sure it's either a cvs + patched version of 1.4b9 or the old 1.4b7 which runs smooth. current 1.4b9 contains some severe bugs which haven't been fixed for a while now. Hm... I've been running b9 for a year now, and I haven't noticed

Re: [Nagios-users] Problem with custom plugin on a remote linux box

2010-09-17 Thread C. Bensend
**On the machine being monitored** I have the perl script I created in /usr/local/nagios/libexec/custom/ (its a modification of http://www.deimos.fr/gitweb/?p=nagios_plugins.git;a=blob;f=check_file_conten t/check_file_content.pl;h=ecf737389fd5a4360ee864eb55aca92056308445;hb=HEAD I have

Re: [Nagios-users] Acquiring data from a log

2010-09-20 Thread C. Bensend
I need to acquire data from a log, parse if and, if a particular condition is met, notify the problem, otherwise just have on nagios the condition. I.e. if number of record (parsed from log) exceeds 1000, trigger an email, otherwise just have on nagios web page Processed 123 records I

Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN!

2010-09-28 Thread C. Bensend
The check_command in the *host* definition, not the service definition. Is this a Windows 2008 FTP server? If so, Win2008 disables pings out of the box, and a custom rule must be added to the Windows Firewall to allow ICMP ECHOREQ. Or use a check_command that would indeed show the correct

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-23 Thread C. Bensend
You can also run, if memory serves, the nagiostats command located in your Nagios bin directory to see this information as well. I actually use that nagiostats data in a custom check and graph a lot of those latencies and other Nagios performance related info. Boy, would I *love* to see

Re: [Nagios-users] Scheduled checks falling far behind

2010-10-27 Thread C. Bensend
OK, well, I hope I'm not embarrassing myself with this. It's a perl script and uses Ton Voon's nifty Nagios::Plugins module. I run checks against things I want to know about. Thinking about it, I guess it would be nice to have the failed hosts/services check alert on percentage of

Re: [Nagios-users] host_port objects - Enhancement Request

2010-10-29 Thread C. Bensend
parent_service is actually a pretty good idea, I hadn't thought of that. I very, very much wish Nagios had the concept of parent_services (notice the plural, no reason not to give a parent service the same multi-parent capabilities as a regular parent host scenario). That way, you could get

Re: [Nagios-users] Change Procs Critical threshold

2010-11-05 Thread C. Bensend
I have a couple of systems that are reporting critical notifications, that when you drill into them, the Service : Total Processes has been triggered. Its showing critical process level of 231, 453, for example. Which on a production server is nothing really --- my question is, how do I

Re: [Nagios-users] check_openmanage -- question about battery check

2010-11-12 Thread C. Bensend
the problem i'm having is that the check is reporting battery charging WARNINGS even though I'm blacklisting that check. === r...@nagios:/opt/plugins# perl ./check_openmanage-3.6.1 -H server1 -C public -e -s -i -b bat_charge No, you're not... Not quite, anyway.

Re: [Nagios-users] Change Procs Critical threshold

2010-11-19 Thread C. Bensend
I had another question regarding adjusting these thresholds, this time on localhost. It regards the Current Load parameter, which is giving me a Critical Load average of -- 2.47, 3.43, and 4.06 in localhost.cfg, /usr/local/nagios/etc/objects/localhost.cfg, I have this define service{

Re: [Nagios-users] Change Procs Critical threshold

2010-11-22 Thread C. Bensend
From the help for check_load (which I'm assuming you're using in the command definition): Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 So, in your service definition, you're telling check_load that you want to trigger a critical condition if the 15 minute average

Re: [Nagios-users] high latency

2010-12-02 Thread C. Bensend
Yeah, for giggles I went back further through the archives last night and found stuff back to 2.x series, and not much has seemed to help. I killed some of my mis-behaving active checks, and that dropped to about 20 seconds, then went up to about 35-50. So while that's better, I have A LOT

Re: [Nagios-users] qpage - OT

2010-12-13 Thread C. Bensend
qpage error: 502 MESSAGE REJECTED - STX OR EOT EXPECTED It would have been nice to see your qpage.cf file... ;) Be sure you have 'parity=even' in your config. When you run a test with verbose and interactive flags set, do you fail five or six times before you get that message? Benny --

  1   2   >