After upgrade to 0.8.7 SNMP - disk graphs are empty

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

Moderators: Developers, Moderators

Beaujolais
Posts: 30
Joined: Fri Apr 15, 2005 7:34 am
Location: Canada

Post by Beaujolais »

OK, thank you.

That fix made the errors go away, but the disk graphs are still empty. The graphs are being created with, but no chars ..zero values for everything.

The applied fix

Code: Select all

        $scratch = cacti_snmp_get($snmp_hostname,
                $snmp_community,
                ($oid[0][1] . "." . $cacti_request_index),
                $snmp_version,
                $snmp_username,
                $snmp_password,
                "",
                "",
                "",
                "",
                $snmp_port,
                $snmp_timeout);
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please post your DEBUG pass for this. Also, run from the command line and show me the output. Do you know how to run the script server in debug mode?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Beaujolais
Posts: 30
Joined: Fri Apr 15, 2005 7:34 am
Location: Canada

Post by Beaujolais »

TheWitness wrote: Do you know how to run the script server in debug mode?
Please advise, I'm reaching my limits here ;)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Oh, one other thing, make sure you also perform the following:

1) Copy the original <path_cacti>/resource/script_server from the installation tarball to your installation
2) Repopulate your poller cache

I have double audited the script and it looks fine. So, it must be that your poller cache is not in line with the structure of the script. Although, I have been wrong before.

BTB, even with this bug, my graphs never stopped. However, the script should be updated regardless.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Beaujolais
Posts: 30
Joined: Fri Apr 15, 2005 7:34 am
Location: Canada

Post by Beaujolais »

Here it is, hopefully I've done it right.
Mind, I've replaced ss_host_disk from this thread already http://forums.cacti.net/viewtopic.php?t=23925 ...should I put back the original one?

I've replaced the script_server dir from tarball as advised.
To repopulate the poller cache I assume you mean System Utilities -> Rebuild Poller Cache ...I did that too.


Here is the output:

Code: Select all

 # php ./script_server.php
PHP Script Server has Started - Parent is cmd
/srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.10.2 5 2:161:500:public:::::: get total 31
0
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I am concerned about "get total 31". Please reindex the host and see if this is still 31. Do you have that many disks?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Beaujolais
Posts: 30
Joined: Fri Apr 15, 2005 7:34 am
Location: Canada

Post by Beaujolais »

No, there are 3 disks with some 3 or 4 partitions each.

How would I re-index the host?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Click the green circle when editing the host.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Beaujolais
Posts: 30
Joined: Fri Apr 15, 2005 7:34 am
Location: Canada

Post by Beaujolais »

Still 31 for the / partition.

I'm going to re-install from scratch and re-create everything and verify after each step so see where it fracks up!

Thanks for your help, I really appreciate it.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests