Templates for FreeBSD

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

Moderators: Moderators, Developers

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

Re: Templates for FreeBSD

#31 Post by DEVILro » Mon Feb 27, 2017 2:02 pm

Of cores, do as you please with it

User avatar
vovas
Posts: 12
Joined: Wed Jan 30, 2019 2:14 pm
Contact:

Re: Templates for FreeBSD

#32 Post by vovas » Thu Jan 31, 2019 2:26 pm

I have an error after import freebsd template to cacti (1.2.1 version)
Image
How to fix it?

macan
Cacti User
Posts: 138
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Contact:

Re: Templates for FreeBSD

#33 Post by macan » Tue Feb 05, 2019 10:55 am

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 31 times

User avatar
Osiris
Cacti Pro User
Posts: 841
Joined: Mon Jan 05, 2015 10:10 am

Re: Templates for FreeBSD

#34 Post by Osiris » Thu Feb 07, 2019 5:54 pm

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: 12
Joined: Wed Jan 30, 2019 2:14 pm
Contact:

Re: Templates for FreeBSD

#35 Post by vovas » Mon Feb 11, 2019 5:03 am

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

[email protected]:/home/vovas # ll -h /usr/local/share/cacti/lib | grep import
-rw-r--r--  1 www  www    68K Jan 31 17:10 import.php
[email protected]:/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: 2808
Joined: Sun Aug 27, 2017 12:05 am

Re: Templates for FreeBSD

#36 Post by netniV » Tue Feb 12, 2019 5:08 am

I think you've downloaded import.php from the root folder in GitHub not from the lib folder. :)

User avatar
vovas
Posts: 12
Joined: Wed Jan 30, 2019 2:14 pm
Contact:

Re: Templates for FreeBSD

#37 Post by vovas » Wed Feb 13, 2019 4:59 am

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

macan
Cacti User
Posts: 138
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Contact:

Re: Templates for FreeBSD

#38 Post by macan » Wed Feb 13, 2019 5:11 am

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/

Post Reply