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    


Groupwise Statistics Script(s)
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
stuartl



Joined: 07 Jul 2005
Posts: 11

PostPosted: Tue Jul 12, 2005 10:29 am    Post subject: Rolled up my sleeves... Reply with quote

Rather than wait for a fix I rolled my own.

Attached are Indexed SNMP Queries & Templates for GroupWise MTA & POA and Graph and Data Templates for tracking messages through the GWIA.

The POA Templates can track both numbers of connected users and messages.

The GWIA & MTA Templates can track message throughputs.

I've only had these scripts running since yesterday afternoon so there may still be a problem or three.

I've never exported from Cacti before so let me know if these scripts don't import. The scripts will be in the next message(s).



MTA.png
 Description:
MTA Messages
 Filesize:  24.98 KB
 Viewed:  4744 Time(s)

MTA.png



POAMsgs.png
 Description:
POA Messages
 Filesize:  24.19 KB
 Viewed:  4744 Time(s)

POAMsgs.png



POAUsers.png
 Description:
POA Connected Users
 Filesize:  21.27 KB
 Viewed:  4744 Time(s)

POAUsers.png


Back to top
stuartl



Joined: 07 Jul 2005
Posts: 11

PostPosted: Tue Jul 12, 2005 10:32 am    Post subject: More Rolled up my sleeves... Reply with quote

Here are the scripts...


GWIA.png
 Description:
GWIA Messages
 Filesize:  26.76 KB
 Viewed:  4743 Time(s)

GWIA.png



groupwise_mta.xml
 Description:
MTA XML

Download
 Filename:  groupwise_mta.xml
 Filesize:  18.71 KB
 Downloaded:  537 Time(s)


groupwise_gwia.xml
 Description:
GWIA XML

Download
 Filename:  groupwise_gwia.xml
 Filesize:  23.68 KB
 Downloaded:  423 Time(s)

Back to top
stuartl



Joined: 07 Jul 2005
Posts: 11

PostPosted: Tue Jul 12, 2005 10:33 am    Post subject: More Rolled up my sleeves... Reply with quote

Last one...


groupwise_poa.xml
 Description:
POA XML

Download
 Filename:  groupwise_poa.xml
 Filesize:  26.17 KB
 Downloaded:  447 Time(s)

Back to top
karlin



Joined: 06 Feb 2004
Posts: 3
Location: Göteborg, Sweden

PostPosted: Mon Jul 25, 2005 8:29 am    Post subject: error hash Reply with quote

Hi

For me it dosen´t work Cacti says: Error: XML: Hash version does not exist.

Karl
Back to top
stuartl



Joined: 07 Jul 2005
Posts: 11

PostPosted: Mon Jul 25, 2005 10:06 am    Post subject: Cacti version? Reply with quote

What version are you running? The scripts were exported from .8.6e.
Back to top
dawald



Joined: 02 Feb 2005
Posts: 22
Location: Zurich, Switzerland

PostPosted: Mon Jul 25, 2005 6:03 pm    Post subject: snmp querry files Reply with quote

hi stuartl,

I tried to install your templates. I could import them via cacti "Import/Export" -> "Import Templates". All of them (graph/data templates) are working fine.

What is missing are the actual snmp querry xml files, that you have to place in <cacti_dir>/resource/snmp_queries/ directory!

Could you also provide them ? Your templates are looking very useful for me, would be great to use them.

Thanks

PS: I'm also using 0.8.6e...
Back to top
stuartl



Joined: 07 Jul 2005
Posts: 11

PostPosted: Tue Jul 26, 2005 3:47 pm    Post subject: SNMP Queries... Reply with quote

Sorry....

Attached are the files. The GWIA stats are polling from individual data templates without using a SNMP Query file. So that should work - let me know if you are still seeing problems.

I will also upload a 10 min average Graph/Data Template for the GWIA which gives you a better idea of your message traffic.

Place in your <cacti-dir>/resource/snmp_queries

-S



groupwise_poa.xml
 Description:
POA File

Download
 Filename:  groupwise_poa.xml
 Filesize:  2.28 KB
 Downloaded:  539 Time(s)


groupwise_mta.xml
 Description:
MTA File

Download
 Filename:  groupwise_mta.xml
 Filesize:  1.93 KB
 Downloaded:  441 Time(s)

Back to top
stuartl



Joined: 07 Jul 2005
Posts: 11

PostPosted: Tue Jul 26, 2005 4:02 pm    Post subject: GWIA 10 Min Avg Reply with quote

See Below

-S



gwia_10min.png
 Description:
 Filesize:  40.55 KB
 Viewed:  4660 Time(s)

gwia_10min.png



groupwise_gwia_10_min.xml
 Description:
Templates

Download
 Filename:  groupwise_gwia_10_min.xml
 Filesize:  14.78 KB
 Downloaded:  417 Time(s)

Back to top
dawald



Joined: 02 Feb 2005
Posts: 22
Location: Zurich, Switzerland

PostPosted: Tue Jul 26, 2005 4:53 pm    Post subject: snmp querry files Reply with quote

ok, thanks... I'll try the files as soon as possible, I'll let you know if they are working for me.

The 10min graph looks really nice

cYa
Back to top
disone



Joined: 25 Feb 2005
Posts: 2
Location: Den Haag, the Netherlands

PostPosted: Wed Jul 27, 2005 3:17 am    Post subject: GWIA 10 min. Reply with quote

Whooha! Got it working on 0.8.6f on WinXP
Layout of the legend is not exactly correct, see Picture.



gwia.png
 Description:
Gwia Monitoring on Win32
 Filesize:  10.6 KB
 Viewed:  4648 Time(s)

gwia.png


Back to top
stuartl



Joined: 07 Jul 2005
Posts: 11

PostPosted: Wed Jul 27, 2005 10:19 am    Post subject: Cool... Reply with quote

Glad to see its working for you! I don't know about the legend misalignment. I haven't found anything in the Cacti documentation that allows you to adjust those parameters.

Maybe the general questions forum can provide some answers.
Back to top
disone



Joined: 25 Feb 2005
Posts: 2
Location: Den Haag, the Netherlands

PostPosted: Thu Aug 04, 2005 6:47 am    Post subject: Insert Hard Return Reply with quote

It's a parameter when in
Console -> Graph Templates -> (Edit) -> Graph Template Items -> edit graph: GroupWise GWIA Messages - 10 Min.
Check the Insert Hard Return with Item 4 and Item 8.

Or in the original XML file:
[cut]
Code:
<gprint_id>hash_06000819414480d6897c8731c7dc6c5310653e</gprint_id>
  <text_format>Maximum:</text_format>
  <hard_return />
[cut]

replace <hard_return /> with <hard_return>on</hard_return> and you'll get this.



cacti.png
 Description:
Inserted hard return.
 Filesize:  13.71 KB
 Viewed:  4605 Time(s)

cacti.png


Back to top
stuartl



Joined: 07 Jul 2005
Posts: 11

PostPosted: Thu Aug 04, 2005 10:01 am    Post subject: Thanks... Reply with quote

That fixes a lot of problem legends.
Back to top
clay-au



Joined: 09 Jan 2006
Posts: 2

PostPosted: Tue Jan 10, 2006 11:15 pm    Post subject: Reply with quote

Same here aswell.. it would be great if it worked though!
Back to top
jrichardson
Cacti User


Joined: 22 Mar 2005
Posts: 66

PostPosted: Sat Mar 04, 2006 1:39 am    Post subject: Reply with quote

Are you all running GW on Linux? If so, how did you get teh agents to report that? SNMP or script?
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  Next
Page 2 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group