hp 3par storage array templates

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Author
Message
technique
Posts: 27
Joined: Wed Sep 07, 2016 10:23 am

Re: hp 3par storage array templates

#46 Post by technique » Tue Sep 13, 2016 2:12 pm

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

technique
Posts: 27
Joined: Wed Sep 07, 2016 10:23 am

Re: hp 3par storage array templates

#47 Post by technique » Wed Sep 14, 2016 10:14 am

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

shanekennedy
Posts: 39
Joined: Tue Oct 10, 2006 10:35 am

Re: hp 3par storage array templates

#48 Post by shanekennedy » Thu Sep 15, 2016 7:05 am

technique wrote:Saw this in cacti web

Code: Select all

<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

technique
Posts: 27
Joined: Wed Sep 07, 2016 10:23 am

Re: hp 3par storage array templates

#49 Post by technique » Thu Sep 15, 2016 7:38 am

Code: Select all

[email protected]:/usr/share/cacti/site/scripts# ./3par.ksh HP3PARQC freeSpace fc
total:19.656 allocated:12.931 free:0 usable:0

Code: Select all

[email protected]:/usr/share/cacti/site/scripts# ./3par.ksh HP3PARQC cpu
node0:2 node1:1
script works great when ran manually.

sysmad
Posts: 1
Joined: Mon Oct 17, 2016 8:20 pm

Re: hp 3par storage array templates

#50 Post by sysmad » Mon Oct 17, 2016 8:24 pm

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!

shanekennedy
Posts: 39
Joined: Tue Oct 10, 2006 10:35 am

Re: hp 3par storage array templates

#51 Post by shanekennedy » Fri Oct 21, 2016 7:05 am

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

lucajet
Posts: 19
Joined: Wed Oct 27, 2010 1:37 pm

Re: hp 3par storage array templates

#52 Post by lucajet » Wed Apr 10, 2019 8:13 am

hello, is any of you still using those templates with recent cacti versions?

Post Reply