- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Re: SNMP configuration disappearing
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SNMP configuration disappearing
Hello,
I have added new SNMP IP in firewall via CLI like add snmp traps receiver X.X.X.X version v2 community Y.Y.Y.Y but after sometimes its automatically disappearing the configuration from device.
Please let me if you have any idea about this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unlike the WebUI, when configuring via clish, save config must be executed to make configuration changes persistent.
Otherwise they won’t be persistent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
after adding the new SNMP IP obviously we have to save the configuration.
I have saved the configuration save config command.
then logged off and logged in Back 30 min later configuration will be disappeared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you've, in fact made these changes as you've said, there should be evidence of this in /var/log/messages.
Likewise, if someone is changing it back, there should be evidence there as well.
Also, when you issue the necessary configuration via clish, you should see it reflected in /etc/syslog.conf.
If you don't, then do an lsattr /etc/syslog.conf and see if the "i" flag is shown (immutable).
If it is, then any change you make in Gaia won't be reflected.
Then you can run chattr -i /etc/syslog.conf to remove it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi PhoneBoy,
Thanks for update, I have run the above command and below are the result.
1. I have checked the logs for stat /etc/syslog.conf and below are the result.
Access: 2021-09-08 10:58:18.000000000 +1000
Modify: 2016-10-21 05:25:25.000000000 +1100
Change: 2016-10-21 05:25:25.000000000 +1100
2, And i have run the this command lsattr /etc/syslog.conf to check the flag and below are the result.
------------- /etc/syslog.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What about when you make the config change via clish?
Can you see that /etc/syslog.conf has changed?
Can you see those changes mentioned in /var/log/messages?
And when the change is reverted, do you see changes being undone?
Also, what version/JHF level is the gateway in question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Issue got resolved by removing old scrip from device. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good to know, thanks for updating us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Phoneboy made a very good point...clish always requires entering "save config" after you are done configuring things. Without it, it wont save anything.
- Tags:
- gaia
