New Openfire plugin: ServerInfo

Hi wroot.

http://files.mundoopensource.com.br/serverinfo.jar

I think that now your issue was solved.

Please test it and let me know if it works.

Marcelo

Yes, now it works with 3.10.0.

Maybe uptime should show a value of how many days/hours/minutes Openfire is running?

Also in the readme you repeat last 4 commands twice.

Great.

About the readme, take a look again and youā€™ll see that the commands are different. Their purpose is to be used in PRTG or MRTG (via tcp connections) to create graphs.

Regards,

Marcelo

Using MRTG (or a similar external graph software) may be fine for users who already use it. I assume that youdo much more with MRTG and Pythen than this and adding also Openfire graphs makes sense.

For me rrd4j would be the much better option as it requires no external software and could also run inside Openfire. As soon as you open source your plugin one could add this.

Thanks for your sugestion.

Iā€™ll work in rrd4j approach. About open the source code, Iā€™ll do it as soon as I finish the other features.

Regards,

Marcelo

Hey everybody.

I just wanna tell you that I released ServerInfo Plugin source code.

You can find plugin information and source code link in the URL: http://www.mundoopensource.com.br/serverinfo-plugin-openfire/ (english)

Iā€™ll mantain the plugin development in my free time.

Somebody ask me for rrd4j support. I didnā€™t have time to work on that yet, but any help Iā€™ll appreciate.

Regards,

Marcelo H. Terres

mhterres@gmail.com

Openfire-BR owner mailing list

http://www.mundoopensource.com.br

1 Like

Iā€™m using ServerInfo 0.3.1 and have just noticed there is a menu entry ā€œServer Informationsā€ in the Users menu. It shouldnā€™t be there.

Ok,

I didnā€™t notice it. Iā€™ll fix it and release a new minor version.

Thanks,

Marcelo

Itā€™s done.

ServerInfo and B9 updated.

But: youā€™ll need to remove old versions and restart openfire, then install the new versions. :frowning: Sorry for that.

Regards,

Itā€™s not critical, so i will wait for another scheduled server restart and update then

newest version http://files.mundoopensource.com.br/plugins/serverinfo_0.3.2.2.jar

Not to rehash a really old thread but has anyone got this working on 4.5.0? or any of the 4.x versions? I just finally did my 3.10 to 4.5 move and I lost my user count for my monitoring software. :frowning:

How exactly are you connecting to openfire to get this information? I tried this on my server and it seemed to work:

<iq type='set' id='purplebd5296fa' to='laptop.local'>
	<command xmlns='http://jabber.org/protocol/commands' node='http://jabber.org/protocol/admin#get-active-users-num' action='execute'/>
</iq>
<iq type='result' id='purplebd5296fa' from='laptop.local' to='admin@laptop.local/Laptop'>
	<command xmlns='http://jabber.org/protocol/commands' sessionid='mvsSLZVTxgbNR9v' node='http://jabber.org/protocol/admin#get-active-users-num' status='completed'>
		<x xmlns='jabber:x:data' type='result'>
			<field type='hidden' var='FORM_TYPE'>
				<value>http://jabber.org/protocol/admin</value>
			</field>
			<field label='Number of Active Users' var='activeusersnum'>
				<value>1</value>
			</field>
		</x>
	</command>
</iq>

I was trying to hit it on the port 4455 that was setup for CLI hits and could not connected. Also when you add the plugin to 4.5.0 it doesnā€™t give the restart icon so I thought it was broken. Let me go try this all again.

Openfire 4.5.1 is now out the door, please try with it.