|
|
| Author |
Message |
royce Cacti User
Joined: 29 Dec 2004 Posts: 79 Location: Sweden
|
Posted: Wed May 18, 2005 1:48 am Post subject: |
|
|
I have no idea. Try do a search on this forum for the errors.
Christofer
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Wed May 18, 2005 3:33 am Post subject: |
|
|
| jbiel wrote: | Warning: Variable passed to each() is not an array or object in /var/apache/htdocs/cacti/lib/data_query.php on line 490
Warning: Cannot modify header information - headers already sent by (output started at /var/apache/htdocs/cacti/lib/data_query.php:490) in /var/apache/htdocs/cacti/host.php on line 121
|
jbiel,
I remember a similar error I had in the past. It may be related to a file access problem (chmod ...). I'm pretty sure it does not relate to the templates themselves (as I'm using them without any problems)
good luck
Reinhard
|
|
| Back to top |
|
 |
bdearlove
Joined: 09 Jun 2005 Posts: 14
|
Posted: Wed Jun 22, 2005 9:09 am Post subject: Perfect! |
|
|
| Great. This Worked perfectly. I just wanted to say thanks!
|
|
| Back to top |
|
 |
cybersloth
Joined: 02 Aug 2005 Posts: 5
|
Posted: Tue Aug 02, 2005 7:37 am Post subject: Are the scripts the latested upto date? |
|
|
Hi all,
Ive installed the scripts you have listed here and have a questions..
1. Are the scripts listed here the latest? as looking at follow ups looks like changes have been made? to correct data gathering and display?!
2. The port we are monitoring is 1GBit and I know the port is currently running at around 512Mbit.. Looking at Broc1.jpg below is showing me RX Words is running at 5 Units? but looking at the other Current: items I can see TX Words at 612.00 m ?!! why dont we see that on the chart and what are the Units Per Second Really showing me? is the small m Mbits per seconds and the capital M MBytes per second? look at Broc2.jpg how the large Spike for TX 1.8M has killed the other detail?
Thanks Rob
| Description: |
|
| Filesize: |
68.44 KB |
| Viewed: |
6901 Time(s) |

|
| Description: |
|
| Filesize: |
66.4 KB |
| Viewed: |
6901 Time(s) |

|
|
|
| Back to top |
|
 |
royce Cacti User
Joined: 29 Dec 2004 Posts: 79 Location: Sweden
|
Posted: Wed Aug 03, 2005 4:04 am Post subject: |
|
|
m = milli
M = mega
What should be done is some maths in order to get the correct values. Read the thread, reset the MAX and MIN values in the datasources, create some calculations to get the Words in bits instead of the values you see today.
When you feel your values are correct. Post your new templates to the thread.
Currently I'm overwelmed with work. Quite frankly, I dont have the time to do this myself.
Christofer.
|
|
| Back to top |
|
 |
ScOp3 Cacti User
Joined: 03 Aug 2005 Posts: 59 Location: Cologne Germany
|
Posted: Fri Sep 16, 2005 10:13 am Post subject: |
|
|
The previous mentioned CDEF seems to work fine. My Storage Guys are satisfied with the results.
I added the fixes for the MaxValues and also added a graph which is being generated by the above mentioned CDEF.
I exported the templates so you guys might give them a try.
Thanks for those templates btw Royce, you saved me a LOT of work.
Greetings
ScOp3
EDIT: Attachment deleted - try the new one below.
Last edited by ScOp3 on Wed Sep 21, 2005 3:16 am; edited 1 time in total |
|
| Back to top |
|
 |
royce Cacti User
Joined: 29 Dec 2004 Posts: 79 Location: Sweden
|
Posted: Sun Sep 18, 2005 11:41 am Post subject: |
|
|
Thanks! Good work!
/C
|
|
| Back to top |
|
 |
jvlalonde
Joined: 21 Mar 2005 Posts: 14
|
Posted: Tue Sep 20, 2005 5:46 am Post subject: export |
|
|
Could you please post the whole host export of your updated Brocade FC Switch template.
Otherwise I'll have to downgrade to import the first release, upgrade and the import your updated version, 'cause I'm still facing HASH Errors during the import. I'm running 0.8.6g.
Rgds,
Joris
|
|
| Back to top |
|
 |
ScOp3 Cacti User
Joined: 03 Aug 2005 Posts: 59 Location: Cologne Germany
|
Posted: Tue Sep 20, 2005 8:14 am Post subject: Re: export |
|
|
| jvlalonde wrote: | Could you please post the whole host export of your updated Brocade FC Switch template.
Otherwise I'll have to downgrade to import the first release, upgrade and the import your updated version, 'cause I'm still facing HASH Errors during the import. I'm running 0.8.6g.
Rgds,
Joris |
I will give that a try tomorrow, when i am back at work. I just did export template in the gui. I will have a look if there are different ways to do it.
|
|
| Back to top |
|
 |
jvlalonde
Joined: 21 Mar 2005 Posts: 14
|
Posted: Tue Sep 20, 2005 9:09 am Post subject: export |
|
|
| Thanks.
|
|
| Back to top |
|
 |
ScOp3 Cacti User
Joined: 03 Aug 2005 Posts: 59 Location: Cologne Germany
|
Posted: Wed Sep 21, 2005 3:15 am Post subject: |
|
|
Updated Host Template for Brocade Switches.
The previous template had a bug in calculation this one should be better.
Anyway feel free the check it out and correct me if i am wrong.
| Description: |
|
| Filesize: |
18.9 KB |
| Viewed: |
6706 Time(s) |

|
| Description: |
Brocade Interfaces.xml
should be in resources/snmp_queries |
|
 Download |
| Filename: |
brocade_interfaces.zip |
| Filesize: |
930 Bytes |
| Downloaded: |
1442 Time(s) |
| Description: |
Updated Brocade Silkworm Host Template
Includes MaxValue Fix, FanFix and Throughput Calcs in Bytes |
|
 Download |
| Filename: |
cacti_host_template_brocade_fc_switch-092105.zip |
| Filesize: |
26.94 KB |
| Downloaded: |
1370 Time(s) |
Last edited by ScOp3 on Wed Sep 21, 2005 5:46 am; edited 1 time in total |
|
| Back to top |
|
 |
jvlalonde
Joined: 21 Mar 2005 Posts: 14
|
Posted: Wed Sep 21, 2005 4:32 am Post subject: new version |
|
|
Hi,
I'm still unable to get it import in both versions of cacti I have installed:
086c & 086g.
Which version do you used to export the template?
Rgds,
-Joris
|
|
| Back to top |
|
 |
ScOp3 Cacti User
Joined: 03 Aug 2005 Posts: 59 Location: Cologne Germany
|
Posted: Wed Sep 21, 2005 4:42 am Post subject: |
|
|
Did you copy the brocade_interfaces.xml from the first post into you're "resources/snmp_queries"? before you did the import?
I exported the template in 0.8.6g with -> Export Templates -> Host Template including dependencies and then saved it locally. So that should be okay imho.
Edit: I added the brocade_interface.xml in my post above.
|
|
| Back to top |
|
 |
jvlalonde
Joined: 21 Mar 2005 Posts: 14
|
Posted: Wed Sep 21, 2005 7:41 am Post subject: import |
|
|
Yes, I copied it b4.
On 086c I got: Error: XML: Hash version does not exist.
On 086g: Error: XML: Cacti version does not exist.
Strange...
|
|
| Back to top |
|
 |
ScOp3 Cacti User
Joined: 03 Aug 2005 Posts: 59 Location: Cologne Germany
|
Posted: Wed Sep 21, 2005 8:38 am Post subject: |
|
|
| Sorry but i have no idea what is wrong. I remember reading something about the Version in some other thread. Maybe someone else can post if it worked for him.
|
|
| Back to top |
|
 |
|