Hello,
I'm using FreeBSD 6.0 with few jails. One of them contain production site.
It occurred that I need to provide some statistical data.
in the host environment I do not want to install any www server or php and mysql (tools necessary for cacti to work) so for security reasons I’ve installed cacti on one of my jails, but what I would like to do is to gather data from my host environment (load, processes, disk usage, ...).
I suppose that I should create and update rrd file in my host environment and place it at the accessible for jail, area of hard drive and then somehow configure cacti to use this, say "external" rrd. The thing is, I was unable to properly fill rrd using snmp...
Currently cacti works fine, but it gathers data only within one jail what is not very useful situation, because it does no bring any real information’s about situation of entire server
Can anybody tell me how am I supposed to configure it?
crim
jailed cacti
Moderators: Developers, Moderators
jailed cacti
FreeBSD - The power to serve.
-
- Cacti User
- Posts: 311
- Joined: Tue Jun 29, 2004 12:52 pm
- Location: Indiana
If you are ok with installing net-snmp / ucd-snmp on the host system that you could set up cacti in a jail to query the "localhost" via snmp and then use the SNMP templates to set up your graphs. (I would recommend this method). If you are really concerned about security, use SNMP v3.
If that won't work than you need to set up some cron job script (pick your poision, perl, tck/tl, bash...) to run in the host environment that either directly creates the RRD files, or places the information in the cacti jail so you can create queries that read the information and graph it.
If that won't work than you need to set up some cron job script (pick your poision, perl, tck/tl, bash...) to run in the host environment that either directly creates the RRD files, or places the information in the cacti jail so you can create queries that read the information and graph it.
Dave
-
- Cacti User
- Posts: 311
- Joined: Tue Jun 29, 2004 12:52 pm
- Location: Indiana
Yeah. That's basically what I'm suggesting.
If you search the forums / documentation you should be able to find plenty of help installing / configuring snmp.
Cacti Manual
You can also search the Information / HowTo's section for availiable guides.
If you search the forums / documentation you should be able to find plenty of help installing / configuring snmp.
Cacti Manual
You can also search the Information / HowTo's section for availiable guides.
Dave
Who is online
Users browsing this forum: No registered users and 2 guests