DCHPNOFFERS fix question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bgee
Posts: 8
Joined: Thu Aug 29, 2013 5:23 pm

DCHPNOFFERS fix question

Post by bgee »

Read through the posts on DHCPNOFFERS received, and did what is in this post:

http://support.nagios.com/forum/viewtop ... ved#p28426

I did a iptables stop/start after applying the changes and lost the changes to the iptables. Of course reapplying the change cleared up the issue.

So the question is, will this be persistent if we restart the nagios server? If not, how can I make it persistent? I'm not a full network guy so I'm not sure of the commands to do so.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: DCHPNOFFERS fix question

Post by slansing »

Those tables changes should stick, at least with the command Scott showed. I wouldn't think that restarting would drop the alterations.
bgee
Posts: 8
Joined: Thu Aug 29, 2013 5:23 pm

Re: DCHPNOFFERS fix question

Post by bgee »

Restarted the server this morning for something else and it looks like those changes don't persist. Had to re-run the command.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: DCHPNOFFERS fix question

Post by abrist »

You will need to save the itables config:

Code: Select all

service iptables save
http://www.centos.org/docs/5/html/5.1/D ... aving.html
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bgee
Posts: 8
Joined: Thu Aug 29, 2013 5:23 pm

Re: DCHPNOFFERS fix question

Post by bgee »

Thanks, that did it. Since I don't adjust the networking features often, i'm never sure how to make them persistent.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: DCHPNOFFERS fix question

Post by abrist »

np. Have a great week!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked