Re: [Nagios-users] Plugin exists?

2012-12-21 Thread David Rosenstrauch
On 12/21/2012 09:50 AM, RichTea wrote: Hi, I wrote something similar to this a while back, it looks at data pairs in a text file eg DataName:DataValue. It should not be to hard to make it work with csv, you will have to ignore the shoddy coding though!

[Nagios-users] Plugin exists?

2012-12-20 Thread David Rosenstrauch
Hi just wondering if anyone might know of a plugin that does what I'm looking for. The idea is that it would work similar to check_mysql_query, in that it checks the numeric value return by a query against warning and critical threshold values. But instead of querying mysql, it would just cat

Re: [Nagios-users] java / websphere monitoring

2011-06-28 Thread David Rosenstrauch
On 06/28/2011 08:11 AM, Daniel Wittenberg wrote: I've been playing with jolokia/jmx4perl for doing java monitoring and it's proving painful on websphere so curious what others are doing for java and/or websphere monitoring? Thanks! Dan check_jmx http://code.google.com/p/jmxquery/ DR

[Nagios-users] Best practices for running Nagios across multiple data centers

2011-06-22 Thread David Rosenstrauch
I've had a lot of experience using Nagios in my previous job, where we used it to monitor numerous hosts and many different types of services - albeit all in the same data center. In my new job, however, I need to set up more sophisticated monitoring, since we have servers located in multiple

Re: [Nagios-users] problem with check_url

2009-10-29 Thread David Rosenstrauch
On 10/27/2009 03:58 PM, Eddy Ruiz Azcuy wrote: Hi everyone, here's the problem, I have installed a monitoring server running nagios3 in my company and we must monitor a webpage since the clients work with it 24x7,but once I've downloaded the check_url.pl Perl-written Nagios plugin and I have

Re: [Nagios-users] Adding a link to error messages

2009-10-08 Thread David Rosenstrauch
On 10/07/2009 03:28 PM, Greg Lindstrom wrote: Hello, I'm running Nagios on a Gentoo system and would like to know if I can add a link to my custom monitors so users could click to our department wiki for a description of the problem as well as how to resolve them. That is, I'd like

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-09 Thread David Rosenstrauch
On 09/08/2009 08:42 PM, Janet Sullivan wrote: One way to do this is use the custom host and service variables that Nagios 3.x provides in it's configuration DSL. We use this extensively. http://nagios.sourceforge.net/docs/3_0/customobjectvars.html If you use custom host variables in your

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread David Rosenstrauch
On 09/08/2009 07:41 AM, Jelle Smet wrote: One way to do this is use the custom host and service variables that Nagios 3.x provides in it's configuration DSL. We use this extensively. http://nagios.sourceforge.net/docs/3_0/customobjectvars.html If you use custom host variables in your

Re: [Nagios-users] Quick and easy way to monitor Nagios itself?

2009-09-04 Thread David Rosenstrauch
On 09/04/2009 02:50 PM, Jonathan Call wrote: Since I have a large Nagios distributed system the possibility of a Nagios process going AWOL on one of my many servers is a serious concern. Has anyone come up with a sure way to confirm (i.e. a cron job) that Nagios is processing checks properly?

Re: [Nagios-users] Why are there commands?

2009-08-28 Thread David Rosenstrauch
On 08/28/2009 01:18 PM, David Dyer-Bennet wrote: I don't really understand the purpose / utility of the command level of abstraction in Nagios configuration. (2.10; we're still on Centos 4.7). To define a new service to check particular Windows web services we've written, I define a

Re: [Nagios-users] Nagios Startup Failure

2009-08-27 Thread David Rosenstrauch
On 08/27/2009 10:27 AM, VINCENT BOB-DMHG67 wrote: Hi, I am having a strange problem with my Nagios installation. Nagios has been running for about two years on our site. It was updated to 3.0.6 in January of this year. We just discovered that it stopped running and monitoring our

Re: [Nagios-users] Understanding Check Load

2009-08-20 Thread David Rosenstrauch
On 08/20/2009 12:33 PM, cr...@hooters-uk.com wrote: Hi Group, I hope you can give me a better understanding of the check_load command as I'm unsure what my settings should be aligned to, if you take a look at the below command line I get Warning and Critical alerts all the time and I'm not

Re: [Nagios-users] Understanding Check Load

2009-08-20 Thread David Rosenstrauch
On 08/20/2009 12:33 PM, cr...@hooters-uk.com wrote: Hi Group, I hope you can give me a better understanding of the check_load command as I'm unsure what my settings should be aligned to, if you take a look at the below command line I get Warning and Critical alerts all the time and I'm not

Re: [Nagios-users] http_check passwords

2009-08-18 Thread David Rosenstrauch
On 08/18/2009 09:06 AM, Marc Powell wrote: On Aug 18, 2009, at 7:16 AM, Alex Huth wrote: Hi! I have to implement websites, which have basic auth (develepmont testing stges) Even when they are only for dev and testing, i don' like to put the password cleartext in the service.cfg to

Re: [Nagios-users] searching howto use snmp

2009-08-17 Thread David Rosenstrauch
On 08/14/2009 03:26 PM, irado furioso com tudo wrote: hi, all I found (google) lots of crypt information on how to query remote hosts about disk usage but none I can understand :( also, there are no search engine for previouos posts on the subject in older lists, so: can anyone point

Re: [Nagios-users] HTML e-mail plugin

2009-08-14 Thread David Rosenstrauch
On 08/13/2009 06:40 PM, Marc Powell wrote: We have a need to embed HTML links into Nagios service alert messages, and it looks like this plugin might handle that. Just to take a different tack... How are they special in that you can't just include them in the default notifications? If

Re: [Nagios-users] Check_dns Error

2009-08-12 Thread David Rosenstrauch
On 08/12/2009 05:01 PM, Dei Bertine wrote: Hi All, I got this error today but wasnt sure on what is this about. No changes again were made, it just decided to appear out of no where... DNS CRITICAL - '/usr/bin/nslookup -sil' msg parsing exited with no address Please kindly advise...

Re: [Nagios-users] NDOUtils mysql question?

2009-08-07 Thread David Rosenstrauch
On 08/07/2009 03:03 PM, Andrew Davis wrote: Our Nagios server also has Cacti on it. I'm pretty sure that Cacti uses an InnoDB database, while NDOUtils uses myISAM. The two are backed up differently (example: mysqlhotcopy doesn't working on InnoDB databases). Does anyone know what mysql

Re: [Nagios-users] recognizing string from HTTP checks?

2009-07-17 Thread David Rosenstrauch
Ray Kiddy wrote: Why is this not recognizing that www.domain2.com is not returning the string I want it to return? Even if the domain is being redirected, it is being redirected wrong. At no point is that URL returning the string I want it to see. So, www.domain2.com should be red.

Re: [Nagios-users] Dynamically generated service checks

2009-07-16 Thread David Rosenstrauch
Marc Powell wrote: On Jul 15, 2009, at 11:13 AM, David Rosenstrauch wrote: IMO, the ideal solution here would be if I could just submit passive check results for services that aren't explicitly configured in Nagios. But alas, that's not allowed and it fails with messages like Warning

Re: [Nagios-users] Dynamically generated service checks

2009-07-15 Thread David Rosenstrauch
Matthew Jurgens wrote: I do a similar thing where I dynamically change the service check definitions configured into Nagios. You've almost got to this solution but say and couldn't just . Not sure why you say that but I'll briefly cover what I did. You will need some programming/scripting.

Re: [Nagios-users] Dynamically generated service checks

2009-07-15 Thread David Rosenstrauch
Marc Powell wrote: On Jul 15, 2009, at 10:19 AM, David Rosenstrauch wrote: Matthew Jurgens wrote: 2) If I understand correctly, Nagios loads its config files at startup time and does not re-read them after that. So if I'm regenerating a config file, then that means I'd need to restart

Re: [Nagios-users] Monitoring disk usage

2009-07-14 Thread David Rosenstrauch
Juki wrote: Hello, I have installed nrpe v2.11 on a monitored host running Solaris 10. An excerpt from nrpe.cfg on the monitored host is as follows; *command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / command[check_disk]=/usr/local/nagios/libexec/check_disk -w

Re: [Nagios-users] service definitions use

2009-07-14 Thread David Rosenstrauch
Natalie Aloi wrote: does anyone have any documentation about the USE parameter listed below - I have been unable to locate this option in the nagios documentation define service{ name sensor-service use generic-service check_period 24x7 max_check_attempts 4 normal_check_interval 5

Re: [Nagios-users] check ping explanation required

2009-07-14 Thread David Rosenstrauch
shadih rahman wrote: Nagios uses check_ping for the host check of most hosts. The check is configured to send only one ping. So if Nagios receives a response, it is 0% packet loss. If no response, it is 100% packet loss. How is it possible for

Re: [Nagios-users] check ping explanation required

2009-07-14 Thread David Rosenstrauch
shadih rahman wrote: David, Thanks for your reply. I am ensuring one icmp packet by using -p option in my command definition. Please advise on this. Thanks On Tue, Jul 14, 2009 at 2:40 PM, David Rosenstrauch dar...@darose.netwrote: The plugin issues 5 pings by default: $USER1

[Nagios-users] Dynamically generated service checks

2009-07-14 Thread David Rosenstrauch
Scratching my head as to how it might be possible to accomplish a monitoring task I need to do: We have a database table of tags. For each tag we have a process that generates a Javascript file and pushes it out to a CDN. I've successfully created a service check to monitor that the process

Re: [Nagios-users] Nagios plugin for monitoring files in a directory?

2009-07-13 Thread David Rosenstrauch
Israel Brewster wrote: How about using check_file_age on the directory itself? I think the timestamp of the directory is updated whenever a new file is added. Or are there other processes going in in the directory, such as deletions or modifications, that might make this value unreliable?

[Nagios-users] Nagios plugin for monitoring files in a directory?

2009-07-10 Thread David Rosenstrauch
Just wondering if anyone might have some pointers on a monitoring puzzle I've run into. We have a couple of automated processes - one of them an automated FTP upload, the other an automated log file gatherer - which wind up causing essentially the same result: new files regularly getting

Re: [Nagios-users] notification command errors

2009-07-10 Thread David Rosenstrauch
Natalie Aloi wrote: I am getting this error: But I don't know where or how to define the service notification or host notification - any body know where to point me? Checking contacts... Error: Service notification command 'notify-by-email' specified for contact 'grover' is not defined

Re: [Nagios-users] shoot not sure what is happening - cant start nagios (account unavailable)

2009-07-10 Thread David Rosenstrauch
Natalie Aloi wrote: All I had a sample version (out of the box) of nagios running, I made my config changes with my devices, etc, verified configuration...now nagios won't start! Here is my output any ideas? [na...@dns bin]$ sudo service nagios restart [sudo] password for root: Running

Re: [Nagios-users] monitoring unreachable hosts

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

Re: [Nagios-users] monitoring unreachable hosts

2009-07-08 Thread David Rosenstrauch
Frost, Mark {PBG} wrote: -Original Message- From: David Rosenstrauch [mailto:dar...@darose.net] Sent: Wednesday, July 08, 2009 12:39 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] monitoring unreachable hosts Frost, Mark {PBG} wrote: This topic

Re: [Nagios-users] a special http check

2009-07-07 Thread David Rosenstrauch
shadih rahman wrote: All, I need to do a special kind of http check to see if our authentication service is working or not. These are the sequence of event need to take place. I need to hit the url https://myserver.com/login then I need do additional query service=myservice then I

Re: [Nagios-users] Event Handlers, start a java program, nohup issues.

2009-07-02 Thread David Rosenstrauch
Perhaps instead of using a java daemon to do JMX queries, you could use the check_jmx nagios plugin. (Available at the monitoring exchange site.) I've been using it in our Nagios system, and it's been working nicely (after some enhancements). I'm in the process of adopting and enhancing the

Re: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9?

2009-06-30 Thread David Rosenstrauch
Natalie Aloi wrote: Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest rpm thanks! Natalie If you use the rpmforge repositories and install it from there, it'll give you v3.0.6. How to configure