Re: [Nagios-users] garbage characters being returned in scripts

2011-07-20 Thread Yueh-Hung Liu
run this script on the HP machine manually as the user as nrpe will be. check what will happen. On Thu, Jul 21, 2011 at 7:05 AM, Rick Garland wrote: > Hi all: > > > > Got a Nagios 3.2.3 server running on RHEL 5.5. > > Installed plugins include pnp4nagios 0.6.13 & rrdtools 1.4.5 > > > > I  made so

Re: [Nagios-users] Using NagiosStatusLog, or obtaining status info

2011-07-20 Thread Alex
Hi, I wanted to add to my previous mail that I just found the list_tags() function (from StatusLog.pm) which returns the list of all the status variables from the status.dat file. However, it returns some others that don't appear in the status.dat file, such as time_up and time_down. Where do the

[Nagios-users] garbage characters being returned in scripts

2011-07-20 Thread Rick Garland
Hi all: Got a Nagios 3.2.3 server running on RHEL 5.5. Installed plugins include pnp4nagios 0.6.13 & rrdtools 1.4.5 I made some custom scripts that include the use of sar. A snippet; WAITIO=`sar -u 1 3 | grep Average | awk '{print $4}'` CRIT=50 echo "%waitio = $WAI

[Nagios-users] Using NagiosStatusLog, or obtaining status info

2011-07-20 Thread Alex
Hi all, I'm relatively new at using perl, but would like to write a script that prints the status of all services on all hosts. I thought the StatusLog module would be good, but it doesn't seem to work with the latest v3 nagios? It's probably more likely I'm doing something wrong, but are there an

Re: [Nagios-users] NRPE client issues

2011-07-20 Thread Jim Avery
On 20 July 2011 17:29, Julie S. Lin wrote: > Hi > > I am monitoring a windows box with very basic out of the box plugins > using nsclient > > However, whenever we start using this box there is great load on this > box > (which is a server class machine)  and causes the nagios checks to time > out

[Nagios-users] NRPE client issues

2011-07-20 Thread Julie S. Lin
Hi I am monitoring a windows box with very basic out of the box plugins using nsclient However, whenever we start using this box there is great load on this box (which is a server class machine) and causes the nagios checks to time out and falsely page. Has any one run into this issue and how

Re: [Nagios-users] few questions that I can't find any info on

2011-07-20 Thread Marcel Galke - Trans4mation IT GmbH
Have you tried -d switch for debugging? From: Jonathan Aquilina [mailto:eagles051...@gmail.com] Sent: Wednesday, July 20, 2011 2:07 PM To: Nagios Users List Subject: Re: [Nagios-users] few questions that I can't find any info on I have been trying on command line but it times out for me with var

Re: [Nagios-users] Allowing unauthenticated access to Nagios from select hosts

2011-07-20 Thread up
Thanks for your response. I looked at the docs for that and I'm not sure what it does. After experimenting with it, it appears to just disable authentication for the cgi, leaving just the apache config to protect you. Is this the same as disabling authentication in cgi.cfg? Would we still be

Re: [Nagios-users] few questions that I can't find any info on

2011-07-20 Thread Jonathan Aquilina
I have been trying on command line but it times out for me with various values On Jul 20, 2011 2:04 PM, "Marcel Galke - Trans4mation IT GmbH" < marcel.ga...@trans4mation.de> wrote: > I've never seen a CISCO ACE yet. If you're sure file permissions and config files are set up correct, try out differ

Re: [Nagios-users] scanning network

2011-07-20 Thread LEVEAU Stanislas
Hi Netdiscover : It is possible with this script and nmap. The french documentation : http://blog.nicolargo.com/2010/11/utiliser-nmap-pour-generer-vos-fichiers-de-configuration-nagios.html Regards Stan Le 20/07/2011 11:47, عبد الحميد a écrit : Hi, is there possibility to act on database

Re: [Nagios-users] few questions that I can't find any info on

2011-07-20 Thread Marcel Galke - Trans4mation IT GmbH
I've never seen a CISCO ACE yet. If you're sure file permissions and config files are set up correct, try out different values for the -H and -P switches. On the command line you can't use the Nagios macros like $ARG1$ and $USER1$ off course. >-Original Message- >From: Jonathan Aquilina

Re: [Nagios-users] few questions that I can't find any info on

2011-07-20 Thread Jonathan Aquilina
I tried from commandline and it failed as well. :( My question is more along the line this hostname = Primary loadbalancer ip? or ip of client peer = ip of 2ndary balancer? $USER1$/cisco_ace_failover -H 192.168.2.224 -P 192.168.2.225 -C $ARG1$ -t 30 Where arg1 = variable i created for the clien

Re: [Nagios-users] few questions that I can't find any info on

2011-07-20 Thread Marcel Galke - Trans4mation IT GmbH
Have you tried running the plugin from the command line? $user1/check_ace_failover -H -P -C Can you post the service definition and the corresponding command definition please. -Ursprüngliche Nachricht- Von: Jonathan Aquilina [mailto:eagles051...@gmail.com] Gesendet: Mittwoch, 20.

[Nagios-users] scanning network

2011-07-20 Thread عبد الحميد
Hi, is there possibility to act on database to add new hosts and services to monitor them without adding their configurations ? other question: i use netdiscover to scan network whitch i want to monitor so i have to extract ip adresses to store them in a database and by then to file system nagios

Re: [Nagios-users] few questions that I cant find any info on

2011-07-20 Thread Jonathan Aquilina
Marcel I am defining the command with the -H switch using the primary load balancer ip and the -P with the 2ndary one. The man page on the nagios exchange is extremely vague. http://exchange.nagios.org/directory/Plugins/Uncategorized/software/SNMP/Cisco-ACE-4700-Loadbalancer-failover-state-Check

Re: [Nagios-users] CPU performance with Nagios 3.2.3

2011-07-20 Thread Javier González
Thanks 2011/7/20 Yueh-Hung Liu > maybe you can check out the cron table to see what are running > periodically. > but i think the load is no problem, unless the value remains very high > for a long time. > > > 2011/7/20 Javier González : > > Thank you Yueh-Hung Liu, > > Is it possible to discove

Re: [Nagios-users] CPU performance with Nagios 3.2.3

2011-07-20 Thread Yueh-Hung Liu
maybe you can check out the cron table to see what are running periodically. but i think the load is no problem, unless the value remains very high for a long time. 2011/7/20 Javier González : > Thank you Yueh-Hung Liu, > Is it possible to discover what´s the problem with the Load, which processe