[Nagios-users] Macros :: Child Hosts

2012-06-18 Thread Andreas Brandino
Hi all, is there a MACRO that will return all child hosts of a parent ? I would like, when the host is down, to include all hosts assumed to be down in the notification. Thank you -- Live Security Virtual Conference

Re: [Nagios-users] Macros :: Child Hosts

2012-06-18 Thread Assaf Flatto
On 18/06/12 08:53, Andreas Brandino wrote: Hi all, is there a MACRO that will return all child hosts of a parent ? I would like, when the host is down, to include all hosts assumed to be down in the notification. Thank you http://nagios.sourceforge.net/docs/nagioscore/3/en/macrolist.html

Re: [Nagios-users] Allow access to custom variables outside Nagios

2012-06-18 Thread Andreas Ericsson
On 06/15/2012 03:13 PM, VALIYEV Ruslan wrote: Hi all, We have custom variables like this: define host { use linux-server host_name host.foo.com address 192.168.1.44 _serverfunction Oracle EBS R12 Application Server _serveradminAdmins_Linux

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Andreas Ericsson
On 06/17/2012 03:47 PM, Axel Amigo Arnold wrote: Hello, I am using nagios plugins 1.4.15 and I have a question about the check_procs plugin. If I execute it as *root*: root@localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 PROCS CRITICAL: 126 processes Now if I do it as

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Axel Amigo Arnold
Hi Andreas, thank you for the response. I already have the suid bit activated in the check_procs binary as you can see here (I just copied the values of check_icmp) -r-sr-sr-x The user for this binary is root, and the group is nagios (just as check_icmp), but I still can't access the total

[Nagios-users] check_hpasm errors

2012-06-18 Thread Maesen Carlo (ICTS)
Since yesterday I noticed check_hpasm is not working properly. Sometimes I receive time-outs, other times I receive hardware-errors. I run the check 3 times and receive different output: ./libexec/check_hpasm -H um2103 -C ASPSNMP WARNING - status of all 12 dimms is n/a (please upgrade firmware),

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Andreas Ericsson
On 06/18/2012 11:51 AM, Axel Amigo Arnold wrote: Hi Andreas, thank you for the response. I already have the suid bit activated in the check_procs binary as you can see here (I just copied the values of check_icmp) -r-sr-sr-x The user for this binary is root, and the group is nagios (just

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Steve Glasser
On 06/18/2012 06:30 AM, Andreas Ericsson wrote: The user for this binary is root, and the group is nagios (just as check_icmp), but I still can't access the total process list. In the command definition, should I make something like this?

[Nagios-users] FW: Error Found in script check_disk_smb

2012-06-18 Thread Niji Ogunbameru
Dear Nagios_users The following error have been generated when using the the script check_disk_smb as follows zenosssrv:/usr/local/zenoss/common/libexec # /usr/local/zenoss/common/libexec/check_disk_smb -H ServerName.DomainName.com -s fscs ERROR:: Can't exec //ServerName.DomainName.com/fscs:

[Nagios-users] Error Found in script check_disk_smb

2012-06-18 Thread niji.ogunbameru
Dear Nagios_users The following error have been generated when using the the script check_disk_smb as follows zenosssrv:/usr/local/zenoss/common/libexec # /usr/local/zenoss/common/libexec/check_disk_smb -H ServerName.DomainName.com -s fscs ERROR:: Can't exec

Re: [Nagios-users] Allow access to custom variables outside Nagios

2012-06-18 Thread Alex Griffin
Custom variables are are case-sensitive. Try using NAGIOS__HOSTserverfunction. Alex Griffin --- Tech Team agrif...@nagios.com On 06/16/2012 06:05 AM, Ruslan Valiyev wrote: Hi all, We have custom variables like this: define host { use linux-server host_name host.foo.com

Re: [Nagios-users] Allow access to custom variables outside Nagios

2012-06-18 Thread Alex Griffin
Disregard this. I was clearly wrong... Alex Griffin --- Tech Team agrif...@nagios.com On 06/18/2012 12:24 PM, Alex Griffin wrote: Custom variables are are case-sensitive. Try using NAGIOS__HOSTserverfunction. Alex Griffin --- Tech Team agrif...@nagios.com On 06/16/2012 06:05 AM, Ruslan