CentOS 6.8. and ubuntu 14 graph

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

Moderators: Developers, Moderators

Post Reply
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

Dear All,

I have added host with centos 6.8 OS successfully. Its plotting graph of ping latency , load avg, But its not plotting graph of partitions and cpu.
Verbose Query not showing error.
Pls help to get this resolved ASAP.

Regards,
Shailesh
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

anyone??
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: CentOS 6.8. and ubuntu 14 graph

Post by cigamit »

Not enough info. What data queries are you using? Is it a remote host? Is SNMP running on the host? Can you SNMP Walk the host and does it show data?
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

Hi,

I am using below data query.

SNMP - Get Mounted Partitions
SNMP - Get Processor Information
SNMP - Interface Statistics
SNMP - Running Processes

its remote host and running on different network. SNMP running on remote host(CentOS 6.8)
I can SNMPwalk to host (CentOS 6.8) and its showing DATA.

My cacti version is - 0.8.8b.

I am facing this problem for CentOS-6.8 and ubuntu-14 only.

I am using below SNMP veiw on Host in snmpd.conf file.
view systemview included .1.3.6
view systemview included .1.3.6.1.2.1

Cacti server showing proper graph for Host containing centOS6 and windows server.

Regards,
Shailesh
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

HI,

Anyone can help ??

Regards,
Shailesh
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: CentOS 6.8. and ubuntu 14 graph

Post by cigamit »

Do a SNMP Walk of .1.3.6.1.2.1.25.2.3.1 and post the results.
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

Hi,

snmpwalk output is as below.

[root@syscacti ~]# snmpwalk -v 1 ipaddr -c public .1.3.6.1.2.1.25.2.3.1
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageIndex.10 = INTEGER: 10
HOST-RESOURCES-MIB::hrStorageIndex.31 = INTEGER: 31
HOST-RESOURCES-MIB::hrStorageIndex.35 = INTEGER: 35
HOST-RESOURCES-MIB::hrStorageIndex.36 = INTEGER: 36
HOST-RESOURCES-MIB::hrStorageIndex.37 = INTEGER: 37
HOST-RESOURCES-MIB::hrStorageIndex.38 = INTEGER: 38
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.7 = OID: HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.10 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.31 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.35 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.36 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.37 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.38 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Memory buffers
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Cached memory
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
HOST-RESOURCES-MIB::hrStorageDescr.31 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.35 = STRING: /dev/shm
HOST-RESOURCES-MIB::hrStorageDescr.36 = STRING: /boot
HOST-RESOURCES-MIB::hrStorageDescr.37 = STRING: /var
HOST-RESOURCES-MIB::hrStorageDescr.38 = STRING: /var/tmp
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.10 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.31 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.35 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.36 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.37 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.38 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 20453136
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 37230348
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 20453136
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 14536900
HOST-RESOURCES-MIB::hrStorageSize.10 = INTEGER: 16777212
HOST-RESOURCES-MIB::hrStorageSize.31 = INTEGER: 25770312
HOST-RESOURCES-MIB::hrStorageSize.35 = INTEGER: 2556642
HOST-RESOURCES-MIB::hrStorageSize.36 = INTEGER: 289293
HOST-RESOURCES-MIB::hrStorageSize.37 = INTEGER: 12868767
HOST-RESOURCES-MIB::hrStorageSize.38 = INTEGER: 25770312
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 19620256
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 20289912
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 486372
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 14536900
HOST-RESOURCES-MIB::hrStorageUsed.10 = INTEGER: 669656
HOST-RESOURCES-MIB::hrStorageUsed.31 = INTEGER: 20904818
HOST-RESOURCES-MIB::hrStorageUsed.35 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageUsed.36 = INTEGER: 49022
HOST-RESOURCES-MIB::hrStorageUsed.37 = INTEGER: 3093089
HOST-RESOURCES-MIB::hrStorageUsed.38 = INTEGER: 20904818


Regards,
Shaillesh
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

Hi,

Anyone can help ???

Regards,
Shailesh
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: CentOS 6.8. and ubuntu 14 graph

Post by cigamit »

