[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing Software support and information 2007-12-27T10:14:47+13:00 http://steveshipway.org/forum/feed.php?f=20&t=1460 2007-12-27T10:14:47+13:00 2007-12-27T10:14:47+13:00 http://steveshipway.org/forum/viewtopic.php?t=1460&p=7793#p7793 <![CDATA[check_rbl missing the $HOSTADDRESS$]]>
Updated version 1.1 which supports hostnames as well as IP addresses. It also allows you to use -H if you want to.

Statistics: Posted by stevesh — Thu Dec 27, 2007 10:14 am


]]>
2007-12-27T08:23:32+13:00 2007-12-27T08:23:32+13:00 http://steveshipway.org/forum/viewtopic.php?t=1460&p=7791#p7791 <![CDATA[check_rbl missing the $HOSTADDRESS$]]>
Thanks for the help.

I find it easier to use smtp.domain.com than 216.228.11.34 in Nagios. If the DNS/MX records get changed, then Nagios just keeps chugging along when it gets the update.

Glad my workaround makes sense. It's not a problem now that I know what's what.

Thanks again.

Statistics: Posted by briandent — Thu Dec 27, 2007 8:23 am


]]>
2007-12-25T20:03:28+13:00 2007-12-25T20:03:28+13:00 http://steveshipway.org/forum/viewtopic.php?t=1460&p=7787#p7787 <![CDATA[check_rbl missing the $HOSTADDRESS$]]>
The script expects an IP address. Probably the next version should resolve hostnames if given a name, though.

I've always had hostaddress set to the IP address (which is what I thought it was supposed to be) so that's why $HOSTADDRESS$ works for me.

I'll add some code in the next version to spot a passed hostname and resolve it. In the meantime, pass the IP via a parameter.

Statistics: Posted by stevesh — Tue Dec 25, 2007 8:03 pm


]]>
2007-12-24T03:12:04+13:00 2007-12-24T03:12:04+13:00 http://steveshipway.org/forum/viewtopic.php?t=1460&p=7784#p7784 <![CDATA[check_rbl missing the $HOSTADDRESS$]]>
I'm using Nagios 2.9. I was able to figure out from various combinations the problem is some DNS resolution issue.

$USER1$/check_rbl 216.228.11.34 -> works
$USER1$/check_rbl smtp.compudentsystems.com -> fails
check_command check_rbl!216.228.11.34 -> works with $ARG1$ in the command
check_command check_rbl!smtp.compudentsystems.com -> fails

So I'm pretty sure it is either NAGIOS not changing the tag to an address or check_rbl not attempting to resolve to an IP.

The other -H $HOSTADDRESS$ commands are all working OK so I'm not clear what the difference is.

If you can shoot me a URL of something describing the issue and fix I would appreciate it.

Thanks.

Statistics: Posted by briandent — Mon Dec 24, 2007 3:12 am


]]>
2007-12-23T13:35:53+13:00 2007-12-23T13:35:53+13:00 http://steveshipway.org/forum/viewtopic.php?t=1460&p=7782#p7782 <![CDATA[check_rbl missing the $HOSTADDRESS$]]>
It sounds as if your version of Nagios does not support the use of HOSTADDRESS macro in the command definitions, or else does not support it correctly. This may be a Nagios bug, if you have a recent version.

Statistics: Posted by stevesh — Sun Dec 23, 2007 1:35 pm


]]>
2007-12-23T12:24:51+13:00 2007-12-23T12:24:51+13:00 http://steveshipway.org/forum/viewtopic.php?t=1460&p=7781#p7781 <![CDATA[check_rbl missing the $HOSTADDRESS$]]>
Thanks but I did try the command without the -H. It still returns a usage: check_rbl ipaddress failure.

It does work if you change to

check_rbl $ARG1$

and use

check_rbl!216.228.11.34 in the calling argument.

Statistics: Posted by briandent — Sun Dec 23, 2007 12:24 pm


]]>
2007-12-21T12:22:10+13:00 2007-12-21T12:22:10+13:00 http://steveshipway.org/forum/viewtopic.php?t=1460&p=7773#p7773 <![CDATA[check_rbl missing the $HOSTADDRESS$]]>
Just have the command:

check_rbl $HOSTADDRESS$

and it will work as expected. I know, check_rbl is not compliant with the check plugins standard options...

Statistics: Posted by stevesh — Fri Dec 21, 2007 12:22 pm


]]>
2007-12-21T09:45:25+13:00 2007-12-21T09:45:25+13:00 http://steveshipway.org/forum/viewtopic.php?t=1460&p=7772#p7772 <![CDATA[check_rbl missing the $HOSTADDRESS$]]>
in commands.cfg
define command{
command_name check_rbl
command_line $USER1$/check_rbl -H $HOSTADDRESS$
# command_line $USER1$/check_rbl 216.228.11.34
}

in hosts.cfg
define service{
usegeneric-service; Name of service template to use
host_namecd-mry-beacon
service_descriptionSVR-BL
servicegroupsBL
is_volatile0
check_period24x7
max_check_attempts3
normal_check_interval5
retry_check_interval1
contact_groupsnt-admins,cd-admins
notification_interval0; originally 120
notification_periodcdmonitoring
notification_optionsc,r
check_commandcheck_rbl
}

If you use the hard coded command definition, it works. If you use the -H $HOSTADDRESS$ command line, you get the result of:

Usage: check_rbl ipaddress

Since this is the same configuration as the check_smtp, etc commands where the $HOSTADDRESS$ is used I'm not clear what the problem is.

Any suggestions?

Statistics: Posted by briandent — Fri Dec 21, 2007 9:45 am


]]>