Wowza Community

How do I turn on Cacti

That’s great. Can you tell us anything about what made it good?

Thanks for the update,

Richard

We tested a theory that this was related to ElasticIP earlier today. And that does seem to be the cause, we were able to replicate this problem by starting an EC2 instance, then associating an ElasticIP, then trying to enable Cacti. The cacti graphs were broken images.

The solution was same as yours: restart Wowza service, after refreshing a few times the broken images were graphs and within a few minutes showed activity data.

We are updating the Wowza EC2 user guide with this information.

Richard

Great! Glad it’s working. Thanks for the update and verification.

Richard

I’m not sure how to enable cacti or set password in a startup package.

If you are using the Wowza Dynamic Load Balancer you can get an overview of edge usage from the load balancer HTTProvider:

http://[wowza-loadbalancer-address]:1935/loadbalancer?serverInfoXML

See the package readme for instructions for enabling this HTTProvider.

Richard

Might take a little while for data to start showing, or set on wrong scale. Assigning ElasticIP after does break Cacti, at least temporarily.

Richard

I answered your other post with same question

Richard

Another way to enable cacti is in the startup package:

In startup.xml:

                <RunScript>
                        <Script>scripts/enable_cacti.sh</Script>
                </RunScript>

enable_cacti.sh:

#!/bin/sh
mysql -u root -ppassword < scripts/enable_cacti.sql

enable_cacti.sql:

update cacti.host set disabled='' where id='2';

This usually catches is before the elastic IP is set.

-Ian

I can get it working for sys stats but no wowza infos… seems to be jmx communication buggy!

if i try 2.1.1 ami it’s so easy to get it all working :slight_smile:

but 2.1.2 in no fun!:mad:

i failed on 6 retry from small to large instances…

odd…

if i force my instance to start on us-east-1c … bingo!:slight_smile:

instant reporting (few sec) of my streaming…:smiley:

may be a zone problem?!:confused:

AMI ID: ami-26c62d4f

did someone changed the ami?.. or my brain? it looks ok now after starting 5 instances on Zone a c d… cant get zone b to start!

so… i am happy for now!

actually it’s all good!

if i get problems again i will mail you directly my instance public dns…

Thanks for your support!

I go it!

i ran 24 hrs buggy wowza graphing…cati… and got an idea… quite simple…:

service WowzaMediaServer stop and service WowzaMediaServer start!

restarting seems to update communication…

i ad for 24 hrs of this error in cacti… after restart it’s clean!

10/04/2010 10:27:05 AM - CMDPHP: Poller[0] Host[2] DS[22] WARNING: Result from CMD not valid. Partial Result: ERROR: java.io.IOExc

10/04/2010 10:27:05 AM - CMDPHP: Poller[0] Host[2] DS[21] WARNING: Result from CMD not valid. Partial Result: ERROR: java.io.IOExc

10/04/2010 10:27:03 AM - CMDPHP: Poller[0] Host[2] DS[20] WARNING: Result from CMD not valid. Partial Result: ERROR: java.io.IOExc

10/04/2010 10:27:03 AM - CMDPHP: Poller[0] Host[2] DS[19] WARNING: Result from CMD not valid. Partial Result: ERROR: java.io.IOExc

10/04/2010 10:27:02 AM - CMDPHP: Poller[0] Host[2] DS[13] WARNING: Result from CMD not valid. Partial Result: ERROR: java.io.IOExc

And does anybody know how can I enable caciti and change its password with startup package ?

Great question i like to Get it too…

also to get the local host enable at startup… would be great… and to get stats from edges automaticly getting adresses from load ballancer…

kind of overview of load ballanced origin edge…

I’m not sure how to enable cacti or set password in a startup package.

If you are using the Wowza Dynamic Load Balancer you can get an overview of edge usage from the load balancer HTTProvider:

http://[wowza-loadbalancer-address]:1935/loadbalancer?serverInfoXML

See the package readme for instructions for enabling this HTTProvider.

Richard

Yes it is a great data source… even better with this php script to clarify the data:

I push our drupal programmer here to get me some code to:

extract the ip’s from serverInfoXML to build an automatic web page to get the addresses of the origins and all edges, and for each servers bring a JW player window play the streams…

all of this to have a quick check on any servers connections count status and performances…

I also am only seeing network and system graphs, no Wowza graphs. Any suggestions?

And does anybody know how can I enable caciti and change its password with startup package ?

IF there are, I’m not seeing them. It just refers you to cacti.net which talks about a fresh install… I want to use the one that’s already set up.

"For detailed information about Cacti you can read more at: http://www.cacti.net/

Once activated on the Wowza Server it will begin to monitor and track information,"

I assume you mean page 24. I’m also assuming you’re referring to the part where explains how to connect

“http://[public-domain-name]:8080/cacti”

However, this just leads to a connection timed out so I’m assuming that this because cacti is not turned on. Am I missing something?

That was it! I needed to open port 8080.

Thanks for the help!

I am having this problem also with ami-26c62d4f

Can someone please tell me how to get the current connection count? I believe this used to work by browsing to port 1935, but now I just get this:

Wowza Media Server 2 for Amazon EC2 2.1.2 build24878

Got it thanks, would still be nice if we could fix the reporting…any ideas?