Ok, now show the verbose output of
SNMP - Get Mounted Partitions
in cacti for that host.
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

HI,

Verbose output of SNMP - Get Mounted Partitions

Data Query Debug Information
+ Running data query [8].
+ Found type = '6' [Script Query - Script Server].
+ Found data query XML file at '/usr/share/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for num of indexes '"/usr/bin/php" -q /usr/share/cacti/scripts/ss_host_disk.php 203.212.192.225 185 1:161:500:1:10:h2thw4y:::::: num_indexes'
+ Found number of indexes: 10
+ Executing script for list of indexes '"/usr/bin/php" -q /usr/share/cacti/scripts/ss_host_disk.php 203.212.192.225 185 1:161:500:1:10:h2thw4y:::::: index' Index Count: 10
+ Found index: 1
+ Found index: 3
+ Found index: 6
+ Found index: 7
+ Found index: 10
+ Found index: 31
+ Found index: 35
+ Found index: 36
+ Found index: 37
+ Found index: 38
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/scripts/ss_host_disk.php 203.212.192.225 185 1:161:500:1:10:h2thw4y:::::: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='6'] index: 6
+ Found item [hrStorageIndex='7'] index: 7
+ Found item [hrStorageIndex='10'] index: 10
+ Found item [hrStorageIndex='31'] index: 31
+ Found item [hrStorageIndex='35'] index: 35
+ Found item [hrStorageIndex='36'] index: 36
+ Found item [hrStorageIndex='37'] index: 37
+ Found item [hrStorageIndex='38'] index: 38
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/scripts/ss_host_disk.php 203.212.192.225 185 1:161:500:1:10:h2thw4y:::::: query description'
+ Found item [hrStorageDescr='Physical memory'] index: 1
+ Found item [hrStorageDescr='Virtual memory'] index: 3
+ Found item [hrStorageDescr='Memory buffers'] index: 6
+ Found item [hrStorageDescr='Cached memory'] index: 7
+ Found item [hrStorageDescr='Swap space'] index: 10
+ Found item [hrStorageDescr='/'] index: 31
+ Found item [hrStorageDescr='/dev/shm'] index: 35
+ Found item [hrStorageDescr='/boot'] index: 36
+ Found item [hrStorageDescr='/var'] index: 37
+ Found item [hrStorageDescr='/var/tmp'] index: 38
+ Executing script query '"/usr/bin/php" -q /usr/share/cacti/scripts/ss_host_disk.php 203.212.192.225 185 1:161:500:1:10:h2thw4y:::::: query sau'
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 6
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 7
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 10
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 31
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 35
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 36
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 37
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 38



Regards,
Shailesh
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

Hi,

Anyone can help ???

Regards,
Shailesh
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: CentOS 6.8. and ubuntu 14 graph

Post by cigamit »

That looks correct, so the question goes back to what do you mean by "But its not plotting graph of partitions"

Did you attempt to create the graphs? Are they not storing data or not displaying? Your not really telling us what is happening, we are just having to guess at random things until you give us enough info.
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

Hi,

I have attached snapshot (cacti1.jpg and cacti2.jpg) of graph, some of host showing like cacti1.jpg and some host showing graph like cacti2.jpg.

Regards,
Shailesh
Attachments
cacti3.jpg
cacti3.jpg
cacti3.JPG (49.04 KiB) Viewed 2732 times
cacti2.jpg
cacti2.jpg
cacti2.JPG (51.12 KiB) Viewed 2732 times
cacti1.jpg
cacti1.jpg
cacti1.JPG (26.32 KiB) Viewed 2732 times
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: CentOS 6.8. and ubuntu 14 graph

Post by cigamit »

What does your Cacti log show for the polling of those datasources (in MEDIUM or HIGH mode). Is your polling running over the time limit? Are you using Boost?
shaileshnaik1979
Posts: 15
Joined: Fri Dec 16, 2016 6:58 am

Re: CentOS 6.8. and ubuntu 14 graph

Post by shaileshnaik1979 »

Dear All,

Thanku for support, Problem has been resolved after reboot the cacti server.

Thanks & Regards,
Shailesh
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests