How make multiple update of device directly from Cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mheacher1
Posts: 11
Joined: Sun May 27, 2007 7:06 am

How make multiple update of device directly from Cacti

Post by mheacher1 »

I need to make an automatic update of multiple devices. I would like to see the data changed and then Validate with a button. And only after these the data change really in Cacti.

I know the update with the little green circle but it's only for one device at time!

I know the update with the cacti_reindex_hosts.php file but It's not possible to run it directly from Cacti, only in command.

I have made a change in host.php to update in database the op table sign < to > in poller_reindex for selected device. The update it's OK after the next poller but not for all device.
It's urgent I'm now in period of exam and I finish them in less thn two weeks!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please change the "Re-Index Method" e.g. to "Verify All Fields".
Reinhard
mheacher1
Posts: 11
Joined: Sun May 27, 2007 7:06 am

Post by mheacher1 »

Thanks but with the methode re-index "verify All" i can't make the update when i want. I would like to view diffrence between before change and after change. Then I want to validate the changes and only after this.

I appriciate if you response of this topic too :http://forums.cacti.net/about21508.html

best regrds

Heacher
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

In this case, you will have to do it manually or on a per host basis using

Code: Select all

php -q poller_reindex_hosts.php
Reinhard
mheacher1
Posts: 11
Joined: Sun May 27, 2007 7:06 am

Post by mheacher1 »

Hello,
I have tested with the reindex-method "verify-alls". I make a modification of ifAlias by telnet on the switch. I wait 15 min and nothing change in graph title (the old ifAlias remain)!! Why??
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Graph Management -> Reapply Suggested Names is required as well
Reinhard
mheacher1
Posts: 11
Joined: Sun May 27, 2007 7:06 am

Post by mheacher1 »

Doesn't work. Result no change.. But with reload data query it's OK. But I would like to make this for all my hosts not for only one at time!
mheacher1
Posts: 11
Joined: Sun May 27, 2007 7:06 am

Post by mheacher1 »

Do you now where is the problem? Why reindex method "Verify All Fields" with "Reapply Suggested Name" doesn't work.

Thanks a lot

Heacher
mheacher1
Posts: 11
Joined: Sun May 27, 2007 7:06 am

Post by mheacher1 »

Any ideas why doesn't work with all re-index method?

Thanks for your reply

Heacher
mheacher1
Posts: 11
Joined: Sun May 27, 2007 7:06 am

Post by mheacher1 »

I have tested with all method of re-index and reapply suggested name and nothinge update in the title of my graphs the ifAlias.
I need it for my exam...

Heacher
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests