-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polling the Host Stops when sysDescr returns "noSuchObject" #366
Comments
I have figured out that the 7453f83 commit for issue #272 appears to be the change related to my issue. I tested by commenting out lines 445 and 446 in snmp.c and spine polling worked as before.
So it doesn't set the status to an error, but does generate the log and I see it several times in the debug:
I've applied this change to my copy of 1.2.27 since that is the same version of cacti i am running for testing. |
I have submitted PR 367 with the change I tested on version 1.2.27 |
Describe the bug
When updating from 1.2.16 to 1.2.22, I had some devices stop graphing, but spine 1.2.21 works fine. I packet capture the difference between polling the host between 1.2.21 and 1.2.22 and I see that the latter only polls the uptime and then sysDescr and stops. The packet capture shows the response is "noSuchObject" for either version.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect spine to receive the "noSuchObject" and continue gathering data like the versions previous to 1.2.22 did and continue to process the data.
Screenshots
If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
Compiling (please complete the following information):
Note: you can find glibc version by running
ldd --version
Note: if source is github, please include last commit reference
Additional context
I am migrating a CentOS 7 server to Rocky Linux 9, and I originally had this issue on the CentOS 7. Since I am rebuilding the server and trying to get everything right, I have been able to dig into problem and narrow it down to what I have found. Currently, the production server is running cacti-1.2.27 with spine-1.2.16. It appears I just happened to upgrade from 1.2.16 when 1.2.22 was the current version, and put it on a TODO when I noticed the issue a few days later and just used the previous working version of spine.
No idea if this is helpful, but I captured a log of both versions running against the host and was able to get a diff between the logs. Here is a screenshot of the portion I think shows one (-) gathering all the data while the other (+) stops after it gets the results for '.1.3.6.1.2.1.1.1.0' which would agrees with the packet capture. (should "with Status[1]" be on it's own line in 1.2.22?)
![Image](https://private-user-images.githubusercontent.com/24441474/410146766-0c751d31-9a49-4dc4-9cb1-5020c16ac1be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Mjc3ODcsIm5iZiI6MTczOTYyNzQ4NywicGF0aCI6Ii8yNDQ0MTQ3NC80MTAxNDY3NjYtMGM3NTFkMzEtOWE0OS00ZGM0LTljYjEtNTAyMGMxNmFjMWJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEzNTEyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZmZTgyMjM4MjYzMmE1YjVjYzU0NDcxNjM2ZjQ5NTg1YWU5NmQ1NDA0ZThmMzZjY2FlZjhiOWJiYTIxZWZlOTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._6-zwEz_9WhkGsc2m79Z7_ZI8_sqMK1MgAbxVDjl9cg)
The text was updated successfully, but these errors were encountered: