Export to GitHub

molniya - issue #9

Problem starting the daemon


Posted on Sep 26, 2009 by Massive Kangaroo

What steps will reproduce the problem? 1. Just launching

What is the expected output? What do you see instead?

I get this:

./nagios.rb:446:in load': undefined methodnew' for nil:NilClass (NoMethodError) from ./nagios.rb:444:in each' from ./nagios.rb:444:inload' from ./nagios.rb:157:in _refresh' from ./nagios.rb:126:inrefresh_if_needed' from /usr/lib/ruby/1.8/monitor.rb:238:in synchronize' from ./nagios.rb:124:inrefresh_if_needed' from ./nagios.rb:427:in refresh_if_needed' from ./nagios.rb:162:incontents' from ./molniya.rb:425:in status_report' from ./molniya.rb:580:inupdate_status_msg' from ./molniya.rb:507:in initialize' from ./molniya.rb:746:innew' from ./molniya.rb:746:in `launch' from -e:1

What version of the product are you using? On what operating system?

0.2.1 on Centos 5 x64

Please provide any additional information below.

[root@QA molniya-0.2.1]# more example.yaml

XMPP username (JID) to connect as

username: jira@atlasit.com/molniya

Password for XMPP user

password: XXXXXXXXXXXX

Base URI for your Nagios installation

nagios_uri: https://monitor01.atlasit.com/monitor

/var directory of your Nagios installation

nagios_var: /opt/monitor/var

Nagios contact field used to store XMPP JID

xmpp_field: address1

email address to send mail as

smtp_from: op5@atlasit.com

SMTP server to use

smtp_relay: localhost

Options suitable for passing to Rack::Handler::Mongrel#run

http_opts: :Host: localhost :Port: 7991

Comment #1

Posted on Sep 29, 2009 by Happy Hippo

Hello,

Thanks for trying Molniya. I suspect you are using some Nagios object types that I'm not. Can you check out the trunk version of the code and see if it works? I've changed the Nagios configuration loading to ignore unrecognized object types.

If that doesn't fix it, please tell me what Nagios version you're running.

Comment #2

Posted on Apr 16, 2010 by Quick Ox

I was experiencing the same problem as the initial reporter, however the version in svn-trunk fixes this.

Comment #3

Posted on Apr 21, 2010 by Happy Hippo

Thanks for the verification, Matt. Marking this fixed.

Status: Verified

Labels:
Type-Defect Priority-High