|
|
| Author |
Message |
TheWitness Developer
Joined: 14 May 2002 Posts: 9440 Location: MI, USA
|
Posted: Fri May 18, 2007 8:58 pm Post subject: |
|
|
The template was likely created in either "I" or "J". You can correct this by either 1) upgrading, 2) adding the hash values to your include/config_arrays.php I'm pretty sure.
TheWitness |
|
| Back to top |
|
 |
ddouma
Joined: 06 Aug 2006 Posts: 48
|
Posted: Fri May 18, 2007 9:06 pm Post subject: |
|
|
| For now option 2 would be the fastest way, do I need to add one of those long hash code into the config_arrays.php? |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9440 Location: MI, USA
|
Posted: Fri May 18, 2007 9:09 pm Post subject: |
|
|
No. Give me a second and I will show you.
TheWitness |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9440 Location: MI, USA
|
Posted: Fri May 18, 2007 9:10 pm Post subject: |
|
|
From 0.8.6j:
| Code: | $hash_version_codes = array(
"0.8.4" => "0000",
"0.8.5" => "0001",
"0.8.5a" => "0002",
"0.8.6" => "0003",
"0.8.6a" => "0004",
"0.8.6b" => "0005",
"0.8.6c" => "0006",
"0.8.6d" => "0007",
"0.8.6e" => "0008",
"0.8.6f" => "0009",
"0.8.6g" => "0010",
"0.8.6h" => "0011",
"0.8.6i" => "0012",
"0.8.6j" => "0013"
); |
TheWitness |
|
| Back to top |
|
 |
ddouma
Joined: 06 Aug 2006 Posts: 48
|
Posted: Fri May 18, 2007 9:11 pm Post subject: |
|
|
Lol I did that it says now:
Error: XML: Generated with a newer version of Cacti.
I think I should upgrade ^^ |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9440 Location: MI, USA
|
Posted: Fri May 18, 2007 9:17 pm Post subject: |
|
|
Go figure. I think that's a good Idea. It's not as dificult as you think. I simply do the following:
Oh, and do it between polls....
1) Backup your web site. Don't worry about the RRA's.
2) Untar the distribution somewhere like "/var/www/html/cacti.new" and make sure the config.php and cacti.log files are deleted.
2.5) Apply the patches to the cacti.new directory.
3) Then do the following "cp -rp /var/www/html/cacti.new/* /var/www/html/cacti"
4) Copy the include/config.php.dist to include/config.php and change the ID and password to match you system.
5) Refresh your browser.
It's that easy (OH UNLESS YOU ARE RUNNING THE PLUGIN ARCHITECTURE).
TheWitness |
|
| Back to top |
|
 |
ddouma
Joined: 06 Aug 2006 Posts: 48
|
Posted: Fri May 18, 2007 9:19 pm Post subject: |
|
|
I'm running the plugin thing .
But I can install it easyly again.
Would about the stats? Will they get lost, or remain they with all devices in the mysql db? |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9440 Location: MI, USA
|
Posted: Fri May 18, 2007 9:52 pm Post subject: |
|
|
Between these releases there is no significant database changes. Therefore, you should be just fine.
TheWitness |
|
| Back to top |
|
 |
ddouma
Joined: 06 Aug 2006 Posts: 48
|
Posted: Sat May 19, 2007 8:19 am Post subject: |
|
|
ok thanks I will try, I keep you posted  |
|
| Back to top |
|
 |
ddouma
Joined: 06 Aug 2006 Posts: 48
|
Posted: Sun May 20, 2007 5:41 pm Post subject: |
|
|
Updated and works... thanks! |
|
| Back to top |
|
 |
Mika2006 Cacti User
Joined: 03 May 2007 Posts: 165
|
Posted: Mon May 21, 2007 3:05 am Post subject: |
|
|
| i don't understand what exaclty make this plugin please someon can explain funtion? |
|
| Back to top |
|
 |
ddouma
Joined: 06 Aug 2006 Posts: 48
|
Posted: Mon May 21, 2007 3:34 am Post subject: |
|
|
| What don't you understand? |
|
| Back to top |
|
 |
neal860
Joined: 22 May 2007 Posts: 1
|
Posted: Tue May 22, 2007 1:21 pm Post subject: |
|
|
I cannot seem to get this to work. I have read everything I could find and still cant get any SNMP data out of my windows box.
Running cacti 0.8.6j on Fedora Core 4.
Getting snmp data for interfaces and disk usage but nothing for windows services on windows 2003 server.
this is all I get
+ Running data query [10].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_server/win_services.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/scripts/win_services.php w2k3host public 2 2 index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/win_services.php w2k3host public 2 2 query index'
+ Found data query XML file at '/var/www/html/resource/script_server/win_services.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/win_services.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/win_services.xml' |
|
| Back to top |
|
 |
phantom_rgs
Joined: 16 Jan 2006 Posts: 38 Location: Brasil
|
Posted: Mon Jun 04, 2007 8:50 am Post subject: |
|
|
Hi, I'm installing the new version of cacti J.
I have the problem of service started shows 0 = stopped. what specific changes i have to made it?
i read posts and not understand.
help please.
thanks |
|
| Back to top |
|
 |
metroplex
Joined: 27 Jun 2007 Posts: 1
|
Posted: Wed Jun 27, 2007 3:11 am Post subject: |
|
|
Guys please excuse my ignorance, I cant get this to graph!
I am getting
| Code: |
+ Running data query [10].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/cacti/resource/script_server/win_services.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/cacti/scripts/win_services.php (INFO OMITTED) 2 10 index'
+ Executing script query '/usr/bin/php -q /var/www/cacti/scripts/win_services.php (INFO OMITTED) 2 10 query index'
+ Found item [ServiceIndex='MySQL'] index: 5.77.121.83.81.76
+ Found item [ServiceIndex='Server'] index: 6.83.101.114.118.101.114
+ Found item [ServiceIndex='HTTP SSL'] index: 8.72.84.84.80.32.83.83.76
+ Found item [ServiceIndex='Event Log'] index: 9.69.118.101.110.116.32.76.111.103
+ Found item [ServiceIndex='DNS Client'] index: 10.68.78.83.32.67.108.105.101.110.116
+ Found item [ServiceIndex='DNS Server'] index: 10.68.78.83.32.83.101.114.118.101.114
+ Found item [ServiceIndex='DHCP Client'] index: 11.68.72.67.80.32.67.108.105.101.110.116
+ Found item [ServiceIndex='Workstation'] index: 11.87.111.114.107.115.116.97.116.105.111.110
+ Found item [ServiceIndex='SNMP Service'] index: 12.83.78.77.80.32.83.101.114.118.105.99.101
+ Found item [ServiceIndex='Windows Time'] index: 12.87.105.110.100.111.119.115.32.84.105.109.101 |
But I don't know what to do from here!!
how do I make the graph???
I tried 'create graphs for this host' I get all the services showing up, i select all of them, but it tries to make a graph for each service!
I am doing something terribly wrong, can someone please help me?
Thanks!! |
|
| Back to top |
|
 |
|