Welcome, Guest. Please login or register.

Author Topic: Email Config changes  (Read 2506 times)

paulsl

  • Guest
Email Config changes
« on: November 04, 2010, 03:30:18 PM »
Howdy there

It is a bit of a hack as it doesn't check user permissions(that I know of) it just sends the mail out to all people with mail addresses, the same as for reboots.
But is quite handy if you are doing backups of configs with nedi and want to know when configs do change and who changed them.

(to know who changed them either local authentication has to be enabled or tacacs/radius)
anyway to the crux.
 in libdb-msq.pl on line 384 before close brace
add
print &mon::SendMail("Config Change","$dv  - Config changed ($len chars) \n ::$chg");

all this does is when nedi updates the changed table it also creates a mail and posts this off.
Might be a plan to take out the "::$chg" if you are unhappy about config over email, so just the alrt that the config has changed on that host is sent.

Hope it helps, if anyone wants to discuss if this is a good item to include or not( permissions and/or include or exclude config change ) would be cool to look at it.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2749
    • View Profile
    • NeDi
Re: Email Config changes
« Reply #1 on: November 06, 2010, 03:56:00 PM »
Surely a good idea and easily added to "notify" with a "C". A more recent feature is this default view in Devices-Config (see attached). Will be working in the next release...tx
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo