Re: [Nagios-users] Distributed monitoring: central collector doesn't seem to be able to run active checks

2013-08-28 Thread C. Bensend
> On 8/28/13 14:43, C. Bensend wrote: >> Are you saying I just need gearmand running on the collector? > > Well, i assumed it. You are the only one which really can tell that. > You will need a worker on each host which should run checks. If your > collector should not ru

Re: [Nagios-users] Distributed monitoring: central collector doesn't seem to be able to run active checks

2013-08-28 Thread C. Bensend
> On 8/22/13 13:51, C. Bensend wrote: >> CRITICAL: Return code of 127 is out of bounds. Make sure the plugin >> youre trying to run actually exists. (worker: collector.domain.org) > > Hi, > > if this is the collector host, why does it have a mod-gearman worker > i

Re: [Nagios-users] Distributed monitoring: central collector doesn't seem to be able to run active checks

2013-08-28 Thread C. Bensend
> Do you get many of those error messages in the logs at once, or just > one at a time? > > Only one thought: what are the permissions on your $USER$ variables? > Nagios on my systems setuid() to nonroot after startup, and if it gets > SIGHUP to reload config, but can't read the file defining $USE

Re: [Nagios-users] Distributed monitoring: central collector doesn't seem to be able to run active checks

2013-08-28 Thread C. Bensend
>I'm continuing to iron out the wrinkles with 3.5.1 and distributed > monitoring. I'm using mod_gearman to submit and receive events from > two distributed pollers. > >Every now and again, I'll get something similar in the log on the > centralized collecting machine: > > CRITICAL: Return

[Nagios-users] Distributed monitoring: central collector doesn't seem to be able to run active checks

2013-08-22 Thread C. Bensend
Hey folks, I'm continuing to iron out the wrinkles with 3.5.1 and distributed monitoring. I'm using mod_gearman to submit and receive events from two distributed pollers. Every now and again, I'll get something similar in the log on the centralized collecting machine: CRITICAL: Return co

Re: [Nagios-users] Misplaced advice in the Nagios preflight check?

2013-06-11 Thread C. Bensend
Tue, Jun 11, 2013 at 9:52 PM, Justin T Pryzby > wrote: > >> On Tue, Jun 11, 2013 at 11:12:23AM -0500, C. Bensend wrote: >> > I can't seem to parse "It doesn't make sense to get a recovery >> > notification for something you never knew was a problem.&

Re: [Nagios-users] Misplaced advice in the Nagios preflight check?

2013-06-11 Thread C. Bensend
> see the original language here: > > http://nagios.sourceforge.net/docs/3_0/notifications.html > Note: Notifications about host or service recoveries are only sent out > if a notification was sent out for the original problem. It doesn't > make sense to get a recovery notification for something y

Re: [Nagios-users] Misplaced advice in the Nagios preflight check?

2013-06-11 Thread C. Bensend
ification for something you never knew was a problem. "Unknowns" are > not > considered problems in Nagios logic. > > > On Mon, Jun 10, 2013 at 1:25 PM, Chris Beattie > wrote: > >> On 6/7/2013 9:28 AM, C. Bensend wrote:> >> > Not real sure why Nagi

Re: [Nagios-users] Misplaced advice in the Nagios preflight check?

2013-06-10 Thread C. Bensend
> Have you tried giving that contact the extra options Nagios wants, and > then defining a service escalation for that contact with the > escalation_options directive set to u? No, I haven't. It *seems* to be working as I intend. My question is more as to why Nagios seems to think it's a bad id

[Nagios-users] Misplaced advice in the Nagios preflight check?

2013-06-07 Thread C. Bensend
7;cbensend-unknown-only' doesn't make any sense - specify critical and/or warning options as well Here's the contact I added that it seems to think is a dumb idea: define contact { contact_namecbensend-unknown-only alias C. Bens

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-31 Thread C. Bensend
nagios@server ~]$ /usr/bin/sudo /sbin/iptables -nvL | /bin/grep Cid | > /usr/bin/wc -l > 0 > [nagios@server ~]$ > [nagios@server ~]$ echo $? > 0 > [nagios@servef ~]$ > > Yes, Server = zurich > -Original Message- > From: C. Bensend [mailto:be...@ben

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-31 Thread C. Bensend
packets, 3436K bytes) > pkts bytes target prot opt in out source > destination > [nagios@server ~]$ I'm assuming "server" == "zurich", right? I wonder if you can cut out the first grep and awk, and just look for 'Cid' ? > -Ori

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-30 Thread C. Bensend
k_iptables.sh, > /usr/local/nagios/libexec/check_nrpe > > /var/log/secure: > > su: pam_unix(su:session): session opened for user nagios by root(uid=0) > su: pam_unix(su:session): session closed for user nagios > > > > -Original Message- > From: C. Bensend [m

[Nagios-users] Nagios-Users: please unsubscribe gch...@renegade.com

2013-05-29 Thread C. Bensend
Could one of the list admins unsubscribe gch...@renegade.com? Their email has been bouncing for a while now: Delivery has failed to these recipients or groups: gch...@renegade.com The e-mail address you entered couldn't be found. Please check the recipient's e-mail

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-29 Thread C. Bensend
Where's your sudoers definition that allows the nagios user to run any commands via sudo? And what does /var/log/secure (or equivalent) think about the nagios user trying to run sudo? > I have tested with nagios user as well.. still no luck with that. Could > you some one update if you have an

Re: [Nagios-users] Nagios v3.5.0 transitioning immediately to a HARD state upon host problem

2013-05-25 Thread C. Bensend
> diff -uNp nagios-updated.cfg nagios.cfg > --- nagios-updated.cfg Sat May 25 09:05:09 2013 > +++ nagios.cfg Sat May 25 09:02:37 2013 > @@ -981,9 +981,9 @@ translate_passive_host_checks=0 > > # PASSIVE HOST CHECKS ARE SOFT OPTION > # This determines whether or not Nagios will treat passive hos

Re: [Nagios-users] Nagios v3.5.0 transitioning immediately to a HARD state upon host problem

2013-05-25 Thread C. Bensend
> On 2013-05-23 17:43, C. Bensend wrote: >> >> Hey folks, >> >> I recently made two major changes to my Nagios environment: >> >> 1) I upgraded to v3.5.0. >> 2) I moved from a single server to two pollers sending passive >> results to

Re: [Nagios-users] Nagios v3.5.0 transitioning immediately to a HARD state upon host problem

2013-05-23 Thread C. Bensend
> I ran into a similar problem, because my template set the service to "* > is_volatile=1*". > > http://nagios.sourceforge.net/docs/3_0/volatileservices.html Hrmmm. Good point... However, is_volatile does not appear in any of my configuration files, for any of the Nagios servers. It isn't set

[Nagios-users] Nagios v3.5.0 transitioning immediately to a HARD state upon host problem

2013-05-23 Thread C. Bensend
Hey folks, I recently made two major changes to my Nagios environment: 1) I upgraded to v3.5.0. 2) I moved from a single server to two pollers sending passive results to one central console server. Now, this new distributed system was in place for several months while I tested, and it

Re: [Nagios-users] Not getting notifications when a service is in an UNKNOWN state

2013-05-23 Thread C. Bensend
> I am not sure what I'm doing wrong, I get notified when it's warning or > critical but not unknown... I can't figure out why. Any suggestions? > Below is the service check. > > define service{ > hostgroup_name hostgroup-win-2003,hostgroup-win-2008 > service_description Wind

Re: [Nagios-users] Help with CPU Check Thresholds

2013-03-26 Thread C. Bensend
> This is how I configured the service, my aim is to get an alert when > the CPU load ( uptime ) reaches 10% and a critical when there is a > 20% > > check_command check_nrpe!check_load!10,4,3!20,15,10 > flap_detection_enabled 0 > notifications_enabled

Re: [Nagios-users] check_nt - MEMORY USAGE - incorrect results

2013-01-10 Thread C. Bensend
Not entirely accurate. I just started troubleshooting a Win2008 R2 system yesterday - it has 16GB of physical RAM + 16 GB pagefile for a total of 32GB of virtual memory. The system is using 10.9GB of physical RAM, yet check_nt tells me it's using 2.69GB. Completely wrong, even if check_nt was o

Re: [Nagios-users] Inconsistency of Nagios

2013-01-03 Thread C. Bensend
> If I understand correctly, I should create some plugin to kill all > dependency process on a periodic interval. In my observation I did not see > multiple parent process. My recommendation was to write a plugin to *detect* multiple parents, not kill them. > Currently what I observe is whenever

Re: [Nagios-users] Inconsistency of Nagios

