Cannot see new object

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
spearchukker
Posts: 4
Joined: Sun Jan 18, 2009 5:38 pm

Cannot see new object

Post by spearchukker »

We use cacti to graph disk usage on a host which has about 40 disks mounted. Recently some new disks were added and i tried to use add_graphs.php to add them into cacti, with no success. The disks are certainly mounted and I can see them with an snmpget.

If I craft the add_graph.php to list the devices:

$ php -q add_graphs.php --host-id=38 --graph-template-id=26 --graph-type=ds --snmp-query-id=8 --snmp-query-type-id=18 --snmp-field=hrStorageIndex --list-snmp-values

I can see all previous devices, but not the new devices.

Any suggestions?
spearchukker
Posts: 4
Joined: Sun Jan 18, 2009 5:38 pm

Cannot see new object

Post by spearchukker »

More on this problem:

The output from the command:

# php -q add_graphs.php --host-id=38 --graph-template-id=26 --graph-type=ds --snmp-query-id=8 --snmp-query-type-id=18 --snmp-field=hrStorageDescr --list-snmp-values

shows the following:

/data/fs1
/data/fs10
/data/fs11
/data/fs12
/data/fs13
/data/fs14
/data/fs15
/data/fs16
/data/fs17
/data/fs18
/data/fs19

Yet, a tcpdump running on the host in question does not show any snmp traffic resulting from the query. Maybe the add_device is querying the database and not the host directly as expected...
llow
Cacti User
Posts: 170
Joined: Fri Oct 05, 2007 5:34 pm

Post by llow »

poller_reindex_hosts.php

or do a reindex from the web interface on the data query in question
spearchukker
Posts: 4
Joined: Sun Jan 18, 2009 5:38 pm

Cannot see new object

Post by spearchukker »

Thanks very much, this fixed the problem.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests