[Nagios-users] tweaking the order of sorting in nagios lists: numeric rather than alphabetical

2009-01-20 Thread Rahul Nabar
Is there a way to tweak the manner in which nagios sorts the names of hosts in the "Service Status Details"? I have hosts named star01, star02 and so on all the way through star256 and nagios insists on sortin these like so: star10 star101 star102 [snip] star119 star12 etc. Can I make the number

Re: [Nagios-users] AIX & check_logfiles from consol.com issues/errors - please help

2009-01-20 Thread Mirza Dedic
Thanks Tarak this has resolved my issue. I assume that when you point check_logfiles on a log file, it makes a hash of the file and starts to monitor at the EOF waiting for new input and scanning for the specific information. CC'ing the nagios-users. Thank you. From: Tarak Patel [mailto:tarak

Re: [Nagios-users] Recommended Plugin for Monitoring iptables

2009-01-20 Thread Marc Powell
On Jan 20, 2009, at 3:00 PM, Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. I simply want to ensure that 'iptables -vnL' > comes back with output indicating that firewall rules are in effect. I don't use it but the first hit on google looks promising... http://www.google.com/

Re: [Nagios-users] Recommended Plugin for Monitoring iptables

2009-01-20 Thread Klaus Umbach
On 20/01/09 16:00, Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. I simply want to ensure that 'iptables -vnL' > comes back with output indicating that firewall rules are in effect. I would write a script myself, that compares "iptables -vnL > /tmp/iptables.txt" with "iptabl

[Nagios-users] AIX & check_logfiles from consol.com issues/errors - please help

2009-01-20 Thread Mirza Dedic
Hello, I am having issues getting the check_logfiles script from consol.com to work; I am using their latest script and it was compiled in my AIX 5.3 environment. >From the aix box's console I run: check_logfiles -t 10 -f /test.cfg and I am >expected to get a CRITICAL warning based on test.cfg'

[Nagios-users] check_jmx plugin chokes on more than 2Gb memory

2009-01-20 Thread Sean Carolan
This works: [nag...@monitor1 libexec]$ ./check_jmx -U service:jmx:rmi:///jndi/rmi://server:9000/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -w 2147483647 JMX CRITICAL HeapMemoryUsage.used=-1942171464 But this doesn't: [nag...@monitor1 libexec]$ ./check_jmx -U service:jmx:rmi:///jnd

Re: [Nagios-users] Recommended Plugin for Monitoring iptables

2009-01-20 Thread Kaplan, Andrew H.
Hi there -- Thanks for your reply. I simply want to ensure that 'iptables -vnL' comes back with output indicating that firewall rules are in effect. -Original Message- From: Klaus Umbach [mailto:treibh...@sozial-inkompetent.de] Sent: Tuesday, January 20, 2009 3:27 PM To: Kaplan, Andre

Re: [Nagios-users] Support for snmp v2c with check_all_interfaces.pl

2009-01-20 Thread Matt Nelson
There apparently is a problem with Net::SNMP->session->get_table() related to Suse/Opensuse, and 64bit machines. I tried this at home and everything worked fine across redhat based distro's. I found that I can use Net::SNMP-session-get_request() and it works fine. Since I do not have time to dig

Re: [Nagios-users] Recommended Plugin for Monitoring iptables

2009-01-20 Thread Klaus Umbach
On 20/01/09 15:09, Kaplan, Andrew H. wrote: > Is there a recommended plugin for monitoring iptables? The Nagios server is > version 2.6, and the version of the bundled plugins is currently 1.4.5. > Thanks. what exactly do you want to monitor? - Klaus -- BOFH excuse #406: Bad cafete

[Nagios-users] Recommended Plugin for Monitoring iptables

2009-01-20 Thread Kaplan, Andrew H.
Is there a recommended plugin for monitoring iptables? The Nagios server is version 2.6, and the version of the bundled plugins is currently 1.4.5. Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error

Re: [Nagios-users] check_oracle

2009-01-20 Thread Hendrik Baecker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anirudh Srinivasan schrieb: > > usage of check_oracle plugin . what is it used to check excatly. and > if that plugin gives the critical how to troubleshoot that issue. > > Please help me with this > I don't think this will help you much, but here y

Re: [Nagios-users] check_oracle

2009-01-20 Thread Marc Powell
On Jan 20, 2009, at 8:48 AM, Anirudh Srinivasan wrote: > > usage of check_oracle plugin . what is it used to check excatly. If this isn't exact enough, you can peruse the source code of course... It is assumed that you know what these mean with respect to Oracle. [ libexec]$ ./check_oracle

[Nagios-users] check_oracle

2009-01-20 Thread Anirudh Srinivasan
usage of check_oracle plugin . what is it used to check excatly. and if that plugin gives the critical how to troubleshoot that issue. Please help me with this Regards -- Anirudh Srinivasan -- This SF.net email is sponso

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Steve Burton
Alex Dehaini wrote: > Hi, > > What config do you want me to post? I added the members to the hostgroup Do you have a 'hostgroups.cfg' or equivalent file? It should contain the definitions of any hostgroups you use. E.g. (cut from the documentation) define hostgroup{ hostgroup_name hostg

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Alex Dehaini
Hi, What config do you want me to post? I added the members to the hostgroup On Tue, Jan 20, 2009 at 1:52 PM, Marc Powell wrote: > > On Jan 20, 2009, at 3:36 AM, Alex Dehaini wrote: > > > In the cgi view, I see the hostgroup but it says there are no host > > or services added to it even after a

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Marc Powell
On Jan 20, 2009, at 3:36 AM, Alex Dehaini wrote: > In the cgi view, I see the hostgroup but it says there are no host > or services added to it even after adding the host and service. > > Strange If you want useful help for this you're going to have to post the relevant config information. A

Re: [Nagios-users] Nagios compatibility

2009-01-20 Thread Kevin Keane
Andy Shellam wrote: > >> My recommendation: throw out the nagios you did (just keep the files >> in the /usr/local/nagios/etc directory), and instead find nagios as >> an already-compiled RPM. There really is very little reason to ever >> run your own compiled software except to learn. On a prod

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 w

Re: [Nagios-users] Nagios compatibility

2009-01-20 Thread jmoseley
If you're using Redhat, unless there is a specific reason you want to compile from source, just install Nagios vai yum repository: yum install nagios yum install nagios-plugins That will install everything you need to get going. It also installs the /etc/init.d startup script, so you can then ru

Re: [Nagios-users] hi

2009-01-20 Thread jmoseley
If you're using CentOS, unless there is a specific reason you want to compile from source, just install Nagios vai yum repository: yum install nagios yum install nagios-plugins That will install everything you need to get going. James Moseley

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Alex Dehaini
Asam, I have been using nagios for over 2 years now, never had any problem with it. Until now, I have noticed my nagios server is a bit sluggish. A couple of days ago, I added a host and a couple of services to it - nagios saw it and later said the host wasn't added. I am having the similar situat

Re: [Nagios-users] hi

2009-01-20 Thread Assaf Flatto
If you are installing from source - the manual is generic enough to adapt to any distro. But i suspect you can use the RPMs from the CentOs repository to make most of the installation easy and just worry about the config. Assaf On Tuesday 20 January 2009 10:34:32 Anto Marky wrote: > Hi, > >

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread asam30
a sample host.cfg of my nagios server, define host{ host_name airlin ; The name we're giving to this host alias Airlin (TEST Server) ; A longer name associated with the host check_command check-host-alive check_interval 3 r

[Nagios-users] hi

2009-01-20 Thread Anto Marky
Hi, I am planning to monitor my website using nagios, I checked the nagios site for any centos installation mannual but I was only able to find one for fc6.I am confiused to whether to use yum install or get the source and compile it? Is there any manual for installation of nagios on cnetos5? Th

Re: [Nagios-users] Installation issue

2009-01-20 Thread Assaf Flatto
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] Hostgroup Issue

2009-01-20 Thread Alex Dehaini
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg gives no errors I added the host and services to the host.cfg and service.cfg files. I added a group to the hostgroup file and added the hosts to the hostgroup file. I reloaded nagios In the cgi view, I see the hostgroup but it says

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread asam30
I do not understand your question properly. Do you have host.cfg and service.cfg files exists? and do you add hosts and services to these files respectively? /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg gives any errors or warnings and also paste the exact error when restartin

[Nagios-users] Installation issue

2009-01-20 Thread Anto Marky
Hi, Could anyone tell me what this error is and how do I overcome it? This is the error I get when I make install, it is smooth when I configure with ./configure --with-command-group=nagcmd I use the username and the group name given in the doc [r...@test:/mnt/downloads/nagios-3.0.6] make insta

Re: [Nagios-users] Nagios compatibility

2009-01-20 Thread Sander Klein
Hi, > Kevin Keane wrote: > In my experience package repositories (such as those used by Debian's > "apt-get") are not well maintained - for example the OpenSSL version > currently in there is 0.9.8c which was released in September 2006. > There have been 6 security advisories since. Similarly the

Re: [Nagios-users] Nagios compatibility

2009-01-20 Thread Andy Shellam
Kevin Keane wrote: > Nagios won't work until you get this running, so it is not really > surprising that you can't log in right now. > Nagios will function without the startup script perfectly happily - you just start and stop it manually - /usr/local/nagios/bin/nagios -d /usr/local/nagios/et