[Nagios-users] check_ide_smart

2013-05-05 Thread (Anti-spam)
Hi List! I am using check_ide_smart plugin and it returns (null) in Nagios as 'Status Information', it shows as yellow (warning). The command is defined as: define command{ command_namecheck_ide_smart command_linesudo $USER1$/check_ide_smart -n $ARG1$ } and called in

[Nagios-users] check_http with spaces problem

2013-05-05 Thread Κοκμάδης Δημήτριος
Hi, I am trying to check multiple http sites, so i configure a bash script which create the service definition but i faced a problem when the expected string has spaces. So the command definition is like: $USER1$/check_http -H $ARG1$ -s $ARG2$ -w 10 -c 20 if i pass an $ARG2$ without spaces

Re: [Nagios-users] check_http with spaces problem

2013-05-05 Thread Sunil Sankar
Please put it within quotes , that should help On Sun, May 5, 2013 at 8:53 PM, Κοκμάδης Δημήτριος dkokma...@gmail.comwrote: Hi, I am trying to check multiple http sites, so i configure a bash script which create the service definition but i faced a problem when the expected string has

Re: [Nagios-users] check_http with spaces problem

2013-05-05 Thread Páll Guðjón Sigurðsson
Put your ARG in quotes. So it looks like this: $USER1$/check_http -H '$ARG1$' -s '$ARG2$' -w 10 -c 20 Then it will handle spaces. Alternatively, you can use custom variables to a check command that is more complex, but in return your service definitions will become much more readable.

Re: [Nagios-users] check_http with spaces problem

2013-05-05 Thread Κοκμάδης Δημήτριος
Thank you for the replies. I tried to use all these before asking! By the check_debug.sh Sun May 5 22:29:03 EEST 2013 /usr/lib64/nagios/plugins/check_http -H granma.gr -u http://granma.gr/index.html -R Web -w 10 -c 20 Name or service not known HTTP CRITICAL - Unable to open TCP socket If i

[Nagios-users] Plugin check_md_raid

2013-05-05 Thread Daniel Bareiro
Hi all! I'm trying the script check_md_raid [1] of Hari Sekhon (version 0.7.2). It works correctly with Debian GNU/Linux Squeeze, but seems to have a problem with the parsing in Debian GNU/Linux Wheezy (since yesterday is stable). I copy high verbose output:

[Nagios-users] Escalation issues

2013-05-05 Thread Alex
Hi all, I have a working nagios system on fc17, but I don't think I have the escalations configured properly. I have the following service templates defined: At what point are the services converted to being escalated services in my sample below? define service { name