Replace MRTG with Cacti
Moderators: Developers, Moderators
For example: With our MRTG url... I can see all the links, devices etc,,, how do I get that in Cacti? All I am seeing is the GRAPH heading in red and under the graph heading is Graphs and Preview Mode and then on the right side there's a tab Settings, then a tree view, list view and a preview view. I have 2 graphs showing, one blank and the other blue and red... but this is from the url: http://localhost/cacti/graph_view.php?action=preview
Thanks much for your help.
Thanks much for your help.
*sigh*
cactiserver is an ALIAS for the name of the web server which you've installed cacti on...
You need to logon to your cacti installation and set up the various devices. Have you done that yet?
cactiserver is an ALIAS for the name of the web server which you've installed cacti on...
You need to logon to your cacti installation and set up the various devices. Have you done that yet?
| 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 |
Once you've logged onto the cacti web site, go to devices... add them and fill in the fields.
| 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 |
Left side under Management.
| 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 |
You must log into the cacti web site first!
| 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 |
Why are you reinstalling?
did you log on to the cacti website yet? /cacti/index.php
did you log on to the cacti website yet? /cacti/index.php
| 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 |
Hey there, I am having some issues after I add a device, I get this message below and I cannot get a graph at all... we are using SNMP v1
Warning: socket_create() [function.socket-create]: Unable to create socket [0]: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 148
Warning: socket_set_block() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 150
Console -> Devices -> (Edit) Logged in as admin (Logout)
Create
New Graphs
Management
Graph Management
Graph Trees
Data Sources
Devices
Collection Methods
Data Queries
Data Input Methods
Templates
Graph Templates
Host Templates
Data Templates
Import/Export
Import Templates
Export Templates
Configuration
Settings
Utilities
System Utilities
User Management
Logout User
Hostname (xxx.xxx.xxx.xx)
Warning: socket_create() [function.socket-create]: Unable to create socket [0]: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 148
Warning: socket_set_block() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 150
Ping Results
Cannot connect to host *Create Graphs for this Host
Devices [edit: Reston PIP1]
Description
Give this host a meaningful description.
Hostname
Fully qualified hostname or IP address for this device.
Host Template
Choose what type of host, host template this is. The host template will govern what kinds of data should be gathered from this type of host. None Cisco Router Generic SNMP-enabled Host Karlnet Wireless Bridge Local Linux Machine Netware 4/5 Server ucd/net SNMP Host Windows 2000/XP Host
Notes
Enter notes to this host.
Disable Host
Check this box to disable all checks for this host. Disable Host
Availability/Reachability Options
Downed Device Detection
The method Cacti will use to determine if a host is available for polling.
NOTE: It is recommended that, at a minimum, SNMP always be selected. None Ping
Ping Method
The type of ping packet to sent.
NOTE: ICMP on Linux/UNIX requires root privileges. ICMP Ping TCP Ping UDP Ping
Ping Port
TCP or UDP port to attempt connection.
Ping Timeout Value
The timeout value to use for host ICMP and UDP pinging. This host SNMP timeout value applies for SNMP pings.
Ping Retry Count
The number of times Cacti will attempt to ping a host before failing.
SNMP Options
SNMP Version
Choose the SNMP version for this device. Not In Use Version 1 Version 2 Version 3
SNMP Community
SNMP read community for this device.
SNMP Username (v3)
SNMP v3 username for this device.
SNMP Password (v3)
SNMP v3 password for this device.
SNMP Auth Protocol (v3)
Choose the SNMPv3 Authorization Protocol. MD5 (default) SHA
SNMP Privacy Passphrase (v3)
Choose the SNMPv3 Privacy Passphrase.
SNMP Privacy Protocol (v3)
Choose the SNMPv3 Privacy Protocol. [None] DES (default) AES
SNMP Context
Enter the SNMP Context to use for this device.
SNMP Port
Enter the UDP port number to use for SNMP (default is 161).
SNMP Timeout
The maximum number of milliseconds Cacti will wait for an SNMP response (does not work with php-snmp support).
Maximum OID's Per Get Request
Specified the number of OID's that can be obtained in a single SNMP Get request.
NOTE: This feature only works when using Spine
Associated Graph Templates
Graph Template Name Status
1) CPU Usage - fire effect Not Being Graphed
2) IP MIB - IP Protocol Statistics Not Being Graphed
Add Graph Template: APC Battery Statistics APC Line Statistics CPU Usage - fire effect DNS - DNS Queries DOCSIS - Signal Levels DOCSIS - Stat Counters Host MIB - Logged in Users Host MIB - Processes IP MIB - IP Protocol Statistics Linux - Memory Usage Local - Poller Statistics MIB - Combined Protocol traffic MySQL - Command statistics MySQL - Connections MySQL - Handler statistics MySQL - QueryCache statistics MySQL - Questions MySQL - Single Statistics MySQL - Thread statistics MySQL - Traffic Netware - File System Activity Netware - File System Cache Netware - Logged In Users Netware - Open Files PING - Advanced Ping v1.3 SNMP - Generic OID Template SNMP - MBM5 - Fans SNMP - MBM5 - Temperature SNMP - MBM5 - Voltage SNMP MIB - SNMP Protocol Statistics TCP MIB - TCP Protocol Statistics ucd/net - CPU Usage ucd/net - Load Average ucd/net - Memory Usage UDP MIB - UDP Protocol Statistics Unix - Load Average Unix - Logged in Users Unix - Ping Latency Unix - Processes
Associated Data Queries
Data Query Name Debugging Re-Index Method Status
1) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
Add Data Query: Karlnet - Wireless Bridge Statistics Netware - Get Available Volumes Netware - Get Processor Information SNMP - Dell PowerEdge Cooling SNMP - Dell PowerEdge Temperature SNMP - Dell PowerEdge voltages SNMP - Get Mounted Partitions SNMP - Get Processor Information SNMP - Running Processes ucd/net - Get Monitored Partitions Unix - Get Mounted Partitions Re-Index Method: None Uptime Goes Backwards Index Count Changed Verify All Fields
Warning: socket_create() [function.socket-create]: Unable to create socket [0]: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 148
Warning: socket_set_block() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 150
Console -> Devices -> (Edit) Logged in as admin (Logout)
Create
New Graphs
Management
Graph Management
Graph Trees
Data Sources
Devices
Collection Methods
Data Queries
Data Input Methods
Templates
Graph Templates
Host Templates
Data Templates
Import/Export
Import Templates
Export Templates
Configuration
Settings
Utilities
System Utilities
User Management
Logout User
Hostname (xxx.xxx.xxx.xx)
Warning: socket_create() [function.socket-create]: Unable to create socket [0]: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 148
Warning: socket_set_block() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 150
Ping Results
Cannot connect to host *Create Graphs for this Host
Devices [edit: Reston PIP1]
Description
Give this host a meaningful description.
Hostname
Fully qualified hostname or IP address for this device.
Host Template
Choose what type of host, host template this is. The host template will govern what kinds of data should be gathered from this type of host. None Cisco Router Generic SNMP-enabled Host Karlnet Wireless Bridge Local Linux Machine Netware 4/5 Server ucd/net SNMP Host Windows 2000/XP Host
Notes
Enter notes to this host.
Disable Host
Check this box to disable all checks for this host. Disable Host
Availability/Reachability Options
Downed Device Detection
The method Cacti will use to determine if a host is available for polling.
NOTE: It is recommended that, at a minimum, SNMP always be selected. None Ping
Ping Method
The type of ping packet to sent.
NOTE: ICMP on Linux/UNIX requires root privileges. ICMP Ping TCP Ping UDP Ping
Ping Port
TCP or UDP port to attempt connection.
Ping Timeout Value
The timeout value to use for host ICMP and UDP pinging. This host SNMP timeout value applies for SNMP pings.
Ping Retry Count
The number of times Cacti will attempt to ping a host before failing.
SNMP Options
SNMP Version
Choose the SNMP version for this device. Not In Use Version 1 Version 2 Version 3
SNMP Community
SNMP read community for this device.
SNMP Username (v3)
SNMP v3 username for this device.
SNMP Password (v3)
SNMP v3 password for this device.
SNMP Auth Protocol (v3)
Choose the SNMPv3 Authorization Protocol. MD5 (default) SHA
SNMP Privacy Passphrase (v3)
Choose the SNMPv3 Privacy Passphrase.
SNMP Privacy Protocol (v3)
Choose the SNMPv3 Privacy Protocol. [None] DES (default) AES
SNMP Context
Enter the SNMP Context to use for this device.
SNMP Port
Enter the UDP port number to use for SNMP (default is 161).
SNMP Timeout
The maximum number of milliseconds Cacti will wait for an SNMP response (does not work with php-snmp support).
Maximum OID's Per Get Request
Specified the number of OID's that can be obtained in a single SNMP Get request.
NOTE: This feature only works when using Spine
Associated Graph Templates
Graph Template Name Status
1) CPU Usage - fire effect Not Being Graphed
2) IP MIB - IP Protocol Statistics Not Being Graphed
Add Graph Template: APC Battery Statistics APC Line Statistics CPU Usage - fire effect DNS - DNS Queries DOCSIS - Signal Levels DOCSIS - Stat Counters Host MIB - Logged in Users Host MIB - Processes IP MIB - IP Protocol Statistics Linux - Memory Usage Local - Poller Statistics MIB - Combined Protocol traffic MySQL - Command statistics MySQL - Connections MySQL - Handler statistics MySQL - QueryCache statistics MySQL - Questions MySQL - Single Statistics MySQL - Thread statistics MySQL - Traffic Netware - File System Activity Netware - File System Cache Netware - Logged In Users Netware - Open Files PING - Advanced Ping v1.3 SNMP - Generic OID Template SNMP - MBM5 - Fans SNMP - MBM5 - Temperature SNMP - MBM5 - Voltage SNMP MIB - SNMP Protocol Statistics TCP MIB - TCP Protocol Statistics ucd/net - CPU Usage ucd/net - Load Average ucd/net - Memory Usage UDP MIB - UDP Protocol Statistics Unix - Load Average Unix - Logged in Users Unix - Ping Latency Unix - Processes
Associated Data Queries
Data Query Name Debugging Re-Index Method Status
1) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
Add Data Query: Karlnet - Wireless Bridge Statistics Netware - Get Available Volumes Netware - Get Processor Information SNMP - Dell PowerEdge Cooling SNMP - Dell PowerEdge Temperature SNMP - Dell PowerEdge voltages SNMP - Get Mounted Partitions SNMP - Get Processor Information SNMP - Running Processes ucd/net - Get Monitored Partitions Unix - Get Mounted Partitions Re-Index Method: None Uptime Goes Backwards Index Count Changed Verify All Fields
Look in the \cacti\cli\ directory for scripts you can use. read in the documentation site on how to use them.cutta123 wrote:Do u know how to import data file for devices? Instead of me adding each devices one by one... Thanks.
Looks to likely be NTFS permission issues. Re-read my installation guide, paying close attention to the file/folder permission settings which need to be set.cutta123 wrote:Warning: socket_create() [function.socket-create]: Unable to create socket [0]: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\Inetpub\wwwroot\cacti\lib\ping.php on line 148
| 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 1 guest