2013-01-03 Thread C. Bensend
I think you'll have to write one... check_procs is not helpful in this case, as the daemon forks off many processes to run plugins. Just checking for number of Nagios processes won't help, as it won't be aware of parent/child relationships. Now, mind you, I *do* run check_procs on my Nagios serv

Re: [Nagios-users] Weird Nagios Problem

2012-12-04 Thread C. Bensend
> I have been running Nagios for over a year with no issues. All of a > sudden, all of my current loads on my linux servers all go into warning > state at the same time, showing the exact same load, which then increments > every hour to critical. After a while (3 or 4 hours) they all come back

[Nagios-users] Distributed monitoring: v3.4.1 not translating host states like it should

2012-10-30 Thread C. Bensend
Hey folks, I am in the process of implementing a distributed monitoring architecture, and I'm having some problems with host state. Here are the specs: Nagios v3.4.1 RHEL 6.3 Using NSCA to send results to passive collector Yes, I have 'translate_passive_host_checks' set on the collector.

Re: [Nagios-users] Nagios Plugin Log Pattern Notification

2012-09-04 Thread C. Bensend
> http://labs.consol.de/lang/en/nagios/check_logfiles/ > > check_logfiles is one of the more powerful plugins. Couldn't agree more. The consol.de guys are great! Benny -- "Death rays, advanced technology or not, no creature wants to be stabbed in their hoo-hoo."-- Seen on zombiehunte

Re: [Nagios-users] Dynamic warning/critical thresholds

2012-07-10 Thread C. Bensend
>> You've already received two replies, both stating that you'll >> likely have to write some code to do it. I'm not aware of >> any common plugins out there that calculate rates of change and >> alert appropriately. Maybe they exist, but I don't recall >> seeing any of them. >> >> Have you trie

Re: [Nagios-users] Dynamic warning/critical thresholds

2012-07-10 Thread C. Bensend
> On 22/06/12 15:11, Jonathan Gazeley wrote: >> I've got a bunch of Nagios plugins that monitor things like >> DNS/HTTP/RADIUS hits per second. >> >> I've set what I believe to be sensible max/min warning thresholds but >> what I really want is dynamic thresholds. If some quantity suddenly >> doub

Re: [Nagios-users] check_logfiles

2012-07-08 Thread C. Bensend
> Here's the run of the command I am trying > > [db:~] root% /opt/nagios/libexec/check_logfiles > --logfile=/u01/app/oracle/admin/ecom/bdump/alert_ecom1.log --tag=oracle > --rotation=linux --criticalpattern='ORA-00600' --warningpattern='ORA-*' > OK - no errors or warnings|oracle_lines=0 oracle_w

Re: [Nagios-users] Dynamic warning/critical thresholds

2012-06-22 Thread C. Bensend
> I've got a bunch of Nagios plugins that monitor things like > DNS/HTTP/RADIUS hits per second. > > I've set what I believe to be sensible max/min warning thresholds but > what I really want is dynamic thresholds. If some quantity suddenly > doubles or halves, I'd like an alert. > > For example,

Re: [Nagios-users] check_procs returning wrong data

2012-06-19 Thread C. Bensend
> I finally got it working but it was not that easy. As I am using CentOS 5, > by default the requiretty value in the /etc/sudoers file is activated, so > I > had to edit it like this: > #Defaultsrequiretty > nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_procs > > And the command i

Re: [Nagios-users] High Service Check Latency

2012-05-22 Thread C. Bensend
> I've some broker modules to handle sql logging and distributed setup. I bet you're using NDOUtils. I wouldn't recommend that. I couldn't keep a Nagios server with under 6000 services limping along when NDOUtils was running. Eventually, the check latencies would go through the roof and the en

Re: [Nagios-users] does monitoring stop while nagios is flushing queued items?

2012-05-18 Thread C. Bensend
> My installation is centreon + nagios. > Sometimes I need to do maintenance on mysql so I stop ndo2db and let > nagios cache the result first. > And when I start ndo2db, nagios will start flushing the items. > I notice from the service perf data file, the data stops coming (or nagios > not pollin

Re: [Nagios-users] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread C. Bensend
> Nothing bad about using a VM, they just fall over horribly (generally > speaking) when you try to push the virtual machine's virtual CPU cores > and disk hard :p - kudos to you for making that work and pretty > interesting setup! > > Thanks for sharing. Happily, I haven't had the [dis]pleasure

Re: [Nagios-users] How many hosts and services are you monitoring with Nagios?

2012-05-17 Thread C. Bensend
> What kinds of numbers of hosts and services are you all monitoring? > Which add-ons / distributed frameworks are you using? At my ${CURRENT_JOB}, I'm monitoring around 600 hosts with just under 6000 services on a single VM running RHEL 5. I do process perfdata on the same node, and replicate a

Re: [Nagios-users] Querying nagios object information through command line

2012-05-16 Thread C. Bensend
> Is there a script or a module that can be called through a command line > and can retrieve nagios object definition , host , service? > > I am thinking of calling from php program. > > I found that config.cgi has an ability of fetching the object definition > but it seems that it returns html in

Re: [Nagios-users] nagios backup

2012-05-12 Thread C. Bensend
> Backup done successfully. All hosts are imported and being monitored, but > a > few things are not working, like SMS messages and mail messages. > > Does it need to be backed up from some directory? You need to examine your notification commands. You may have used some third party software to

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread C. Bensend
> I've narrowed it down to a stage where running the plugin directly > returns the right results, but running the plugin through check_nrpe on > localhost returns this: > > [jg4461@dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c > check_dhcpd_pools > OK - all pools less than 80% f

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread C. Bensend
> The plugin is being executed through NRPE. Executing the plugin by hand > seems to return valid perfdata: > > [jg4461@dhcp1 ~]$ /usr/lib64/nagios/plugins/check_dhcpd_pools > OK - all pools less than 80% full | 'resnet-wireless-652'=43.769%;80;90, > 'resnet-wireless-653'=47.923%;80;90, > 'resnet-

Re: [Nagios-users] 2 Nagios boxes running together in different locations

2012-05-09 Thread C. Bensend
> Interesting - How does it work though - I mean if the firewall plays up > at > Site A, it thinks everything in Site B is down - so Nagios GUI marks > everything as down - what happens then if say a server in Site B does > actually go down - we will not get alerted to that? That's correct. But

Re: [Nagios-users] 2 Nagios boxes running together in different locations

2012-05-09 Thread C. Bensend
> We have a bit of a tempermental firewall at the moment that keeps "going > down" thus resulting in everything appearing down to Nagios in Location A > and it alerting like a loonatic for all hosts/services (88/156) You could monitor the firewall, and configure it to be the parent of the hosts b

Re: [Nagios-users] notifications

2012-05-01 Thread C. Bensend
> I am using Nagios 3.3.1 > > I have got notifications by SMS working now > > Is there a way of defining what notifications go to email, what go to SMS > and what can go to both. > > I would like this to apply to escalations as well if possible I create two Nagios contacts for each person at my s

Re: [Nagios-users] use_large_installation_tweaks

2012-04-04 Thread C. Bensend
> Does anyone has configured it ? > > Is it really a good way to follow to reduce memory usage ? For me, it was a good way to reduce memory and CPU, and it helped with check latencies. Although, the absolute best way to reduce check latencies for me has been to dump NDOUtils. Good lord, that wa

Re: [Nagios-users] Building a reliable uptime monitoring model

2012-03-20 Thread C. Bensend
> So I was wondering how is everyone reliably checking and notifying the > intended audience of server reboots with high rate of success. I use check_logfiles from the Consol.de guys to watch for the actual event or log entry specifying a reboot. I don't count on the server being down long enoug

Re: [Nagios-users] Can someone at Nagios Enterprises please take a look at old.nagios.org?

2012-03-16 Thread C. Bensend
Nope, the actual list of commands linked at the bottom of that page. Benny > This one? > > http://nagios.sourceforge.net/docs/3_0/extcommands.html > > On Fri, Mar 16, 2012 at 7:40 PM, C. Bensend wrote: > >> >> I've been trying to get to the external comm

[Nagios-users] Can someone at Nagios Enterprises please take a look at old.nagios.org?

2012-03-16 Thread C. Bensend
I've been trying to get to the external commands reference for several hours, keep getting "Error connecting to MySQL server"... Thanks! Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln

[Nagios-users] Performance data not being written to file with 3.3.1

2012-03-05 Thread C. Bensend
Hey folks, So, I have the following setup after some re-architecting this past weekend: * Primary Nagios server running 3.2.3 * Secondary Nagios server running 3.3.1, receiving all check results via NSCA Everything should be identical between the primary and secondary servers, other tha

Re: [Nagios-users] Disk I/O monitoring in Nagios

2012-03-02 Thread C. Bensend
> Would like to ask how to add Disk I/O monitoring on Nagios? We are using > NSClient++ agent. Do we still have to use specific "check_io" or > something like that to monitor it? > > If there is a documentation, we would be glad to look into it. I use the CheckCounter functionality built in to NS

Re: [Nagios-users] Nagios 3.2.3 -> 3.3.1 upgrade path

2012-03-02 Thread C. Bensend
>> I just want to make sure my 3.2.3 system and my 3.3.1 system >> will be able to talk. :) >> > > They will, so no worries there. Fantastic. Thanks, Andreas! Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln

