Templates for FreeBSD

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

DEVILro
Posts: 2
Joined: Thu Feb 23, 2017 5:07 pm

Re: Templates for FreeBSD

Post by DEVILro »

Of cores, do as you please with it
User avatar
vovas
Posts: 14
Joined: Wed Jan 30, 2019 2:14 pm
Contact:

Re: Templates for FreeBSD

Post by vovas »

I have an error after import freebsd template to cacti (1.2.1 version)
Image
How to fix it?
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Templates for FreeBSD

Post by macan »

vovas wrote:I have an error after import freebsd template to cacti (1.2.1 version)
Image
How to fix it?
Try this. It is exported from 1.1.38
Attachments
cacti_host_template_freebsd_device.xml
bsd
(670.73 KiB) Downloaded 151 times
Let the Cacti grow!
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Templates for FreeBSD

Post by Osiris »

There was a bug in 1.2.1. It's fixed in the latest develop. You would simply have to update lib/import.php from the Develop branch on GitHub.
Before history, there was a paradise, now dust.
User avatar
vovas
Posts: 14
Joined: Wed Jan 30, 2019 2:14 pm
Contact:

Re: Templates for FreeBSD

Post by vovas »

Osiris wrote:There was a bug in 1.2.1. It's fixed in the latest develop. You would simply have to update lib/import.php from the Develop branch on GitHub.
Thanks for answer. But there some interesting with import.php file size. I downloaded to my home folder from github and result is:

Code: Select all

root@beast:/home/vovas # ll -h /usr/local/share/cacti/lib | grep import
-rw-r--r--  1 www  www    68K Jan 31 17:10 import.php
root@beast:/home/vovas # ll -h | grep import
-rw-r--r--   1 root   wheel   787K Feb 11 12:53 import.php
Is it ok? :-?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Templates for FreeBSD

Post by netniV »

I think you've downloaded import.php from the root folder in GitHub not from the lib folder. :)
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
vovas
Posts: 14
Joined: Wed Jan 30, 2019 2:14 pm
Contact:

Re: Templates for FreeBSD

Post by vovas »

netniV wrote:I think you've downloaded import.php from the root folder in GitHub not from the lib folder. :)
Nice joke)) but I've asked about different file size between original and downloaded file. Anyway i fixed an import.php file :)

Is it possible to use standard snmpd solution instead bsnmpd? At readme.txt author use bsnmpd
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Templates for FreeBSD

Post by macan »

vovas wrote:
netniV wrote:I think you've downloaded import.php from the root folder in GitHub not from the lib folder. :)
Nice joke)) but I've asked about different file size between original and downloaded file. Anyway i fixed an import.php file :)

Is it possible to use standard snmpd solution instead bsnmpd? At readme.txt author use bsnmpd
It is possible (but bsnmpd is default in freebsd). You need configure sometnihg like this:
http://blog.davidvassallo.me/2011/10/08 ... -via-snmp/
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests