0.8.6.d missing hardware address/status/type in data query
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ralf,
The snmp.php is enough. Please send a note on your php and net-snmp versions along with your OS version and we can close the case.
Larry
The snmp.php is enough. Please send a note on your php and net-snmp versions along with your OS version and we can close the case.
Larry
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?
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?
Good morning!
The system is fedora core 3 with
net-snmp-5.2.1-10.FC3
php-4.3.11-2.5
php-snmp-4.3.11-2.5
BTW: I was able to reproduce the problem on a debian 3.1 (testing) host.
php4-common 4.3.10-2
php4-snmp 4.3.10-2
snmp 5.1.2-6.1
Will there be a offical patch I should look for, or should I just stay with snmp.php from 0.8.6c until 0.8.6e will be out?
Ralf
The system is fedora core 3 with
net-snmp-5.2.1-10.FC3
php-4.3.11-2.5
php-snmp-4.3.11-2.5
BTW: I was able to reproduce the problem on a debian 3.1 (testing) host.
php4-common 4.3.10-2
php4-snmp 4.3.10-2
snmp 5.1.2-6.1
Will there be a offical patch I should look for, or should I just stay with snmp.php from 0.8.6c until 0.8.6e will be out?
Ralf
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ralf,
Just stay at snmp.php from 0.8.6c for now. I might want you to test moving forward. It's only the walks that are problematic. So, polling should not be affected per se.
Larry
Just stay at snmp.php from 0.8.6c for now. I might want you to test moving forward. It's only the walks that are problematic. So, polling should not be affected per se.
Larry
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Are these snmpv2 devices?
TheWitness
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?
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?
I tested this with 2 Solaris server running net-snmp. They are configured in cacti as V1 devices.TheWitness wrote:Are these snmpv2 devices?
I tried to reproduce this on a Cisco switch (~60 ports). But now I have the the same issue with the 0.8.6c snmp.php. I'm confused.
1 1 FastEthernet0/1 Fa0/1 SMBTP002 6 100000000
2 1 FastEthernet0/2 Fa0/2 VMBTM035 6 100000000
3 2 FastEthernet0/3 Fa0/3 6 10000000
4 2 FastEthernet0/4 Fa0/4 6 10000000
...
I already increased the SNMP Timeout to 1000ms, but this did't help. Changing the device to snmp v2 hasn't changed the behavior.
Ralf
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That's what I thought. If you have php_snmp installed, it is their problem. If it isn't installed, it is likely one of our optimization settings.
Please verify that you have php_snmp installed:
"php -m"
You should have a line "snmp" in the output. If that is the case, you may either have to remake php with additional options, or obtain an upgrade from your supplier of RPM's.
If you arn't in fact running php_snmp, then there may be an issue with lib/snmp.php. Let's see.
TheWitness
Please verify that you have php_snmp installed:
"php -m"
You should have a line "snmp" in the output. If that is the case, you may either have to remake php with additional options, or obtain an upgrade from your supplier of RPM's.
If you arn't in fact running php_snmp, then there may be an issue with lib/snmp.php. Let's see.
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?
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?
$ php -m | grep snmpTheWitness wrote:That's what I thought. If you have php_snmp installed, it is their problem. If it isn't installed, it is likely one of our optimization settings.
Please verify that you have php_snmp installed:
"php -m"
You should have a line "snmp" in the output. If that is the case, you may either have to remake php with additional options, or obtain an upgrade from your supplier of RPM's.
If you arn't in fact running php_snmp, then there may be an issue with lib/snmp.php. Let's see.
TheWitness
snmp
I disabled php_snmp_support in config.php and got the same results, see one of my first posts in this thread.
$config["php_snmp_support"] = function_exists("snmpget");
/* $config["php_snmp_support"] = false; */
Right now php_snmp is enabled. I'll disable it and see waht happens.
Ralf
Ok, I disabled php_snmp support and tried the 0.8.6e snmp.php file.
$config["php_snmp_support"] = false;
Cacti Variables
Operating System: unix
PHP SNMP Support: no
and got the same results. Sometimes the verbose info about status/type/mac is there, sometimes only the numeric values without mac.
Then I replaced snmp.php with snmp.php from 0.8.6c again, hit the green reload button and the text info was there again! I tried this 5 times in a row, the info was always there.
Next I replaced snmp.php with snmp.php from 0.8.6e again, hit the reload button and the text info was gone, onyl numerical values. Tried this more than 10 times, no change. The device I used for the query was a Sun box with just a few interfaces, not a switch with a huge amount of ports.
If I understand you correct, snmp.php is not involved in the snmp queries if I use php_snmp support. php_snmp has been active for the last weeks and the problem occured sometimes too.
Now php_snmp is disabled and the problem is still there. It seems to happen less often if I use snmp.php from cacti 0.8.6c, but I have seen this problem with 0.8.6c too. Is it possible that the problem is not at this point? Maybe a timing problem?
Ralf
$config["php_snmp_support"] = false;
Cacti Variables
Operating System: unix
PHP SNMP Support: no
and got the same results. Sometimes the verbose info about status/type/mac is there, sometimes only the numeric values without mac.
Then I replaced snmp.php with snmp.php from 0.8.6c again, hit the green reload button and the text info was there again! I tried this 5 times in a row, the info was always there.
Next I replaced snmp.php with snmp.php from 0.8.6e again, hit the reload button and the text info was gone, onyl numerical values. Tried this more than 10 times, no change. The device I used for the query was a Sun box with just a few interfaces, not a switch with a huge amount of ports.
If I understand you correct, snmp.php is not involved in the snmp queries if I use php_snmp support. php_snmp has been active for the last weeks and the problem occured sometimes too.
Now php_snmp is disabled and the problem is still there. It seems to happen less often if I use snmp.php from cacti 0.8.6c, but I have seen this problem with 0.8.6c too. Is it possible that the problem is not at this point? Maybe a timing problem?
Ralf
Something strange. If I enable php_snmp with
$config["php_snmp_support"] = function_exists("snmpget");
/* $config["php_snmp_support"] = false; */
and see
Cacti Variables
Operating System: unix
PHP SNMP Support: yes
the snmp.php file seems to be still 'in use'. If I take a look at the access time of the snmp.php file, it is updated every time I hit the reload button, or a regular poller run occurs.
$ ls -lut snmp.php
-rw-r--r-- 1 cactiuser users 8772 22. Jun 09:49 snmp.php
$ ls -lut snmp.php
-rw-r--r-- 1 cactiuser users 8772 22. Jun 09:50 snmp.php
Why this?
Ralf
$config["php_snmp_support"] = function_exists("snmpget");
/* $config["php_snmp_support"] = false; */
and see
Cacti Variables
Operating System: unix
PHP SNMP Support: yes
the snmp.php file seems to be still 'in use'. If I take a look at the access time of the snmp.php file, it is updated every time I hit the reload button, or a regular poller run occurs.
$ ls -lut snmp.php
-rw-r--r-- 1 cactiuser users 8772 22. Jun 09:49 snmp.php
$ ls -lut snmp.php
-rw-r--r-- 1 cactiuser users 8772 22. Jun 09:50 snmp.php
Why this?
Ralf
Who is online
Users browsing this forum: No registered users and 0 guests