[Nagios-users] Nagios 3.2.3 -> 3.3.1 upgrade path

2012-03-01 Thread C. Bensend
Hey folks, I'm planning a migration to 3.3.1, and I had a quick question for those of you that have done it. I have a manual failover setup, with one monitoring node that sends all results to another warm standby system via NSCA. If I rebuild one system to 3.3.1 and the active monitoring

Re: [Nagios-users] NRPE allowed_hosts directive

2012-02-29 Thread C. Bensend
> tried putting the IP addresses of all the hosts in the network. However, > when I assign this variable to all the IP addresses (which is very long), U... Just how many Nagios servers do you HAVE? That configuration option is to list the Nagios servers that will be polling your NRPE daemon

Re: [Nagios-users] Monitoring log files of oracle DB on windows server using nagios

2012-02-27 Thread C. Bensend
> Need the best solution to monitor log files of the DB server actually > oracle DB log files on windows server. Please suggest what can be the best > way to achieve this. check_logfiles from the Consol.de guys is your friend. It even groks the Oracle log file formats. Benny -- "The problem

Re: [Nagios-users] Eventlog monitoring through NSClient++

2012-02-24 Thread C. Bensend
> We actually use check_logfiles with NSClient so haven't seen this, and we > have tons of rules. Might be worth looking at. Not that anything is > wrong with NSClient :) just check_logfiles also has more regex and > options. +1 The consol.de guys are awesome, and check_logfiles is another ex

Re: [Nagios-users] monitoring dhcp

2012-01-24 Thread C. Bensend
> I don't think you'll have much trouble getting this via SNMP. It is > defined in the MIB on a per-scope basis, suggest you go a snmpwalk on > the OID I gave earlier and see what you get. > > MIB excerpt: > >scopeTable OBJECT-TYPE >SYNTAX SEQUENCE OF ScopeTableEntry >

Re: [Nagios-users] monitoring dhcp

2012-01-24 Thread C. Bensend
> We've a Windows 2008 server with DHCP role. There is an option to display > the statics of the scope. > Total Addresses .. > In Use .. % > Available ..% > > Is it possible to gt these information available in Nagios. I haven't had much luck with this. Microsoft doesn't expose hardly any of thi

Re: [Nagios-users] GSM gateway - virtualization ...

2012-01-18 Thread C. Bensend
> I'm running Nagios on OpenSUSE. OpenSUSE is a virtual machine under the > Windows 2008 HYPER-V. I'd like to send SMS messages instead of e-mails, > because mails can't be delivered in case the SMTP server is down. I > don't know any specific hardware for GSM gateway and I have no idea how > to

Re: [Nagios-users] Scheduled downtime for mass hosts?

2012-01-12 Thread C. Bensend
> Ah Benny, I didn't know you could schedule maintenance for each individual > host group > > I have my 86 hosts arranged into 4 hostgroups so I will just do this. > > 4 clicks and job done, thought I was in for the long haul by clicking all > 86 hosts 1 by 1. > > Thanks, you have saved me a l

Re: [Nagios-users] Scheduled downtime for mass hosts?

2012-01-12 Thread C. Bensend
> Tonight I will be forming maintenance on over 50 of my servers and will be > taking firewall and routing links out. > > I have 86 hosts that this will affect. > > Im going to put them into scheduled downtime in Nagios. > > I have my hosts divided into hostgroups. > > Is there a quick way to sche

Re: [Nagios-users] Changing the version of nagios that appears in the e-mail notifications

2011-11-30 Thread C. Bensend
> I would like to change the version that is displayed to reflect that of > the > release that is currently on the server. What file(s) do I > need to modify in order to accomplish this? Your email notifications are just another command, so you need to update the definition of that command. It m

Re: [Nagios-users] Check

2011-10-06 Thread C. Bensend
> It works fine, but I prefer to use an other method, most lighter than the > check_by_ssh. > Do you know an other way to do that, via SNMP for exemple. I run NRPE on my Linux systems... It is much lighter than using check_by_ssh. Benny -- "Open your door, or I open your wall."

Re: [Nagios-users] Suggestions for checking DHCP Scopes

2011-09-23 Thread C. Bensend
> Does anyone have any suggestions for checking DHCP scopes on Windows > servers. I saw one util on Nagios Exchange that uses a vbs script but I > have no idea how I would set that up. Define "checking DHCP scopes"? Do you need to make sure DHCP is running? Do you need to make sure DHCP clients

Re: [Nagios-users] muti-sessions in Nagios

2011-08-05 Thread C. Bensend
> is there a possbility to ceate multi-sessions in nagios > > my aim is create many sessions for administrator and i want that an > administrator (central) look all the maps but the ohter look just thare > maps > > for example : > > admin central : in site 0 : supervise all sites > admin Nubmer1:

Re: [Nagios-users] Nagios force host/service check

2011-07-12 Thread C. Bensend
> Thanks for the response. Below are entries that are made in > ssl_access_log: > > When I click on "Re-schedule the next check of this service", it creates > the following entry: > > 139.222.121.213 - xca10...@uea.ac.uk [12/Jul/2011:11:03:10 +0100] "GET > /nagios/cgi-bin/cmd.cgi?cmd_typ=7&host=cn

Re: [Nagios-users] Nagios force host/service check

2011-07-07 Thread C. Bensend
> Does anyone know the HTTP(S)-GET command to force check a host/service? I > would like a host to execute the HTTP(S)-GET command to force Nagios to > check the status as it is booting up. > > Any help will be greatly appreciated. Thanks in advance. Watch your http access log, and execute the sa

Re: [Nagios-users] Nagios Issue of not detecting down/up status of server and delay of mails notifications

2011-06-17 Thread C. Bensend
> Is this a valid issue with nagios or is there any way to scale it up. How > can a network/sever admin can believe on it if this works like this. This is a configuration issue... I monitor some 700 hosts and 6000+ services on a single host and my notifications go out instantly (once max_check_a

Re: [Nagios-users] How to monitor specific windows services using nsclient++

2011-06-08 Thread C. Bensend
> Thanks Benny,..but still i couldn't understand is check_nrpe is used for > monitoring windows servers because what i know it's for monitoring remote > linux servers only.. If yes do i need to install check_nrpe on my Nagios > Server.. > > Also i am already monitoring these basic things but i wan

Re: [Nagios-users] How to monitor specific windows services using nsclient++

2011-06-08 Thread C. Bensend
> Actually i want to monitor specific windows services using nagios and > nsclient++ agent installed on Windows servers... OK. $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c CheckServiceState -a ShowAll "$ARG1$"="$ARG2$" Then, in your Nagios service command definition, call that command with two

Re: [Nagios-users] Getting Started with Nagios

2011-05-30 Thread C. Bensend
> I then restart the web server, expecting to see a new host inf1 > > But the host count has not increased and I can't see any reference to the > host. I also can not see the new host group I defined. > > So obviously I am missing something fundamental. > > Thanks for any incite you care to share

Re: [Nagios-users] Services are dependent on the host they run on?

2011-05-27 Thread C. Bensend
> Yesterday for instance, a host went down because of a hd controller > failure, and I received 22 sms.. I apologize if this has already been stated, I haven't been following this thread too closely. When this happened, was the host down *in a network sense*, or was it just down in a user sense?

Re: [Nagios-users] Default Acknowledge Behavior

2011-05-13 Thread C. Bensend
> Can the default behavior for acknowledging an event be changed. As in can > the default be changed from the "Sticky Acknowedgement" being always > checked, to always unchecked? > > I have read a post on the internet that this is hard coded and you would > have to change the source and recompile

Re: [Nagios-users] pnp4nagios?

2011-04-14 Thread C. Bensend
> I've configured pnp and it has been successfully graphing data since the > actual installation. However, I have nagios perfdata logs from the past > year (host_perfdata.log, service_perfdata.log) that are not being parsed > that I want to be included. ... > Is there a certain method, configura

Re: [Nagios-users] pnp4nagios?

2011-04-14 Thread C. Bensend
> Anyone here using pnp4nagios for graphing? I'm having some configuration > issues and wanted to see if there was someone who could assist? Sure, I know several of us use it. What issues are you having? Benny -- "Hairy ape nads."-- Colleen, playing Neverwinter Nights

Re: [Nagios-users] Why is check_openmanage so slow on PowerEdge R510?

2011-04-14 Thread C. Bensend
> Unfortunately OMSA has no info on when the charge cycle is expected to > be finished, or how long it has been in its current learn/charge state: > > # omreport storage battery controller=1 > Battery 0 on Controller PERC 6/E Adapter (Slot 1) > > Controller PERC 6/E Adapter (Slot 1) > ID

Re: [Nagios-users] Why is check_openmanage so slow on PowerEdge R510?

2011-04-14 Thread C. Bensend
> At one time we had a battery that didn't finish charging for a week, > called Dell and got a replacement battery. This was during a regular > charge cycle. In your case I would give it a few more days. ... > But, as we in fact did experience a case where the battery never > finished charging I

Re: [Nagios-users] Web Hostgroups View / Screen ... hostgroups missing ...

2011-03-23 Thread C. Bensend
> I have a User defined that, when I login, and click on Host Groups, only > one of the two hostgroups for which he is a member gets listed … Although > all of the hosts are listed if I go into the Hosts section … > > For example, if I go under Hosts -> HostA, it shows 'Member of GroupA, > GroupB'

Re: [Nagios-users] NSClient++. Monitoring the devices behind the Firewall.

2011-03-15 Thread C. Bensend
> If you're looking to do this without cooperation from the client > and their security folks, you're going to run into problems. If > they want you to monitor their hosts, they have to provide some > manner of accessing them. Just to be thorough, passive monitoring is also a possibility. In tha

Re: [Nagios-users] NSClient++. Monitoring the devices behind the Firewall.

2011-03-15 Thread C. Bensend
> The question I have is the same of already reported in the link > http://nsclient.com/nscp/discussion/topic/466#-1. The diagram and scenario > is the same reported in the link > http://nsclient.com/nscp/wiki/doc/usage/nagios/nrpe but with a second > remote > Firewall. > > Basically, I know how t

Re: [Nagios-users] Verifying the email delivery completion

2011-03-13 Thread C. Bensend
> I had been successfuly using check_smtp to verify the SMTP service. > Few days ago, one of our SMTP servers was still listening on 25 but > messages > where all rejected with a 451 error. (451 mail server temporarily rejected > message (#4.3.0)) > Is there any way to verify the email delivery co

Re: [Nagios-users] A question on nagios group nagcmd

2011-03-10 Thread C. Bensend
> My question is, the docs say to create the group nagcmd and add nagios & > wwwrun to the group in order to allow external commands to be submitted > thru the web interface. > > What external commands are we talking about here? Are we talking about > the service commands from the check screen (

Re: [Nagios-users] Fwd: Availability Report

2011-03-10 Thread C. Bensend
> Its ignoring my timeperiod and generating availability record. I want > to generate availability for timeperiod 06:00 to 22:00 so i created the > below timeperiod > > define timeperiod { > timeperiod_name 16x7 > alias For avialability report > sunday 06:00-2

Re: [Nagios-users] Fwd: Availability Report

2011-03-10 Thread C. Bensend
> I am > selecting custom time period only but the availability report is not > taking the Report time period option it always go for 00:00 to > 24:00. Ah, yes, I see that in your original message, sorry. H, I don't use the custom reporting... Is it just *displaying* the 00:00 - 24:00 time

Re: [Nagios-users] Availability Report

2011-03-10 Thread C. Bensend
> I need to generate availability for a service in a > particular timeperiod. I have created one timeperiod in nagios from > 06:00 to 22:00 every day. While creating availability report in report > time period i am selecting that timeperiod but the report always > generating from 00:00 to 24:00. C

Re: [Nagios-users] Ho to Deploy massively Nagios on more than 200 Windows servers?

2011-03-04 Thread C. Bensend
> Hi Gurus,I have to deploy Nagios plugins on more than 200 Windows > servers. > Configuration: Nagios Server runs Nagios3.06 on linux Centos 5.5.So i > would like to know how to do it massively instead of server by server > ?Thanks for your help. The same way as you deploy any other software t

Re: [Nagios-users] Error in performance-data-output

2011-03-02 Thread C. Bensend
> Could it be that this is a Windows issue, or perhaps NSClient++? > > Any NSClient++ users here who can confirm if this is the case? I'm > thinking that perhaps the underscore character '_' is throwing off > Windows or NSClient++. I use NSClient on hundreds of hosts, and I haven't noticed any is

Re: [Nagios-users] check_hpasm and check_openmanage over nrpe in windows

2011-02-25 Thread C. Bensend
> I have encountered an issue with wanting to monitor HP and Dell servers > running windows OS . > The main issue is that due to security issue we can not use the > NSClient++ internal functionality , but use the NRPE module option . > I have not used the nrpe on windows boxes extensively before a

Re: [Nagios-users] Which GUI to configure Nagios 3 ?

2011-02-24 Thread C. Bensend
> I know that there are nice GUI to configure Nagios…which one do you > know/use > ? I'm a big, big fan of NConf. Benny -- "Hairy ape nads."-- Colleen, playing Neverwinter Nights -- Free Software Download:

Re: [Nagios-users] Hostgroups: if not contact for one host, none are available

2011-02-17 Thread C. Bensend
> this isn't a bug. > by reviewing the source codes, you can find that Nagios(more > precisely, the CGIs) just do this way. > i have no clue why Nagios won't show "partial" hostgroups if one has > no access to all host members. > maybe for performance issue? If this behavior is intention, I'd lov

[Nagios-users] Hostgroups: if not contact for one host, none are available

2011-02-16 Thread C. Bensend
Hey folks, This has bitten me a few times now, so I figured I'd better report it... If I have hostgroup "bob": host1 host2 host3 host4 host5 and contact "frank" is a contact for hosts 1, 2, 3, and 4 (but NOT 5), frank will not be able to view the *hostgroup*. It gives the usual "It appe

Re: [Nagios-users] Monitoring unmounted partition

2011-02-08 Thread C. Bensend
> Im having a problem with check_nrpe. Im monitoring a partition > /mnt/2 f.e. If i dont have this partition mounted, it just > returns the value of "/" witout sending any error. > > How can i get an alert when the partition isn`t mounted. Oooof, plain text, please. I d

Re: [Nagios-users] monitoring Windows 2008 event log?

2011-02-04 Thread C. Bensend
> forgive my ignorance, but nsclient can check the event log? > > I wouldn't blame Steve, I think he had a baby not so long ago NSClient++ can, yes. *shrug* This was like a year ago or so... If he's busy, that's fine and understandable. Just *say* so, don't just ignore your users, especially

Re: [Nagios-users] monitoring Windows 2008 event log?

2011-02-04 Thread C. Bensend
> Anybody know a good way to monitor Windows 2008 event logs? > > Steve Shipway's beta NagEventLog for win2k8 to run on my server > > http://www.steveshipway.org/software/nagevlog-setup-1.9.2.exe > > Any ideas would be most appreciated I found NagEventLog to be unreliable, and Steve stopped answe

Re: [Nagios-users] Monitoring temperatures on Cisco equipment

2011-01-27 Thread C. Bensend
> I think you misunderstand. Those two plugins return WARNING or CRITICAL > if > one of the two things occur: > > 1) If the ciscoEnvMonTemperatureState is not "normal". > 2) If the passed -w and -c values are less > than ciscoEnvMonTemperatureStatusValue. > > What I'm asking is why #2 is _require

Re: [Nagios-users] Writing nrpe commands

2011-01-24 Thread C. Bensend
> I'm in need of using nrpe to get information from log files, and > I'm stumped on where to find guidance on doing so. Any pointers to the > right information or the right place to ask (if this isn't it)? I would take a look at the sample nrpe.cfg that comes with NRPE for examples of comman

Re: [Nagios-users] Problem with check_openmanage

2011-01-24 Thread C. Bensend
> $ check_openmanage -H myserver -C public > Power Supply 0 [AC] needs attention: Presence detected, Failure detected, > AC lost You have a power supply #0, it is plugged in, but it has no AC input. Someone tripped over a cable. > Voltage sensor 14 [PS 2 Voltage 2] is > INTERNAL ERROR: Use of u

Re: [Nagios-users] qpage - OT

2010-12-16 Thread C. Bensend
>>It would have been nice to see your qpage.cf file... ;) > That seems obvious, see below > >>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? > > I've never tried the interac

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 -

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

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 m

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{

  1   2   3   >