SNMPTT/SYSLOG viewer Plugin for Cacti. v 1.4.3 (2009/02/06)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

savagemindz wrote:Hi gthe,

Is it possible to create rules against traps that have not yet been triggered?
Yes! Use [contains] operator. Or [start's with] AND [end with] both.
savagemindz wrote:
I am using version 1.4.1

Finally, and this isn't a problem. You have a missing "php" in "snmptt/include/snmptt_header_ext.php" here....

iain
Thanks, fixed.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

--- 1.4.3 ---
  • Minor updates:
    - Use ExtJS v2.2.1;
    - Add indices for syslog table (may cause long time to first open page);
    - Use mysql_affected_rows() instead of ROW_COUNT();
    - Fix error in snmptt_header_ext.php (thanks savagemindz);
This is a last version of snmptt plugin.
Next will be camm (CActi Message Manager) plugin 1.5
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
savagemindz
Posts: 10
Joined: Wed Feb 14, 2007 10:39 am

Post by savagemindz »

Hi gthe,

I tried "contains" but it gave me some funny results. I then cleared my browsers cache and it started working properly. Stoopid browser. ;-)

Thanks for your help with this.

iain
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Another feature request. Add an option to use a separate memory table for processing of incoming messages.

I had to move back to the regular syslog plugin, as snmptt would die under the load (super high disk I/O). This is a result of the way incoming messages are handled. The old syslog plugin could use a memory table, so when processing high amounts of messages (im getting 15000 per minute) and using removal rules to delete 99% of them doesn't cause you to thrash your disk writing and deleting that many entries from the file based mysql table. It then writes the remaining logs to the "viewing" table after processing.
GuessWho
Posts: 16
Joined: Tue Jan 13, 2009 2:55 pm

Post by GuessWho »

This may be forward of me but if you are deleting 99% of your messages maybe you should decrease your syslog level/verbosity?
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Not possible. DHS requirements mandate we log everything but Debug with 90 days of online data, and 7 years of backed up data. All devices forward the exact same data to 2 syslog servers. 1 collects everything and logs to flatfile (~8 gig per day, compressed after 7 days). This server stores everything for DHS compliance.

The other server is my "useable" data server, which I use to actually see the important information. This is the server that deletes 99% of the crap.
igorx
Posts: 7
Joined: Sun Sep 14, 2008 4:14 am
Location: Russia

ERROR: No CHECKBOX at "Rule enable" field

Post by igorx »

ERROR: No CHECKBOX at "Rule enable" field. But, when i set this field in mysql, rule is working, and value of this field is replaced on "true"

RU:
Нет chekbox'a у "Rule enable". Но если в mysql ручками в соответствующей табличке установить это поле в "1" то правило работает и значение заменяется на true.
Cacti Version - 0.8.7b
Plugin Architecture - 2.1
Poller Type - Cactid v
Server Info - FreeBSD 7.1-STABLE
Web Server - Apache
PHP - 5.2.5
PHP Extensions - libxml, xmlwriter, SimpleXML, dom, xmlreader, xml, tokenizer, session, pcre, SPL, PDO, SQLite, soap, snmp, hash, standard, Reflection, posix, pdo_sqlite, mysql, mbstring, ldap, json, iconv, http, gd, ftp, filter, dbase, date, ctype, bz2, zlib, openssl, apache2handler
MySQL - 5.0.51a-log
RRDTool - 1.3.1
SNMP - 5.4.2.1
Plugins
  • Documents (docs - v0.1)
    Cacti Log View (CLog - v1.1)
    Cycle Graphs (Cycle Graphs - v0.5)
    Host Info (hostinfo - v0.2)
    Device Monitoring (monitor - v0.8.2)
    NTop Viewer (ntop - v0.1)
    Global Plugin Settings (settings - v0.5)
    Thresholds (thold - v0.3.9)
    Network Tools (tools - v0.3)
    Update Checker (update - v0.4)
    PHP Network Weathermap (weathermap - v0.95b)
    Create Aggregate Graphs (aggregate - v0.66)
    SuperLinks (superlinks - v0.72)
    Read-only Devices Tab (devices - v0.4)
    PHP Network Managing (PHP Network Managing - v0.6)
    Poller Performance Report (pollperf - v0.32)
    Dataquery (dataquery - v0.1.2a)
    SNMPTT and SYSLOG viewer for cacti (snmptt - v1.4.3)
    Device Status Monitoring (Status - v4)
    IP subnet Calculator IPv4 IPv6 (ipsubnet - v.4d)
    collects poller output in cactis mysql database (transporter - v0.2)
    uptime
    Real-time statistics (zond - v0.34c)
Attachments
No CHECKBOX at "Rule enable" field.
No CHECKBOX at "Rule enable" field.
error_snmptt.jpg (108.15 KiB) Viewed 6213 times
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

igorx - it is already fixed in next dev version.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

Here is a new version (CaMM 1.5.0) - http://forums.cacti.net/viewtopic.php?p=156769#156769

mode, pls, close this topic.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
termite
Posts: 17
Joined: Mon Aug 17, 2009 1:29 pm

snmptt is not found in Plugin Management

Post by termite »

Hi Everyone,

I have performed the following to install snmptt:


1. Install just like any other plugin, just throw it in the plugin directory, in a folder called snmptt.
Edit your includes/global.php and add it to your $plugins list, and you are rolling.

But I was not able to see the snmptt under the Plugin Management. Any suggestion or ideas will be greatly appreciate. Thank you in advance!!!
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Post by niobe »

Check the permissions of the snmptt directory and files - should be readable by the cacti user
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests