Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Apr 23, 2019 5:18 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 52 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: hp 3par storage array templates
PostPosted: Tue Sep 13, 2016 2:12 pm 
Offline

Joined: Wed Sep 07, 2016 10:23 am
Posts: 27
shanekennedy wrote:
to view cacti logs look in /usr/share/cacti/log/cacti.log

to increase verbosity of logging go to the cacti gui & select setting from the left column & under the general tab set the Poller Logging Level to the desired value


mine are in /var/log/cacti/cacti.log


Top
 Profile  
 
 Post subject: Re: hp 3par storage array templates
PostPosted: Wed Sep 14, 2016 10:14 am 
Offline

Joined: Wed Sep 07, 2016 10:23 am
Posts: 27
retried 4 times last night and still the same issue. graphs are only showing in "summary" and no data is polled.

What linux distro did you used for your cacti server ? Mine is Debian Jessie.

Thanks for your help Shane


Top
 Profile  
 
 Post subject: Re: hp 3par storage array templates
PostPosted: Thu Sep 15, 2016 7:05 am 
Offline

Joined: Tue Oct 10, 2006 10:35 am
Posts: 39
technique wrote:
Saw this in cacti web
Code:
<path_cacti>/scripts/3par.ksh <hostname> cpu


Input Fields
Input Fields Add
Name Field Order Friendly Name
hostname 1 hostname

Is there something wrong ? Shoundn't I see HP3PARQC instead of <hostname> ?

I think I'm gonna delete all this and try it back from begining



did you try manually running the 3par.ksh script, unsure how much info in recorded in cacti log

example:

[email protected]:/var/www/html/cacti/scripts> /var/www/html/cacti/scripts/3par.ksh 3par cpu
node0:1 node1:0 node4:0 node5:2


Top
 Profile  
 
 Post subject: Re: hp 3par storage array templates
PostPosted: Thu Sep 15, 2016 7:38 am 
Offline

Joined: Wed Sep 07, 2016 10:23 am
Posts: 27
Code:
[email protected]:/usr/share/cacti/site/scripts# ./3par.ksh HP3PARQC freeSpace fc
total:19.656 allocated:12.931 free:0 usable:0


Code:
[email protected]:/usr/share/cacti/site/scripts# ./3par.ksh HP3PARQC cpu
node0:2 node1:1


script works great when ran manually.


Top
 Profile  
 
 Post subject: Re: hp 3par storage array templates
PostPosted: Mon Oct 17, 2016 8:24 pm 
Offline

Joined: Mon Oct 17, 2016 8:20 pm
Posts: 1
I am facing a very similar issue. If I run the associated data queries in verbose mode they do not not return results but if I manually run them I receive results. In Cacti they are successful but no items or rows.

Any help would be greatly appreciated!


Top
 Profile  
 
 Post subject: Re: hp 3par storage array templates
PostPosted: Fri Oct 21, 2016 7:05 am 
Offline

Joined: Tue Oct 10, 2006 10:35 am
Posts: 39
sysmad wrote:
I am facing a very similar issue. If I run the associated data queries in verbose mode they do not not return results but if I manually run them I receive results. In Cacti they are successful but no items or rows.

Any help would be greatly appreciated!



when you run script manually are you running as the same user that runs cacti

perhaps your cacti user is lacking permissions

if that's not the case then strace the poller & look for errors

su - cactiuser (or whatever userid you use for cacti)
strace -fo LOGFILE php /var/www/html/cacti/poller.php

then search LOGFILE for 3par.ksh & look for errors


Top
 Profile  
 
 Post subject: Re: hp 3par storage array templates
PostPosted: Wed Apr 10, 2019 8:13 am 
Offline

Joined: Wed Oct 27, 2010 1:37 pm
Posts: 17
hello, is any of you still using those templates with recent cacti versions?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 52 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group