Darren,
I'm afraid not, you should delete them manually, or delete them all.
Javier
Darren Gibbs wrote:
Javier.
OK, now it's working with saved configs properly, my next dumb question is - how can I delete all the old "bad" configs I've got in the database?
I now have half a dozen for each device which are all exactly the same - I'd like to delete the extras, and save only the changed versions.
Is there some form of maintenance routing I can run to get rid of the extras?
Darren
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Javier Szyszlican Sent: Tuesday, 6 July 2004 12:22 PM Cc: [EMAIL PROTECTED] Subject: Re: [jffnms-users] Saved configurations - limits?
Darren,
The only thing that I can think of is making this don't work is that I'm escaping the ' to \' for inclusion in the DB and the DB may be returning it without the slash.
So, if your config has any ' character in it, that may trigger a difference, if it is, please replace line 85 of tftp_get_hosts_config.php to:
$config_data_old = str_replace ("'","\'",$aux["config"]);
And then try the tftp_get_hosts_config again.
If you don't have any ' characters in the config, I'm out of ideas and I'll need more debugs inside the JFFNMS code that will include your configuration, like doing a debug() call of the 2 variables compared.
Javier
--- "This message and any attachment to it is intended for the use of the individual or entity to whom it is addressed by the first sender and contains information which may be confidential and/or privileged.
If you receive this message and any attachment in error, please delete it immediately and notify the sender by electronic mail or telephone (61 2) 9451 0888. Unless you have been expressly authorised by the sender, you are prohibited from copying, distributing or using the information contained in this message and any attachment.
Sky Channel (ABN 77 009 136 010) is a part of the Tab Limited Group. Sky Channel is not responsible for any changes made to this mesage or any attachments other than those made by Sky Channel, or for the effects of changes made by others on the meaning of this message and any attachment.
Sky Channel does not represent that any attachment is free from computer viruses or defects and the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of any attachment.
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
