Re: [Nagios-users] Return code of 142 is out of bounds

2009-06-19 Thread victory
I am using the snmp commands. The following are a coupld of examples: check_snmp_ntpstat -H $HOSTNAME$ -C COMMUNITY_NAME check_snmp_disk -H $HOSTNAME$ -C COMMUNITY_NAME I have seen the faqs mentioned by you and it says the same thing as mentioned by you. But interestingly, error "Return code of 1

Re: [Nagios-users] Best Way to Catch Windows Reboots in Nagios with NSClient++

2009-06-19 Thread Anthony Montibello
The threshold testing of Uptime should be can be done by modifying check_nt check_nc_net has this already included in it, and is compatible as a replacement for check_nt.c it is availible at: https://sourceforge.net/projects/nc-net/ TOny (Author of NC_Net) Change the Case Uptime to something lik

Re: [Nagios-users] How often does Nagios need restarting? (Quis custodiet ipsos custodes?)

2009-06-19 Thread Marc Powell
On Jun 19, 2009, at 4:35 PM, Kustner, Tom wrote: > I am a Nagios user, not the administrator. We are running Nagios > 2.9 on > RHEL 4 or 5. Overall, 200+ hosts with 3000 services being > monitored. I > have access for monitoring a smaller number of hosts. > > In another posting, I alluded t

Re: [Nagios-users] "Last check" info seems stale (Nagios 2.9)

2009-06-19 Thread Marc Powell
On Jun 19, 2009, at 4:33 PM, Kustner, Tom wrote: > I am a Nagios user, not the administrator. We are running Nagios > 2.9 on RHEL 4 or 5. Overall, 200+ hosts with 3000 services being > monitored, but I have access for monitoring a smaller number of hosts. > > In looking last week into an is

Re: [Nagios-users] How often does Nagios need restarting? (Quiscustodiet ipsos custodes?)

2009-06-19 Thread James Pratt
Hi Tom, I've tried to answer your questions to the best of my own personal knowledge -I have replaced any of your original "*" symbols with my own on all my comments/thoughts below, since my MS outlook client apparently just sucks, so this appears more readable. Regards, jamie -Original Mess

[Nagios-users] How often does Nagios need restarting? (Quis custodiet ipsos custodes?)

2009-06-19 Thread Kustner, Tom
I am a Nagios user, not the administrator. We are running Nagios 2.9 on RHEL 4 or 5. Overall, 200+ hosts with 3000 services being monitored. I have access for monitoring a smaller number of hosts. In another posting, I alluded to an issue where a host had gone down but no alert was sent out. T

[Nagios-users] "Last check" info seems stale (Nagios 2.9)

2009-06-19 Thread Kustner, Tom
I am a Nagios user, not the administrator.  We are running Nagios 2.9 on RHEL 4 or 5.  Overall, 200+ hosts with 3000 services being monitored, but I have access for monitoring a smaller number of hosts. In looking last week into an issue where a host had gone down but no alert was sent, I notic

Re: [Nagios-users] Access Control for disable notification?

2009-06-19 Thread Sean Carley
You could always use an apache rewrite rule to discourage those commands: RewriteEngine On RewriteCond %{QUERY_STRING} ^(cmd_typ=25)(.*) RewriteRule ^cmd\.cgi$ /nagios/nodisable.html RewriteCond %{QUERY_STRING} ^(cmd_typ=23)(.*) RewriteRule ^cmd\.cgi$ /nagios/nodisable.htm

[Nagios-users] Problem in Preflight Check with commands.cfg

2009-06-19 Thread Kaplan, Andrew H.
Hi there -- I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server using the apt-get utility. We currently have a Nagios 2.6 server running, and I wanted to import the configuration files into the newer server. To that end, I have placed the appropriate configuration files

Re: [Nagios-users] Access Control for disable notification?

2009-06-19 Thread Mat W
cgi.cfg has the options for security access to the webUI. authorized_for_all_service_commands You can't get that much more granular out of the box I don't think. Might be some addons out there, but I haven't dug into it. -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 200

[Nagios-users] Access Control for disable notification?

2009-06-19 Thread Litwin, Matthew
Is there a way to control user access for just the controls to disable/enable notification alerts for a monitor in nagios.cfg or elsewhere? -- Are you an open source citizen? Join us for the Open Source Bridge conference!

Re: [Nagios-users] trimming nagvis database via cron

2009-06-19 Thread Syd Alsobrook
On Friday 19 June 2009, Kevin Keane wrote: > I had a similar problem with my ndoutils and mysql. If you are using > MySQL and aren't using replication, don't forget to first clear and then > turn off binary logs - those files get huge very quickly. Yea, binary logs can be a pain to, I am working o

Re: [Nagios-users] trimming nagvis database via cron

2009-06-19 Thread Kevin Keane
I had a similar problem with my ndoutils and mysql. If you are using MySQL and aren't using replication, don't forget to first clear and then turn off binary logs - those files get huge very quickly. Michael W. Lucas wrote: > Hi, > > After a few months of use, our NagVis database grew to 23GB an

Re: [Nagios-users] trimming nagvis database via cron

2009-06-19 Thread Syd Alsobrook
On Friday 19 June 2009, Michael W. Lucas wrote: > After a few months of use, our NagVis database grew to 23GB and > overwhelmed my (tiny) server. Shutting down the system, dropping the > database, and recreating it solved my issues. This isn't a NagVis issues, this is a ndoutils issue. You need t

[Nagios-users] trimming nagvis database via cron

2009-06-19 Thread Michael W. Lucas
Hi, After a few months of use, our NagVis database grew to 23GB and overwhelmed my (tiny) server. Shutting down the system, dropping the database, and recreating it solved my issues. Surely someone has already written a script to purge the NagVis database on a regular basis, trimming old data to

Re: [Nagios-users] notification

2009-06-19 Thread Param Srinivas
Yes , there is a lot of checks going on. There are like 750 hosts with a minimum of about 6 to 7 services checks. Could this be because SERVICE INTER-CHECK DELAY METHOD & HOST INTER-CHECK DELAY METHOD are set to smart calculation ? On Fri, Jun 19, 2009 at 11:23 AM, Mat W wrote: > are there A

Re: [Nagios-users] notification

2009-06-19 Thread Mat W
you could try changing the host_inter_check_delay_method=n variable in nagios.cfg and see how it affects the checks. i'd keep an eye on performance and local system resources too. last thing you want is nagios crashing too. :-) -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 20

Re: [Nagios-users] Best Way to Catch Windows Reboots in Nagios with NSClient++

2009-06-19 Thread Mat W
Are you opposed to adding NagEventLog with an NCSA service for the passive checks? You can write an event check filter in NagEventLog to look for the specific events in the Event logs. I don't believe the bult-in UPTIME check supports thresholds but you could "wrap" it in some code to do i

Re: [Nagios-users] notification

2009-06-19 Thread Mat W
are there ALOT of checks going on? eg, when it went down, was there a backlog of checks that were firing off? for example if I have a network issue to a site, suddenly i have 100s of checks firing off in Xmin intervals. Check the logs? up the debug level? -- Mat W. - http://www.t

[Nagios-users] Best Way to Catch Windows Reboots in Nagios with NSClient++

2009-06-19 Thread Derek J. Morris
Anybody have a good way to Catch Windows Reboots in Nagios with NSClient++. Some times nagios misses the reboot due to timing i think. -Derek -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simpl

[Nagios-users] notification

2009-06-19 Thread Param Srinivas
Host Status: UP (for 0d 19h 19m 15s) Status Information: FPING OK - 65.106.232.209 (loss=0%, rta=41.00 ms) Performance Data: loss=0%;80;100;0;100 rta=0.041000s;2.00;5.00;0.00 Current Attempt: 1/3 (HARD state) Last Check Time: 06-19-2009 10:13:39 Check Type: ACTIVE Check Latenc

Re: [Nagios-users] NDO Utilities install NDO database error for NDO Util 1.3.1

2009-06-19 Thread Natalie Aloi
hmmm ok maybe I am a little confused because the first part of the "how to" creates a database using these same commands you listed...Is the NDO database name nagios? I also did the GRANT ALL on nagios.* see snipet below: mysql> show databases; ++ | Database | +--

Re: [Nagios-users] NDO Utilities install NDO database error for NDO Util 1.3.1

2009-06-19 Thread Michael Friedrich
# mysql -u root -p >> open database shell CREATE USER 'nagios'@'localhost' IDENTIFIED BY 'nagios'; creates the user nagios with localhost (where it will coem from) and is identified by password 'nagios' GRANT USAGE ON * . * TO 'nagios'@'localhost' IDENTIFIED BY 'nagios' WITH MAX_QUERIES_P

Re: [Nagios-users] NDO Utilities install NDO database error for NDO Util 1.3.1

2009-06-19 Thread Michael Friedrich
That's just what I told you with these commands. For what I've seen from your dirlisting, you have afile called "mysql.sql" So after these steps you should have your datebase created and waiting for input. Kind regards, Michael Natalie Aloi wrote the following on 19.06.2009 15:02: Thanks, I

Re: [Nagios-users] alarms not showing data

2009-06-19 Thread Marc Powell
On Jun 19, 2009, at 12:35 AM, Thomas S. Larsen wrote: > My problem is the following. > > - > * Nagios 2.9 * > > Notification Type: RECOVERY > > Service: $ > Host: [censored] > Address: [censored] > State:

Re: [Nagios-users] NDO Utilities install NDO database error for NDO Util 1.3.1

2009-06-19 Thread Natalie Aloi
Thanks, I did that without a problem, but when I got to the section about creating the NDO database I am supposed to run a script called installdb which doesn't exist...Do you know how to create the NDO Database and the tables? Natalie -Original Message- From: Michael Friedrich [mailto:m

Re: [Nagios-users] NDO Utilities install NDO database error for NDO Util 1.3.1

2009-06-19 Thread Michael Friedrich
Hi, if it helps do the following: # mysql -u root -p CREATE USER 'nagios'@'localhost' IDENTIFIED BY 'nagios'; GRANT USAGE ON * . * TO 'nagios'@'localhost' IDENTIFIED BY '' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; CREATE DATABASE