Hi All,

I have tried to run the test written for atom in the Catalyst engine and I've got the following output:
-bash-3.00$ prove 870atom.t
870atom....NOK 10
#   Failed test 'http://localhost:3000/atom - success'
#   at 870atom.t line 49.
870atom....NOK 11
#   Failed test 'Status 200 - Got Atom feed'
#   at 870atom.t line 50.
#          got: '500'
#     expected: '200'
870atom....NOK 12
#   Failed test 'Data appears okay'
#   at 870atom.t line 51.
# '500 Server closed connection without sending any data back
# '
#     doesn't match '/xml version.*feed xmlns/s'
# Looks like you failed 3 tests of 12.
870atom....dubious
        Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 10-12
        Failed 3/12 tests, 75.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
870atom.t      3   768    12    3  25.00%  10-12
Failed 1/1 test scripts, 0.00% okay. 3/12 subtests failed, 75.00% okay.
-bash-3.00$

Any ideas what can be wrong?
Any replies would be appreciated.
Thanks,
Miro.

On 14 Aug 2009, at 13:11, Duncan Ferguson wrote:


On 13 Aug 2009, at 20:14, Miroszlav Moricz wrote:

Hi All,

I have set the notification by feed. I see in the nagios.log that the notifications are going out. I can even see them in the username.store files, but when I connect with a browser and login with my user I get a blank page.
...
Any ideas? I couldn't find anything in the logs pointing to a failure.

Do you see anything when you hit /atom with your web browser rather than an atom client? What data is stored within the username.store file? You can examine the contents with something like

cd /usr/local/nagios/atom
perl -MStorable -MData::Dump -le '$hash=Storable::lock_retrieve("username.store"); print Data::Dump::dump($hash)'

Which logs did you look in? /var/log/opsview/opsview-web.log would hold errors about this part of the site

 Duncs

--
Duncan Ferguson
Senior Developer

<image001.gif>


Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK

Phone:   +44 (0) 845 057 7887
Mobile:   +44 (0) 7968 148 748
Skype:   duncan_j_ferguson     Email:   [email protected]
www.opsera.com

Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB.

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to