-
-
Notifications
You must be signed in to change notification settings - Fork 413
Changing Multi-Device SNMP settings may not work as expected #4508
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
Comments
Sorry Cacti 1.2.19 |
What version 1.2.x? |
Yup just give in the second post 1.2.19 |
I'm working on this part of the code today. In the mean time, press the Repopulate Poller Cache link when editing the Device. |
Also, 1.2.x has a oush_out_hosts.php cli that'll let you do it enmass. |
Hmm I don't think we have the same 1.2.x branch, I can't find any push_out_hosts.php on which folder it should be ? |
<cacti_dir>/cli |
nop!! |
Download it from |
When you said 'Repopulate Poller Cache link' you mean 'Rebuild Poller Cache' Tha one with the warning about the time it can take to run ? |
From GitHub, first switch to the 1.2.x branch, then drill Don into the code. Or: cd /var/www/html
git clone https://github.com/cacti/cacti.git cacti.new
cp cacti.new/cli/push_out_hosts.php cacti/cli |
The time it takes to run depends on the number of graphs. How many graphs for this one device? |
If it's less than 10k graphs, it should be pretty quick. |
Ok no sure not 10k for one device ;) So I run the script, but still the device is shown as : |
Well that's something different. Remember, if using V3, we recommend you uninstall php-snmp and restart apache. |
If I remember right I can't use net-snmp, their is some difference on how it handle some query, and that give me a lot of trouble on one of my plugin, that's whay back to 1.x And except this little trouble everything is working fine with snmp-php |
Hmm Im not able to replicate this on the last 1.2.x branch
Do you get any errors ?
…On Fri, Dec 17, 2021 at 8:43 AM Arno Streuli ***@***.***> wrote:
If I remember right I can't use net-snmp, their is some difference on how
it handle some query, and that give me a lot of trouble on one of my
plugin, that's whay back to 1.x
And except this little trouble everything is working fine with snmp-php
—
Reply to this email directly, view it on GitHub
<#4508 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADGEXTF3O2SCEZGTHKOGEATURM5BPANCNFSM5KIMKTGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Thank you
Sean Mancini,(Six Sigma LBBIT®, ITIL,CEA-IT®,SCRUM SMPC®)
Owner/Principal Engineer
www.seanmancini.com
“Companies spend millions of dollars on firewalls, encryption, and secure
access devices, and it’s money wasted because none of these measures
address the weakest link in the security chain.”
*– Kevin Mitnick*
|
No none nowhere !! |
Post output of php -m |
[root@lslcacp02:~] # php -m [Zend Modules] |
By the way this situation has nothing to do with snmp, by my test you can change any value on more than 1 devices via the menu action, and It will be change when you look on the device but not applied. |
That was an important note. Thanks! |
Looking at the change settings API in the 1.2.x branch, those settings changes result in a call to |
One other thing. Are the devices being managed by another poller? |
Harg I know what's wrong. It's me! So sorry, let me explain: So if I change all SNMP settings from the action menu, it's works as it should be. So sorry! So quick question: isn't a good option when you change the setting from the menu action, it take the default value if it exist ? |
Changing SNMP settings on a bunch of device via 'choose an action' is not applied
Okay, @bmfmancini had the same issue and we were able to reproduce and work out a fix which is not committed. You should focus on |
I have to change the settings of many switch, passing from snmp v2 to snmpv3, so I did on all the switch physically, but on cacti I'm selecting all devices, and do an action -> change settings.
Selecting the new community, is only half done.
Even if the information is set on the device, it's not really apply.
when I go to a device I got:
SNMP Information
Host SNMP error
Ping Results
ICMP Ping Success (0.87 ms)
And I have to go to each device to do a save to be sure the new settings is apply.
The text was updated successfully, but these errors were encountered: