[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: 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 112: 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]/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 112: 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 112: 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 112: 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 2010-10-06T12:45:10+13:00 http://steveshipway.org/forum/feed.php?f=20&t=1708 2010-10-06T12:45:10+13:00 2010-10-06T12:45:10+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=11636#p11636 <![CDATA[Re: check_website]]>
The 'm' prefix change in the code shouldn't be necessary as match is the default behaviour.

Statistics: Posted by stevesh — Wed Oct 06, 2010 12:45 pm


]]>
2010-10-05T23:01:11+13:00 2010-10-05T23:01:11+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=11635#p11635 <![CDATA[Re: check_website]]> Statistics: Posted by Arnold — Tue Oct 05, 2010 11:01 pm


]]>
2010-10-05T22:17:21+13:00 2010-10-05T22:17:21+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=11634#p11634 <![CDATA[Re: check_website]]> Statistics: Posted by Arnold — Tue Oct 05, 2010 10:17 pm


]]>
2010-10-05T10:08:44+13:00 2010-10-05T10:08:44+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=11632#p11632 <![CDATA[Re: check_website]]>
IE, with expect("a" "b") it must contain BOTH "a" AND "b", and with notexpect( "a" "b" ) it must contain NEITHER "a" NOR "b".

It would probably be better for the expect() keyword to OR the options (IE, check for ANY of the matches) but that would mean a major change to syntax...

Statistics: Posted by stevesh — Tue Oct 05, 2010 10:08 am


]]>
2010-10-05T01:53:13+13:00 2010-10-05T01:53:13+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=11631#p11631 <![CDATA[Re: check_website]]>
I have a question about the check_website check. You can give multiple strings that the script should not expect on the site that it fetches but is it also possible that you give multiple strings that it should expect, and that if any of these strings is found it assumes all is OK and continues the script.
something like this:

notexpect ( "Invalid username or password" "An error has occurred" "You must have cookies enabled" )
expect ("everything OK" "most is OK" "everything is fine" "don't worry" )

thanks

Statistics: Posted by Arnold — Tue Oct 05, 2010 1:53 am


]]>
2010-08-11T00:20:13+13:00 2010-08-11T00:20:13+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=11527#p11527 <![CDATA[Re: check_website]]>

Statistics: Posted by dkbkk1 — Wed Aug 11, 2010 12:20 am


]]>
2010-08-10T13:20:05+13:00 2010-08-10T13:20:05+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=11523#p11523 <![CDATA[Re: check_website]]> Statistics: Posted by stevesh — Tue Aug 10, 2010 1:20 pm


]]>
2010-08-10T01:01:49+13:00 2010-08-10T01:01:49+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=11520#p11520 <![CDATA[Re: check_website]]>
When i run it through Nagios i get "==> Added initial symbol HOST=www.youtube.com" in Status Information.

I used the samples with only minimal changes (i changed the hostname and using only a FETCH in the scr-file).

Statistics: Posted by dkbkk1 — Tue Aug 10, 2010 1:01 am


]]>
2009-11-18T12:32:03+13:00 2009-11-18T12:32:03+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=10921#p10921 <![CDATA[Re: check_website]]>
If there is no script it exits with a -1 status (which is out of bounds for nagios, technically it should give status 3 (unknown) on a script error)

Check what command line arguments you are giving the check_website script, and make sure you have created a checking script so it knows what URLs to retrieve.

Steve

Statistics: Posted by stevesh — Wed Nov 18, 2009 12:32 pm


]]>
2009-11-18T11:28:12+13:00 2009-11-18T11:28:12+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=10920#p10920 <![CDATA[Re: check_website]]>
I have just tried to run ./check_website.pl and it returns this:

Unable to open script.scr!

I have latest perl installed and have giving the file the permissions of chmod +rwx check_website.pl

Have also done as stated above, no errors there.

And with the file the way it is now, nagios is giving an out-of-bounds error.

Thanks in Advance,

Statistics: Posted by jmituzas — Wed Nov 18, 2009 11:28 am


]]>
2009-02-02T11:41:28+13:00 2009-02-02T11:41:28+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=8560#p8560 <![CDATA[Re: check_website]]> Statistics: Posted by stevesh — Mon Feb 02, 2009 11:41 am


]]>
2009-01-29T22:16:21+13:00 2009-01-29T22:16:21+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=8547#p8547 <![CDATA[Re: check_website]]>
And also the auckland server was up to install the modules. Funniest part was that even after the perl installation, it was showing errors in some other .pm ..anyways, got fixed after installilng libwww package(??)

Statistics: Posted by venuwin — Thu Jan 29, 2009 10:16 pm


]]>
2009-01-29T19:19:27+13:00 2009-01-29T19:19:27+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=8546#p8546 <![CDATA[Re: check_website]]> Statistics: Posted by venuwin — Thu Jan 29, 2009 7:19 pm


]]>
2009-01-29T10:44:11+13:00 2009-01-29T10:44:11+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=8545#p8545 <![CDATA[Re: check_website]]> Statistics: Posted by stevesh — Thu Jan 29, 2009 10:44 am


]]>
2009-01-28T18:51:02+13:00 2009-01-28T18:51:02+13:00 http://steveshipway.org/forum/viewtopic.php?t=1708&p=8544#p8544 <![CDATA[Re: check_website]]> Statistics: Posted by venuwin — Wed Jan 28, 2009 6:51 pm


]]>