Installed Cacti Version 0.8.6h

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
LinuxFreak
Posts: 9
Joined: Fri Mar 25, 2005 3:54 pm
Location: Karachi

Installed Cacti Version 0.8.6h

Post by LinuxFreak »

Dear Every One,
Hello,

I have installed latest version of cacti on my linux machine. I have added new devices e.g remote snmp enabled linux machines but when i see graph after few time they are blank.

Any one have any idea about this ?

My RRDtool version is 1.2.13
My net-snmp version is 5.1.2

I tried snmpwalk command from my cacti machine to query remote snmp enabled host and i got response.

Best Regards.
[b][color=red]Farrukh Ahmed[/color][/b]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Do all of them stop at the same time or only some? Please post a screenshot of an example
Reinhard
LinuxFreak
Posts: 9
Joined: Fri Mar 25, 2005 3:54 pm
Location: Karachi

Re:

Post by LinuxFreak »

Dear lvm,
Hello,

I am attaching current graphs from cacti.

Best Regards.
Attachments
CPU Usage
CPU Usage
cpu.jpg (43.5 KiB) Viewed 2327 times
Load
Load
load.jpg (40.35 KiB) Viewed 2327 times
Memory Usage
Memory Usage
memory.jpg (43.27 KiB) Viewed 2327 times
Traffic
Traffic
traffic.jpg (43.57 KiB) Viewed 2327 times
[b][color=red]Farrukh Ahmed[/color][/b]
LinuxFreak
Posts: 9
Joined: Fri Mar 25, 2005 3:54 pm
Location: Karachi

Re:

Post by LinuxFreak »

Dear lvm,
Hello,

Following is my poller.php output.
[root@121 html]# php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.9

05/22/2006 03:41:47 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cmd.php 0 0]
05/22/2006 03:41:48 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cmd.php 1 1]
05/22/2006 03:41:49 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cmd.php 2 2]
05/22/2006 03:41:50 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cmd.php 3 3]
05/22/2006 03:41:51 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cmd.php 4 4]
Waiting on 2/5 pollers.
05/22/2006 03:41:52 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.21' [map 1min->load_1min]
05/22/2006 03:41:52 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.15' [map 5min->load_5min]
05/22/2006 03:41:52 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.18' [map 10min->load_15min]
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/stats_canusmedia_com_mem_cache_31.rrd --template mem_cache 1148283708:U
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1148283708:807448
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/localhost_mem_swap_4.rrd --template mem_swap 1148283708:1929820
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1148283708:0.21:0.15:0.18
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/localhost_users_6.rrd --template users 1148283708:1
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/localhost_proc_7.rrd --template proc 1148283708:79
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/stats_canusmedia_com_mem_buffers_30.rrd --template mem_buffers 1148283708:U
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/stats_canusmedia_com_traffic_in_29.rrd --template traffic_out:traffic_in 1148283708:1211881077:4088259024
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_nice_8.rrd --template cpu_nice 1148283709:U
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_system_9.rrd --template cpu_system 1148283709:U
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_user_10.rrd --template cpu_user 1148283709:U
05/22/2006 03:41:52 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/stats_canusmedia_com_mem_free_32.rrd --template mem_free 1148283708:U
OK u:0.00 s:0.00 r:0.02
OK u:0.00 s:0.00 r:0.08
OK u:0.00 s:0.00 r:0.09
OK u:0.00 s:0.00 r:0.10
OK u:0.00 s:0.01 r:0.10
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.11
OK u:0.00 s:0.01 r:0.12
OK u:0.00 s:0.01 r:0.12
OK u:0.00 s:0.01 r:0.12
OK u:0.00 s:0.01 r:0.12
OK u:0.00 s:0.01 r:0.13
Waiting on 2/5 pollers.
05/22/2006 03:41:53 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_cache_15.rrd --template mem_cache 1148283709:U
05/22/2006 03:41:53 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_buffers_14.rrd --template mem_buffers 1148283709:U
05/22/2006 03:41:53 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_5min_13.rrd --template load_5min 1148283709:U
05/22/2006 03:41:53 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_15min_12.rrd --template load_15min 1148283709:U
05/22/2006 03:41:53 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_1min_11.rrd --template load_1min 1148283709:U
OK u:0.00 s:0.01 r:0.96
OK u:0.00 s:0.01 r:0.96
OK u:0.00 s:0.01 r:0.96
OK u:0.00 s:0.01 r:0.96
OK u:0.00 s:0.01 r:0.97
Waiting on 1/5 pollers.
05/22/2006 03:41:54 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_traffic_in_17.rrd --template traffic_in:traffic_out 1148283709:4174802975:3653081872
05/22/2006 03:41:54 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_free_16.rrd --template mem_free 1148283709:U
OK u:0.00 s:0.01 r:1.98
OK u:0.00 s:0.01 r:1.98
Waiting on 1/5 pollers.
Waiting on 1/5 pollers.
Waiting on 1/5 pollers.
Waiting on 1/5 pollers.
Waiting on 1/5 pollers.
05/22/2006 03:41:59 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_cpu_user_36.rrd --template cpu_user 1148283711:U
05/22/2006 03:41:59 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_cpu_system_35.rrd --template cpu_system 1148283711:U
05/22/2006 03:41:59 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_cpu_nice_34.rrd --template cpu_nice 1148283711:U
OK u:0.00 s:0.01 r:6.98
OK u:0.00 s:0.01 r:6.98
OK u:0.00 s:0.01 r:6.99
Waiting on 1/5 pollers.
05/22/2006 03:42:00 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_load_5min_39.rrd --template load_5min 1148283711:U
05/22/2006 03:42:00 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_load_15min_38.rrd --template load_15min 1148283711:U
05/22/2006 03:42:00 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_load_1min_37.rrd --template load_1min 1148283711:U
OK u:0.00 s:0.01 r:7.99
OK u:0.00 s:0.01 r:7.99
OK u:0.00 s:0.01 r:7.99
Waiting on 1/5 pollers.
05/22/2006 03:42:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_mem_free_42.rrd --template mem_free 1148283711:U
05/22/2006 03:42:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_mem_cache_41.rrd --template mem_cache 1148283711:U
05/22/2006 03:42:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_mem_buffers_40.rrd --template mem_buffers 1148283711:U
OK u:0.00 s:0.01 r:8.99
OK u:0.00 s:0.01 r:8.99
OK u:0.00 s:0.01 r:9.00
05/22/2006 03:42:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/golden7_quiznightlive_com_traffic_in_43.rrd --template traffic_in:traffic_out 1148283711:247404734:781436941
05/22/2006 03:42:02 AM - SYSTEM STATS: Time:15.1923 Method:cmd.php Processes:10 Threads:N/A Hosts:5 HostsPerProcess:1 DataSources:43 RRDsProcessed:29
OK u:0.00 s:0.01 r:10.01
[root@121 html]#
Best Regards.
[b][color=red]Farrukh Ahmed[/color][/b]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

All traffic queries seem to be ok, but all others seem to fail.
Please switch Settings -> Logging Level to DEBUG for one poller cycle and fetch the output from ./log/cacti.log. You should notice an OID along with those messages for cpu and the like. Please post this part of the log
Reinhard
LinuxFreak
Posts: 9
Joined: Fri Mar 25, 2005 3:54 pm
Location: Karachi

Re:

Post by LinuxFreak »

Dear lvm,
Hello,

I got this in my cacti.log for host server.e-maili.com

