Search found 19 matches

by redneckgeek
Wed Apr 28, 2021 12:28 am
Forum: Help: General
Topic: Automation and device naming
Replies: 3
Views: 2573

Re: Automation and device naming

You are a scholar and a gentleman.. seems to work perfect. Hopefully I can manage any other tweaks from here.

/thanks very much
/rh
by redneckgeek
Tue Apr 27, 2021 2:21 am
Forum: Help: General
Topic: Automation and device naming
Replies: 3
Views: 2573

Re: Automation and device naming

Apologies.. Ok, running through the code... what I want to change is not the hostname.. It's the description field (or what shows up in the tree for the host). I want the description to be the dnsname. Oddly enough now that I've run through it a little I remember making this same mistake.. years ago...
by redneckgeek
Sat Apr 24, 2021 10:03 pm
Forum: Help: General
Topic: Automation and device naming
Replies: 3
Views: 2573

Automation and device naming

I've searched and had no joy. Way.. along time ago.. when automation was a plugin.. It would use retrieved DNS for the device name. Since 1.x I've not been able to get it to do this. I've got several thousand cable modems in an old cacti system and want to change servers, start clean etc. I can't fo...
by redneckgeek
Mon Jan 22, 2018 6:45 pm
Forum: Help: General
Topic: Graph template issue after Upgrading from Ubuntu distro
Replies: 4
Views: 626

Re: Graph template issue after Upgrading from Ubuntu distro

I copied the generate_graph_def_name() function from an earlier build and it resolved the issue.
/rh
by redneckgeek
Mon Jan 22, 2018 4:25 pm
Forum: Help: General
Topic: Graph template issue after Upgrading from Ubuntu distro
Replies: 4
Views: 626

Re: Graph template issue after Upgrading from Ubuntu distro

Looks like this is the same as viewtopic.php?f=21&t=58378 I just muddied it up with an upgrade all the way from 0.8.8f.

/rh
by redneckgeek
Fri Jan 19, 2018 1:07 pm
Forum: Help: General
Topic: Graph template issue after Upgrading from Ubuntu distro
Replies: 4
Views: 626

Graph template issue after Upgrading from Ubuntu distro

Background: Old Cacti installation on Ubuntu 16.04 using Ubuntu distributed package. Believe it was 0.8.8f before upgrade. Upgrade process was: Backup database and rrd's (just in case). comment out cron job Git clone current to /var/www/html, set permissions.. edit config.php to match original redir...
by redneckgeek
Thu Mar 16, 2017 5:41 pm
Forum: Plugin: (MAC Track)
Topic: Place Your Feature Requests & Bug Reports Here
Replies: 306
Views: 227371

Re: Place Your Feature Requests & Bug Reports Here

Cacti 1.0.6 Upgraded Database from .0.8.x Ubuntu 16.04 Created a new device through Add in Devices Tab for "general devices", not mactrack devices. Create worked ok, but any subsequent changes to the device would generate the following errors. This was the same for all devices.. I.E. I cou...
by redneckgeek
Thu Mar 16, 2017 12:04 pm
Forum: Plugin: (MAC Track)
Topic: Place Your Feature Requests & Bug Reports Here
Replies: 306
Views: 227371

Re: Place Your Feature Requests & Bug Reports Here

Cacti 1.0.6, upgraded database from 0.8.x Have two devices in the Mactrack devices that were in upgraded database, but am unable to add any additional devices. Appears that my database does not have a column for 'snmp_engine_id' in 'field list'. ?? /thanks 2017-03-16 09:58:12 - MACTRACK ERROR: Cacti...
by redneckgeek
Thu Mar 16, 2017 11:43 am
Forum: Help: General
Topic: Cacti 1.0.4 to 1.0.5 broke LDAP
Replies: 9
Views: 1557

Re: Cacti 1.0.4 to 1.0.5 broke LDAP

This seems to be fixed in 1.0.6 as of this morning.
/rh
by redneckgeek
Tue Mar 14, 2017 11:10 am
Forum: Help: General
Topic: Cacti 1.0.4 to 1.0.5 broke LDAP
Replies: 9
Views: 1557

Re: Cacti 1.0.4 to 1.0.5 broke LDAP

Agreed, remote: Counting objects: 12, done. remote: Compressing objects: 100% (12/12), done. remote: Total 12 (delta 2), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (12/12), done. From https://github.com/Cacti/cacti 0c488c3..b5a1d6f develop -> origin/develop Updating 0c488c3..b5a1d6f F...
by redneckgeek
Mon Mar 13, 2017 7:10 pm
Forum: Help: General
Topic: Cacti 1.0.4 to 1.0.5 broke LDAP
Replies: 9
Views: 1557

Re: Cacti 1.0.4 to 1.0.5 broke LDAP

Dogpile... same issue, same error. Local works fine. Ldap generates.. 2017-03-13 16:58:15 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php: 25 include)(/include/auth.php: 82 include)(/auth_login.php: 237 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace) 2017-03-13 16:58:15 - ERROR P...
by redneckgeek
Mon Nov 14, 2016 1:44 pm
Forum: Plugin: (Threshold)
Topic: Cant create Thresholds Thold0.5 Cacit 0.8.8f
Replies: 4
Views: 4155

Re: Cant create Thresholds Thold0.5 Cacit 0.8.8f

I was able to get around the error by changing the Threshold Type to "Time Based" and entering Values for everything, then changing it back to High/Low Values after it got created. Now.. they just don't work.. http://forums.cacti.net/viewtopic.php?f=17&t=56571 I came across the work ar...
by redneckgeek
Fri Nov 11, 2016 3:18 pm
Forum: Plugin: (Threshold)
Topic: No down Host email no Threshold triggered
Replies: 2
Views: 3701

No down Host email no Threshold triggered

Ubuntu 16.04, Cacti 0.8.8f, PHP 5.6.27 Fixed various issues with this setup MYSQL strict etc. etc. all working now except thold. The only odd message I get in the logs is this: PHP Warning: mysql_query(): A link to the server could not be established in /usr/share/cacti/site/plugins/discovery/setup....
by redneckgeek
Sat Aug 20, 2016 1:34 am
Forum: Help: General
Topic: SNMP connection error
Replies: 6
Views: 1932

Re: SNMP connection error

Don't know if you figured this out, but the device does not respond to any of the standard device info queries. It only responds to the items listed in the OID text file. Set it up as a icmp host, then create graphs for it using the OIDs and the "SNMP - Generic OID Template" as a base. roo...
by redneckgeek
Mon Aug 08, 2016 11:49 pm
Forum: Plugin General
Topic: Discovery Plugin, Ubuntu 16.04LTS, PHP7
Replies: 2
Views: 1988

Discovery Plugin, Ubuntu 16.04LTS, PHP7

Installed new box with Ubuntu 16.04LTS, apt-get install cacti.. all good seems to work. Install a couple plugins (thold, discovery) all seems ok. Setup Discovery Template, setup scan.. wait... No devices discovered. Check logs: poller-error.log:PHP Fatal error: Uncaught Error: Call to undefined func...