Page 3 of 5

Re: Notifications on Openfire?

Posted: Mon Apr 22, 2013 1:12 am
by Yaerox
scottwilkerson wrote:just to be sure, can you post the output of the following

Code: Select all

ls -l /usr/local/nagios/var/rw/nagibot.fifo
linux-wnrb:~ # ls -l /usr/local/nagios/var/rw/nagibot.fifo
prw-rw---- 1 nagios nagios 0 Apr 15 14:18 /usr/local/nagios/var/rw/nagibot.fifo

Regards

Re: Notifications on Openfire?

Posted: Wed Apr 24, 2013 11:33 am
by abrist
Any chance you could post the newest output of a verbose startup of nagibot?

Re: Notifications on Openfire?

Posted: Thu Apr 25, 2013 1:33 am
by Yaerox
Sure, but nothing changed :/

linux-wnrb:/home/MYUSER # /usr/bin/nagibot.pl -vvv -c /usr/local/nagios/etc/nagibot.conf [email protected]
nagibot 0.8.3 starting ...
using config file from commandline
Trying to connect ...
Opening fifo for reading ...
connected to XXX.X.X.XXX:5222

Re: Notifications on Openfire?

Posted: Thu Apr 25, 2013 10:20 am
by abrist
So it connects (or at least reports that is does), but your server-side logs are bare?

Re: Notifications on Openfire?

Posted: Fri Apr 26, 2013 1:08 am
by Yaerox
For me it seems that nothing gets written into the logs :/

Code: Select all

linux-wnrb:/home/MY_USER# tail /opt/openfire/logs/stderror.log 
Server halted
linux-wnrb:/home/MY_USER# tail /opt/openfire/logs/stderr.out 
linux-wnrb:/home/MY_USER# tail /opt/openfire/logs/stdoutt.log 
Openfire 3.8.1 [Apr 26, 2013 8:06:12 AM]
Admin console listening at:
  http://XXX.X.X.XXX:9090
  https://XXX.X.X.XXX:9091
Missing database schema for asterisk-im. Attempting to install...
asterisk-im - Database update failed. Please manually upgrade your database.
linux-wnrb:/home/MY_USER# 
My Nagios log only shows me two known problems on services about FTP and HTTP ...

Re: Notifications on Openfire?

Posted: Fri Apr 26, 2013 11:36 am
by scottwilkerson
Again, not an expert, but this makes it look like the DB isn't installed

Code: Select all

Missing database schema for asterisk-im. Attempting to install...
asterisk-im - Database update failed. Please manually upgrade your database.

Re: Notifications on Openfire?

Posted: Mon Apr 29, 2013 1:04 am
by Yaerox
Ohh my god, never saw this message :/

Well I chose the simple installation without any external database ... maybe i should take a look on that again and finally try a reinstall ...

Regards

Re: Notifications on Openfire?

Posted: Mon Apr 29, 2013 1:37 am
by Yaerox
I took a look on it and I dont need the asterisk-im plugin. If i disable this PlugIn my Log says:

Code: Select all

Openfire 3.8.1 [Apr 29, 2013 8:33:06 AM]
Admin console listening at:
  http://XXX.X.X.XXX:9090
  https://XXX.X.X.XXX:9091
and Nagibot do the same as before. Don't think this important for the main problem ...

Re: Notifications on Openfire?

Posted: Mon Apr 29, 2013 3:26 pm
by abrist
Just for clarification as we try to investigate your problem some more:
You are trying to get notifications to forward to an XMPP chatroom not a JID, is this correct?
In your verbose output, does XXX.X.X.XXX:5222 correspond to your openfire server or nagios server? Additionally, which does your connect string correspond to: [email protected] ?

Re: Notifications on Openfire?

Posted: Thu May 02, 2013 1:17 am
by Yaerox
abrist wrote:You are trying to get notifications to forward to an XMPP chatroom not a JID, is this correct?
Yes it is.
abrist wrote:In your verbose output, does XXX.X.X.XXX:5222 correspond to your openfire server or nagios server? Additionally, which does your connect string correspond to: [email protected] ?
I installed Nagios and Openfire on the same server.

Thanks for help.
Regards.