05/23/2006 06:24:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_nice_122.rrd --template cpu_nice 1148379862:U
05/23/2006 06:24:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_system_123.rrd --template cpu_system 1148379862:U
05/23/2006 06:24:27 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_1min_125.rrd --template load_1min 1148379862:U
05/23/2006 06:24:27 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_traffic_in_131.rrd --template traffic_out:traffic_in 1148379852:3780521334:4252026926
05/23/2006 06:24:27 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_user_124.rrd --template cpu_user 1148379862:U
05/23/2006 06:24:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_15min_126.rrd --template load_15min 1148379862:U
05/23/2006 06:24:29 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_5min_127.rrd --template load_5min 1148379862:U
05/23/2006 06:24:30 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_buffers_128.rrd --template mem_buffers 1148379862:U
05/23/2006 06:24:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_free_130.rrd --template mem_free 1148379862:U
05/23/2006 06:24:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_cache_129.rrd --template mem_cache 1148379862:U
05/23/2006 06:24:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_traffic_in_131.rrd --template traffic_out:traffic_in 1148379862:3780522075:4252027748
05/23/2006 06:26:13 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_nice_122.rrd --template cpu_nice 1148379971:U
05/23/2006 06:26:14 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_system_123.rrd --template cpu_system 1148379971:U
05/23/2006 06:26:15 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_cpu_user_124.rrd --template cpu_user 1148379971:U
05/23/2006 06:26:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_1min_125.rrd --template load_1min 1148379971:U
05/23/2006 06:26:17 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_15min_126.rrd --template load_15min 1148379971:U
05/23/2006 06:26:18 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_load_5min_127.rrd --template load_5min 1148379971:U
05/23/2006 06:26:19 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_cache_129.rrd --template mem_cache 1148379971:U
05/23/2006 06:26:19 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_buffers_128.rrd --template mem_buffers 1148379971:U
05/23/2006 06:26:20 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_mem_free_130.rrd --template mem_free 1148379971:U
05/23/2006 06:26:26 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/rra/server_emaili_com_traffic_in_131.rrd --template traffic_in:traffic_out 1148379971:4252152253:3780931859

Best Regards.
[b][color=red]Farrukh Ahmed[/color][/b]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sorry, but that is not what I've asked for. You've grepped the output for a host name and missed the failing OIDs thus. Please reread my last advise.
Reinhard
LinuxFreak
Posts: 9
Joined: Fri Mar 25, 2005 3:54 pm
Location: Karachi

Re:

Post by LinuxFreak »

Dear lvm,
Hello,

Please check this now. this is the last cacti.log which i moved.

http://195.225.46.121/cacti.txt

Best Regards.
[b][color=red]Farrukh Ahmed[/color][/b]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Already responded via pm. You've got an snmp agent issue on hat target not answering on the requested OIDs
Reinhard
LinuxFreak
Posts: 9
Joined: Fri Mar 25, 2005 3:54 pm
Location: Karachi

Re:

Post by LinuxFreak »

Dear lvm,
Hello,
lvm wrote:Already responded via pm. You've got an snmp agent issue on hat target not answering on the requested OIDs
Reinhard
Also getting same issue on same host where i am running cacti.

[root@121 html]# snmpwalk -c public -v2c localhost version
UCD-SNMP-MIB::version = No more variables left in this MIB View (It is past the end of the MIB tree)
[root@121 html]#

I am running

[root@121 html]# rpm -q net-snmp
net-snmp-5.1.2-11.EL4.6
[root@121 html]#

Best Regards.
[b][color=red]Farrukh Ahmed[/color][/b]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Code: Select all

snmpwalk -c <community> -v 1  <target> version
UCD-SNMP-MIB::versionIndex.0 = INTEGER: 1
UCD-SNMP-MIB::versionTag.0 = STRING: 5.1.2
UCD-SNMP-MIB::versionDate.0 = STRING: $Date: 2004/02/04 11:25:20 $
UCD-SNMP-MIB::versionCDate.0 = STRING: Tue May 23 14:42:33 2006
UCD-SNMP-MIB::versionIdent.0 = STRING: $Id: versioninfo.c,v 5.1.4.1 2004/02/04 11:25:20 slif Exp $
UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: "'--build=i386-redhat-linux' '--host=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include/net-snmp' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-static' '--enable-shared' '--with-cflags=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' '--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/var/net-snmp' '--with-mib-modules=host agentx smux ucd-snmp/lmSensors' '--with-libwrap=/usr/lib' '--sysconfdir=/etc' '--enable-ipv6' '--enable-ucd-snmp-compatibility' '--with-pic' '--with-sys-contact=root@localhost' 'CFLAGS=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' 'build_alias=i386-redhat-linux' 'host_alias=i386-redhat-linux' 'target_alias=i386-redhat-linux-gnu'"
Find --with-mib-modules=host for support of HOST MIB
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest