Ik wilde cacti eens installeren om te kijken of ik daarmee al onze cisco apparatuur en intel servers kon gaan monitoren.
Ik heb weinig kennis van php en scripten, maar na een dag knutselen heb ik eindelijk cacti "werkend" op een desktop pc. Dat wil zeggen, ik kan inloggen.
Nu wilde ik bij wijze van test eens rustig beginnen met het monitoren van zaken als hdd ruimte, processen, cpu gebruik etc van de pc waarop dit hele gebeuren geinstalleerd is (een hp dc7600 met xp pro) voor ik van alles overhoop haal in het productienetwerk.
Ik heb een host aangemaakt en wat waarden toegevoegd, maar die blijken voor Linux te zijn..er verschijnen wel rasters waarin ik normaliter iets van een grafiek zou moeten gaan krijgen, maar die is leeg en heeft ook nog geen waardes op de x en y as staan. Ik denk dat dat komt omdat er nog geen data opgehaald kan worden van de pc.
ik heb diverse "handleidingen" gevonden, ook hier op de site, maar die zijn zo gecompliceerd (terminologie etc) dat ik er maar weinig van begrijp. Ik heb even een zetje nodig..
Wat zijn nu de stappen die ik moet nemen als ik iets eenvoudigs als het cpu gebruik van mijn pc wil laten ophalen en weergeevn in een grafiek?
Hoe kom ik aan de benodigde info, moet ik nog iets installeren op mijn pc naast de snmp die standaard in windows zit etc.. iemand die hier iets meer duidelijkheid over kan geven?
"eenvoudige" basis beginselen
Moderators: Developers, Moderators
sorry, my initial post was in Dutch and i only just realised that this isn't a dutch board.. this post is basically a translation of my initial post
i wanted to install cacti to see if this would be usefull to monitor our cisco devices and intel servers.
I have little knowlegde about PHP or scripting, but after a day of trial and error i managed to get a login screen.
As a first test i want to monitor my own desktop, on wich i also installed cacti itself. I was thinking about items such as cpu load, memory usage, processes etc. The desktop is a HP dc7600 with Windows XP Pro on it.
I created a hostdevice and i managed to add some items to it, but the graph tells me these are linux values so that figures why they don't show anything. I'
ve been reading a lot of information, but this all seems to be fairly hard to configure. I was wondering if there was any BASIC info on what i need to do, how this all works and if there are guides wich can aid me in creating al these required templates etc.
For example: what do i need to do on my desktop to be able to extract the cpu load and get that in a graph in cacti? Are there any step-by-step guides on how i should do this, wich tools to use etc?
i wanted to install cacti to see if this would be usefull to monitor our cisco devices and intel servers.
I have little knowlegde about PHP or scripting, but after a day of trial and error i managed to get a login screen.
As a first test i want to monitor my own desktop, on wich i also installed cacti itself. I was thinking about items such as cpu load, memory usage, processes etc. The desktop is a HP dc7600 with Windows XP Pro on it.
I created a hostdevice and i managed to add some items to it, but the graph tells me these are linux values so that figures why they don't show anything. I'
ve been reading a lot of information, but this all seems to be fairly hard to configure. I was wondering if there was any BASIC info on what i need to do, how this all works and if there are guides wich can aid me in creating al these required templates etc.
For example: what do i need to do on my desktop to be able to extract the cpu load and get that in a graph in cacti? Are there any step-by-step guides on how i should do this, wich tools to use etc?
1) read http://forums.cacti.net/viewtopic.php?t=11747
2) you must install the microsoft snmp agent to monitor a lot of the templated items that come with cacti. The default cacti install uses a linux template -- delete that host and re-create one with the windows template (this is all outlined in my install guide).
3) Most of the 'Host - xxx' type templates should work with the snmp agent. Those that are ucd/netsnmp are linux specific.
2) you must install the microsoft snmp agent to monitor a lot of the templated items that come with cacti. The default cacti install uses a linux template -- delete that host and re-create one with the windows template (this is all outlined in my install guide).
3) Most of the 'Host - xxx' type templates should work with the snmp agent. Those that are ucd/netsnmp are linux specific.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Thanks for your assistance,
i managed to get some graphs from my desktop now. But i wonder..
What do i use a host template for? I thought that you created a host template to easily add new similar systems. for example, i have around 600 desktop computers, all the exact same model, and a lot of servers with similar hardware.
So i figured i could create a host template that contains all required graphs for the desktops and a host template that contains all required graphs for the servers. If i want to add a new machine i supply the description, hostname and the host template and that's it.
That seems to make sense to me, but it doesn't seem to work that way. If i add a host and i select the desktop host template i still have to add the graph templates before i actually get to see them.
Am i doing something wrong here?
i managed to get some graphs from my desktop now. But i wonder..
What do i use a host template for? I thought that you created a host template to easily add new similar systems. for example, i have around 600 desktop computers, all the exact same model, and a lot of servers with similar hardware.
So i figured i could create a host template that contains all required graphs for the desktops and a host template that contains all required graphs for the servers. If i want to add a new machine i supply the description, hostname and the host template and that's it.
That seems to make sense to me, but it doesn't seem to work that way. If i add a host and i select the desktop host template i still have to add the graph templates before i actually get to see them.
Am i doing something wrong here?
Nope, not doing anything wrong. A host template is simply a logical grouping of associated data queries that will work for the devices. One still has to manually go to the 'create graphs screen' and tell cacti which things you want to graph.
As for bulk adding of devices, check out this Quick and dirty script to add devices to cacti
As for bulk adding of devices, check out this Quick and dirty script to add devices to cacti
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
let's make that an official feature request then. Adding lots of similar devices should be possible in bulk using csv delimited files or something.BSOD2600 wrote:Nope, not doing anything wrong. A host template is simply a logical grouping of associated data queries that will work for the devices. One still has to manually go to the 'create graphs screen' and tell cacti which things you want to graph.
As for bulk adding of devices, check out this Quick and dirty script to add devices to cacti
You should create one here and at bugs.cacti.net.mdegroot wrote:let's make that an official feature request then. Adding lots of similar devices should be possible in bulk using csv delimited files or something.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 5 guests