Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


UNIX Template Set for Cacti: HP-UX, Solaris, Linux
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Rael
Cacti User


Joined: 05 Apr 2007
Posts: 129

PostPosted: Fri Oct 19, 2007 10:30 am    Post subject: Reply with quote

Another issue.

The running processes count graph is capped at 1000.

I have a host running many more processes than that, how do I change that upper limit?

I tried a few things and the graph just broke.

Any ideas?

I would set max to 10K instead of 1K
Back to top
Rael
Cacti User


Joined: 05 Apr 2007
Posts: 129

PostPosted: Wed Oct 24, 2007 1:09 pm    Post subject: Reply with quote

anyone?
Back to top
kapa



Joined: 23 Oct 2007
Posts: 7
Location: Moscow

PostPosted: Sun Oct 28, 2007 3:26 pm    Post subject: Reply with quote

Hello!

I have the same problem like many people here - can't see the interface traffic

Before I implemented this template - I can see all traffic statistic in Cacti using the original template - ucd/net SNMP Host.

Now I have such a picture:
http://forums.cacti.net/files/cacti2_191.jpg

In the Data Query Debug Information:
Code:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Down'] index: 3 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='eth0'] index: 2 [from value]
+ Found item [ifDescr='sit0'] index: 3 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='softwareLoopback(24)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Found item [ifType='tunnel(131)'] index: 3 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='1000000000'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr='00:00:13:D4:E1:EB:5C'] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='192.168.1.5'] index: 2 [from regexp oid parse]
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/interface.xml'


I look in
/usr/local/share/cacti/resource/snmp_queries/interface.xml

and see the right OID for ifInOctets and ifOutOctets:
.1.3.6.1.2.1.2.2.1.10 and
.1.3.6.1.2.1.2.2.1.16

I don't understand how it realy works, but I want to fix it anyway

I run tcpdump and see:
Code:

......
23:16:04.292423 IP 192.168.1.140.63823 > 192.168.1.5.161:  C=***** GetRequest(30)  .1.3.6.1.2.1.2.2.1.10.2
23:16:04.344925 IP 192.168.1.5.161 > 192.168.1.140.63823:  C=***** GetResponse(35)  .1.3.6.1.2.1.2.2.1.10.2=[|snmp]
23:16:04.346204 IP 192.168.1.140.55987 > 192.168.1.5.161:  C=***** GetRequest(30)  .1.3.6.1.2.1.2.2.1.16.2
23:16:04.405532 IP 192.168.1.5.161 > 192.168.1.140.55987:  C=***** GetResponse(36)  .1.3.6.1.2.1.2.2.1.16.2=[|snmp]
23:16:04.406781 IP 192.168.1.140.52709 > 192.168.1.5.161:  C=***** GetRequest(30)  .1.3.6.1.2.1.2.2.1.16.2
23:16:04.428800 IP 192.168.1.5.161 > 192.168.1.140.52709:  C=***** GetResponse(36)  .1.3.6.1.2.1.2.2.1.16.2=[|snmp]
23:16:04.430050 IP 192.168.1.140.52759 > 192.168.1.5.161:  C=***** GetRequest(30)  .1.3.6.1.2.1.2.2.1.10.2
23:16:04.464750 IP 192.168.1.5.161 > 192.168.1.140.52759:  C=***** GetResponse(35)  .1.3.6.1.2.1.2.2.1.10.2=[|snmp]

I search thrue the /cacti/ directory, but can't find file with the string:
.1.3.6.1.2.1.2.2.1.10.2
but the string
.1.3.6.1.2.1.2.2.1.10
was only in the /cacti/resource/snmp_queries/interface.xml

Now, if somebody helps me with how to delete this "2" from OID, I think I can get my interface statistic.

Thank you.



Cacti2.JPG
 Description:
picture
 Filesize:  30.78 KB
 Viewed:  11762 Time(s)

Cacti2.JPG


Back to top
super-hornet
Cacti User


Joined: 27 May 2007
Posts: 150

PostPosted: Mon Nov 05, 2007 10:42 pm    Post subject: Reply with quote

Hi all

Is it me or what? I notice most of the ucd functions like ucd uptime, ucd fs cannot work in cacti 0.8.7. U either get no graph or graph with 0 value.

SH
Back to top
super-hornet
Cacti User


Joined: 27 May 2007
Posts: 150

PostPosted: Tue Nov 06, 2007 1:11 am    Post subject: Reply with quote

Ah... just found out this http://forums.cacti.net/viewtopic.php?t=23925
Using the above patch, the disk partition monitor is working.

Now only left the uptime is not working.

SH
Back to top
Rael
Cacti User


Joined: 05 Apr 2007
Posts: 129

PostPosted: Tue Nov 13, 2007 12:15 pm    Post subject: Reply with quote

Rael wrote:
Another issue.

The running processes count graph is capped at 1000.

I have a host running many more processes than that, how do I change that upper limit?

I tried a few things and the graph just broke.

Any ideas?

I would set max to 10K instead of 1K


Anyone?
Back to top
guigzmorez



Joined: 03 Dec 2007
Posts: 14

PostPosted: Mon Dec 03, 2007 12:53 pm    Post subject: Issue with Load average Reply with quote

Hello,

I have tested this template and am having an issue with load average.

But I didn't see this post was so long... I think, i didn't use the correct version of the template. I am gonna try another time...
Back to top
algolee



Joined: 09 Jan 2008
Posts: 1

PostPosted: Wed Jan 09, 2008 10:49 pm    Post subject: Reply with quote

Dear sir

Can this template use on HP-UX 11.23 (Dual Core Itanium CPU )??
Because I just saw one CPU usage

Thanks ^^



HPUX.gif
 Description:
 Filesize:  29.02 KB
 Viewed:  10842 Time(s)

HPUX.gif


Back to top
rlund



Joined: 11 Apr 2008
Posts: 16

PostPosted: Thu May 01, 2008 2:20 pm    Post subject: Reply with quote

Will this work on HP Proliant servers running SUSE LINUX Enterprise Server?
Back to top
windsor



Joined: 07 May 2004
Posts: 13
Location: Texas!

PostPosted: Fri May 02, 2008 1:45 pm    Post subject: Reply with quote

rlund wrote:
Will this work on HP Proliant servers running SUSE LINUX Enterprise Server?


Go by the OS, so use the linux pieces. Cacti ships with a fairly usable linux templates already, though.
Back to top
karias
Cacti User


Joined: 25 Oct 2006
Posts: 60

PostPosted: Fri Aug 01, 2008 9:08 am    Post subject: Reply with quote

super-hornet wrote:
Hi all

Is it me or what? I notice most of the ucd functions like ucd uptime, ucd fs cannot work in cacti 0.8.7. U either get no graph or graph with 0 value.

SH



Did anyone get the uptime to work? I'm having issues getting ucd_hrSystemUptime to work on some linux boxes even though I can get the OID from the servers.
Back to top
trunty



Joined: 11 Aug 2008
Posts: 2
Location: San Antonio, TX

PostPosted: Mon Aug 11, 2008 3:53 pm    Post subject: Reply with quote

I too would like to know if anyone else is having issues with the uptime not showing up and how they resolved it. i am running cacti version 0.8.7b
Back to top
karias
Cacti User


Joined: 25 Oct 2006
Posts: 60

PostPosted: Mon Aug 11, 2008 3:58 pm    Post subject: Reply with quote

I corrected it by just re-creating the template for uptime.
Back to top
emanners



Joined: 25 Aug 2008
Posts: 3

PostPosted: Mon Sep 15, 2008 12:45 pm    Post subject: Uptime still broken Reply with quote

I still get an error in gra[h debug mode that says for uptime:
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF

How did you re-create the uptime template???
Back to top
karias
Cacti User


Joined: 25 Oct 2006
Posts: 60

PostPosted: Tue Sep 16, 2008 12:26 am    Post subject: Re: Uptime still broken Reply with quote

emanners wrote:
I still get an error in gra[h debug mode that says for uptime:
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF

How did you re-create the uptime template???



I recreated new templates (data & graph) using the same OID.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 5 of 6

 



Powered by phpBB © 2001, 2005 phpBB Group