Autom8 V0.33

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Locked
hid3
Cacti User
Posts: 63
Joined: Sat Jun 14, 2008 1:59 am

Post by hid3 »

gandalf wrote:IMHO, this is not a bug of AUTOM8. AUTOM8 does in fact not work on graph titles or change them in any way. So I assume, that this is the default behaviour of the traffic data query.
R.
gandalf, you're right. I have just checked: I tried creating a graph manually and indeed it behaves like that.

Any ideas how can I avoid such behavior? :(
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see http://docs.cacti.net/manual:087:3a_adv ... data_query to öearn how to work on "Suggested Names" to change e.g. graph title.
R.
lankienen
Cacti User
Posts: 60
Joined: Fri Feb 06, 2009 3:15 am
Location: Dublin

Post by lankienen »

hallo gandalf!

i'm already using autom8-v0.35b6.tgz

1st issue:

I have defined some simple Graph Templates to my host templates which are not beeing graphed automatically (e.g.Router CPU/buffer misses/temperature,...) . How do I set a rule in this case to autom8? The Hosttemplates selects the correct graphs but i have to graph them manually.

2nd issue:
do i always have to hit the "Apply the autom8 rules to device"-Button even if i have enabled the auto function under settigns>misc? i have tried to delete(inc. datasources) and readd 1 device, select hosttemplate and save, but i see no automatism after.

3rd issuse:
tree-rules:
how is it possbile to automatically asign my devices under a location tree?
e.g.

Company>
----> Munich
-----------> 80333, Examplestreet
------------------> CISCO Switch x
------------------> HP Server y
----> Berlin

All my hostnames contain a ZIP code, maybe it is possible to filter some text credentials from the NOTE field of each host?

thanks in advance,
lankienen

edit: by the way i'm using this versions:
Cacti Version - 0.8.7e
Plugin Architecture - 2.5
Poller Type - Cactid v
Server Info - Linux 2.6.16.60-0.21-smp
Web Server - Apache/2.2.3 (Linux/SUSE)
PHP - 5.2.5
PHP Extensions - libxml, xml, session, pcre, SimpleXML, SPL, standard, Reflection, filter, date, apache2handler, bcmath, bz2, calendar, ctype, curl, dba, dbase, dom, exif, ftp, gd, gettext, gmp, iconv, imap, json, ldap, mbstring, mcrypt, mhash, mysql, mysqli, ncurses, odbc, openssl, pcntl, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, shmop, snmp, soap, sockets, SQLite, suhosin, sysvmsg, sysvsem, sysvshm, timezonedb, tokenizer, wddx, xmlreader, xmlrpc, xsl, zlib
MySQL - 5.0.26-Max
RRDTool - 1.2.12
SNMP - 5.3.0.1
Plugins
  • Global Plugin Settings (settings - v0.5)
    Thresholds (thold - v0.4.1)
    Device Monitoring (monitor - v0.8.2)
    Network Discovery (discovery - v0.8.4)
    Host Info (hostinfo - v0.2)
    Change password (passwd - v0.1)
    Network Tools (tools - v0.3)
    Read-only Devices Tab (devices - v0.4)
    Cacti-ReportIt (reportit - v0.7.1)
    SuperLinks (superlinks - v0.8)
    SSL Redirector (ssl - v0.1)
    Uptime (uptime - v0.3)
    System Title Changer (titlechanger - v0.1)
    FlowView (flowview - v0.6)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

lankienen wrote:hallo gandalf!

i'm already using autom8-v0.35b6.tgz

1st issue:

I have defined some simple Graph Templates to my host templates which are not beeing graphed automatically (e.g.Router CPU/buffer misses/temperature,...) . How do I set a rule in this case to autom8? The Hosttemplates selects the correct graphs but i have to graph them manually.
All simple graphs without prompts are graphed automatically. If a prompt requires your input, autom8 is at a loss. It can't guess what you'd like to enter.
2nd issue:
do i always have to hit the "Apply the autom8 rules to device"-Button even if i have enabled the auto function under settigns>misc? i have tried to delete(inc. datasources) and readd 1 device, select hosttemplate and save, but i see no automatism after.
You don't need to do it manually. Adding a new host either via cli or via web should trigger autom8. Did you enable the rules as well? Find some traces in cacti.log.
3rd issuse:
tree-rules:
how is it possbile to automatically asign my devices under a location tree?
e.g.

Company>
----> Munich
-----------> 80333, Examplestreet
------------------> CISCO Switch x
------------------> HP Server y
----> Berlin

All my hostnames contain a ZIP code, maybe it is possible to filter some text credentials from the NOTE field of each host?
It is possible to use notes today. You may use it for filtering, but I don't know if it's possible to get all features you need out of it. To judge, I need a sample notes field.
R.
lankienen
Cacti User
Posts: 60
Joined: Fri Feb 06, 2009 3:15 am
Location: Dublin

Post by lankienen »

Hi gandalf!

Thanks for your reply!

I have solved the first issue.

@issue2:

Yes i have enabled the following:
[x] Enable Autom8 Graph Creation
When disabled, Autom8 will not actively create any Graph.
This will be useful when fiddeling around with Hosts to avoid creating new Graphs each time you save an object
Invoking Rules manually will still be possible.


Th odd thing is that autom8 logging is not showing anything even in high or developer logging mode. I have checked the file permissions twice, but they are fine. I have configured another logfile path but i dont think this is the reason.
-rwxr-xr-x 1 root root 1828849 2010-09-13 10:52 cacti.log

I'm using cacti-0.8.7e.

Thanks in advance!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You verified "Settings -> Misc -> Poller Logging Level for AUTOM8"?
R.
lankienen
Cacti User
Posts: 60
Joined: Fri Feb 06, 2009 3:15 am
Location: Dublin

Post by lankienen »

Yes, but no result at all. :-?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please pm or email db dump, then.
R.
idtest
Posts: 3
Joined: Thu Jun 17, 2010 6:59 am
Location: L'viv

Re:

Post by idtest »

gandalf wrote: All simple graphs without prompts are graphed automatically. If a prompt requires your input, autom8 is at a loss. It can't guess what you'd like to enter.
And what if a graph has input fields with default values supplied. Like a graph for mysql stats, which has an input field for port with default value = 3306. This default values is used usually, but sometimes you want to graph stats for mysql on port 10306 or any other. Can autom8 create such graphs automatically using default values for input fields?
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: Autom8 V0.33

Post by spyd4r »

When will 0.35 be final?
Fireball.2k10
Posts: 10
Joined: Sat Feb 27, 2010 2:54 pm

Re: Autom8 V0.33

Post by Fireball.2k10 »

Hi,

I have the problem that there are no new graphs generated if a new host comes up. If I manuelly apply the autom8 Rules everything works fine.

Rules are enabled
at the Settings->Misc the graph creation is also enabled


Thanks for your help

Fireball
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: Autom8 V0.33

Post by spyd4r »

is it possible to export the autom8 rules for use on another server?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Autom8 V0.33

Post by TheWitness »

Sounds like a feature request. I would think that would make Autom8 really take off if the templates could be exported/shared.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
spyd4r
Posts: 29
Joined: Wed Sep 09, 2009 11:48 am
Location: Waterloo, Ontario

Re: Autom8 V0.33

Post by spyd4r »

TheWitness wrote:Sounds like a feature request. I would think that would make Autom8 really take off if the templates could be exported/shared.

TheWitness

Yeah, would be a great feature.. I guess for now i'll just grab them from the mysql db.
Fireball.2k10
Posts: 10
Joined: Sat Feb 27, 2010 2:54 pm

Re: Autom8 V0.33

Post by Fireball.2k10 »

Hi,

has anyone a idea what I can do?

I have the problem that there are no new graphs generated if a new host comes up. If I manuelly apply the autom8 Rules everything works fine.

Rules are enabled
at the Settings->Misc the graph creation is also enabled


Thanks for your help

Fireball
Locked

Who is online

Users browsing this forum: No registered users and 0 guests