# How do I turn on Cacti

**URL:** https://community.wowza.com/t/how-do-i-turn-on-cacti/35485
**Category:** Wowza Streaming Engine
**Created:** [September 6, 2010, 3:04pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485 "2010-09-06T15:04:13Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Preston\_McFarland](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Preston\_McFarland](https://community.wowza.com/u/Preston_McFarland)
#### Post date: [September 6, 2010, 3:04pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/1 "2010-09-06T15:04:13Z")

</div>

In the WowzaMediaServerForEC2\_UsersGuide.pdf it says “Cacti is included in the Wowza AMIs but is turned off by default.”

Does anyone know how to turn it on?

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 6, 2010, 10:04pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/2 "2010-09-06T22:04:57Z")

</div>

There are instructions in that guide.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 6, 2010, 10:22pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/3 "2010-09-06T22:22:47Z")

</div>

Look on page 23 of this Guide:

[https://www.wowza.com/resources/WowzaMediaServerForEC2\_UsersGuide.pdf](https://www.wowza.com/resources/WowzaMediaServerForEC2_UsersGuide.pdf)

> Monitoring the Wowza Media Server on EC2 using Cacti
> 
> Introduction

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 6, 2010, 10:39pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/4 "2010-09-06T22:39:10Z")

</div>

Make sure port tcp port 8080 is open in your Security group, that might be your problem. Then follow these steps:

> Getting started with Cacti
> 
> 1. Open TCP port 8080 (instructions for opening ports are above in the „Testing your Instance‟ section.
> 
> 2. GoTo URL: http://[public-domain-name]:8080/cacti
> 
> 3. Login as:
> 
> User Name: admin
> 
> Password: password
> 
> 1. In the left hand column under the „Management‟ section click the link for „Devices‟
> 
> 2. On the „Management: Devices” page click the „Localhost‟ device in the „Description‟ column.
> 
> 3. Uncheck the „Disable Host‟ setting in the „General Host Options‟ section of the page. Then click the „Save‟ button at the bottom of the page.
> 
> Your server is now collecting data and can be viewed on the „Graph‟ tab. Because Cacti only collects data once every 60 seconds it will take a few minutes before your data will appear in the graphs.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 23, 2010, 11:34pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/5 "2010-09-23T23:34:15Z")

</div>

Which AMIs have you tried?

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 29, 2010, 7:44pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/6 "2010-09-29T19:44:39Z")

</div>

It is now here:

http://[wowza-ec2-dns]:8086/connectioninfo

You have to add username/password to /conf/admin.password file for access to this.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 29, 2010, 9:35pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/7 "2010-09-29T21:35:24Z")

</div>

Cacti works. You probably skipped a step, or didn’t wait long enough or didn’t set the range to short time in the cacti interface (try 30 minutes), or you didn’t enable port 8080 in the Security Group.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 30, 2010, 2:06pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/8 "2010-09-30T14:06:50Z")

</div>

Daniel,

Do you have an instance running now that has this problem? If so, please send us a a link to it (ec2 public dns) to support@wowza.com. Include a link to this post.

I tested that AMI with no zone and zone b, and it did work for me.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 30, 2010, 8:21pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/9 "2010-09-30T20:21:50Z")

</div>

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

Thanks for the update,

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [October 5, 2010, 12:08am UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/10 "2010-10-05T00:08:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [October 11, 2010, 6:07pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/11 "2010-10-11T18:07:45Z")

</div>

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

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [October 25, 2010, 5:41pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/12 "2010-10-25T17:41:51Z")

</div>

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

If you are using the Wowza [Dynamic Load Balancer](https://www.wowza.com/docs/how-to-get-dynamic-load-balancing-addon) you can get an overview of edge usage from the load balancer HTTProvider:

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

```

See the package readme for instructions for enabling this HTTProvider.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [June 23, 2011, 10:07am UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/13 "2011-06-23T10:07:42Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [November 22, 2011, 1:50pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/14 "2011-11-22T13:50:03Z")

</div>

I answered your other post with same question

Richard

---

<div class="post-metadata">

### Author: ![Ian\_Beyer](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Ian\_Beyer](https://community.wowza.com/u/Ian_Beyer)
#### Post date: [November 22, 2011, 7:56am UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/15 "2011-11-22T07:56:53Z")

</div>

Another way to enable cacti is in the startup package:

In startup.xml:

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

```

enable\_cacti.sh:

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

```

enable\_cacti.sql:

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

```

This usually catches is before the elastic IP is set.

-Ian

---

<div class="post-metadata">

### Author: ![Daniel\_Tremblay](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Daniel\_Tremblay](https://community.wowza.com/u/Daniel_Tremblay)
#### Post date: [September 23, 2010, 3:58pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/16 "2010-09-23T15:58:49Z")

</div>

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 🙂

but 2.1.2 in no fun!:mad:

i failed on 6 retry from small to large instances…

---

<div class="post-metadata">

### Author: ![Daniel\_Tremblay](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Daniel\_Tremblay](https://community.wowza.com/u/Daniel_Tremblay)
#### Post date: [September 29, 2010, 10:27pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/17 "2010-09-29T22:27:08Z")

</div>

odd…

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

instant reporting (few sec) of my streaming…😃

may be a zone problem?!😕

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!

---

<div class="post-metadata">

### Author: ![Daniel\_Tremblay](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Daniel\_Tremblay](https://community.wowza.com/u/Daniel_Tremblay)
#### Post date: [September 30, 2010, 3:20pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/18 "2010-09-30T15:20:06Z")

</div>

actually it’s all good!

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

Thanks for your support!

---

<div class="post-metadata">

### Author: ![Daniel\_Tremblay](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Daniel\_Tremblay](https://community.wowza.com/u/Daniel_Tremblay)
#### Post date: [October 4, 2010, 9:49am UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/19 "2010-10-04T09:49:05Z")

</div>

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_

---

<div class="post-metadata">

### Author: ![Daniel\_Tremblay](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Daniel\_Tremblay](https://community.wowza.com/u/Daniel_Tremblay)
#### Post date: [October 25, 2010, 12:07pm UTC](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485/20 "2010-10-25T12:07:30Z")

</div>

> 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…

[Next page](https://community.wowza.com/t/how-do-i-turn-on-cacti/35485.md?page=2)
