snmp traps like others nms

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

mlist
Cacti User
Posts: 50
Joined: Thu May 26, 2005 3:12 pm

snmp traps like others nms

Post by mlist »

I have several cisco routers with snmp traps configured to send traps to a nms server (whatsup or n-view from http://n-view.de).
I already use cacti to monitor others services but I woul like to use only cacti as nms server but I need the ability to receice traps from cisco devices in the same way of whatsup.
In fact i already tried to use thold but it simply checks snmp devices and, if they don't respond to snmp request, it shows a down host; this isn't the same thing.....

Can you add this future that in my opinion in needed in a tool like cacti?
Thanks! :)
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

Whole Cacti (and rrdtoold) concept is based on polling... any data Cacti receives come in synchronous manner every 5 min by default. SNMP traps however are asynchronous events and do not fit here in any way.

- Piotr
ppollet73
Posts: 32
Joined: Tue Feb 01, 2005 2:31 am
Location: Grenoble - France

Post by ppollet73 »

It will be just a great add-on extending the actual cacti capabilities.

I think, it's a killer feature

Regards

Pipol
mlist
Cacti User
Posts: 50
Joined: Thu May 26, 2005 3:12 pm

We'll wait this future

Post by mlist »

Ok...

now I know it insn't possible. I hope some guru (THe witness, rony, cigamit.....etc) will add this wonderful future!!!!

Hi :D
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

An intellegent NOC will monitor their SYSLOG's and generate alarms using an event correlation engine. We can add traps to Cacti based upon HOST UP/DOWN events, but that's what the syslogging is all about.

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?
mlist
Cacti User
Posts: 50
Joined: Thu May 26, 2005 3:12 pm

Post by mlist »

Hi mitic Thewitness,

I apologize for my stupid question (and, maybe....my poor english knowledge) but your reply is not clear to me.

What is an intelligent noc?
you told: that's what the syslogging is all about.
I would like to configure cisco devices with something like this:
(The following example enables the router to send all traps to the host using the community string "public")

snmp-server enable traps snmp
snmp-server host 172.30.2.160 public snmp

(172.30.2.160 shoud be my cacti server)

Do you mean that is not possible to receive this traps with cacti? Why?
A lot of snmp software like whatsup and n-view.de or prtg are enabled. WHy cacti no?

Thanks
:(
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you are talking of Cacti being a Trap receiver, the author was not interested in taking the product into that realm. Per the author/inventor of Cacti, the intent of product is to be a graphing solution, not an (adjectives removed) NMS.

There are several other packages that do that just fine. Now, three years from now, will the answer be the same, I don't know.

Regards,

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?
mlist
Cacti User
Posts: 50
Joined: Thu May 26, 2005 3:12 pm

Post by mlist »

Ok TheWitness,

I have understood the concept. This is not important for me, this was just a curiosity.
Cacti will be one of my favourites open source program!


Thanks!!!

by from Italy :D
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

You can use Cacti as an SNMP trapd receiver.
I do.

In fact, I have my SNMP traps get logged directly into Syslog.
One stop shopping for Traps and Syslogging.

You can see what I am doing here:
http://members.netjunkies.net/n3ncy/Fre ... t-SNMP.htm
Under Step 3 look at my changes.

I have Syslogd and Traplogd both dumping to /var/log/messages

I currently use Cacti as my only NMS platform.

I am working on a more advanced Trap and Syslog parsing, alerting and rules based database archiving using Syslog-NG
http://www.balabit.com/products/syslog_ng/

This would all eventually end up on the Syslog tab via the plugin architecture that is already built and tested by others.
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

you rule!

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?
mlist
Cacti User
Posts: 50
Joined: Thu May 26, 2005 3:12 pm

Post by mlist »

hi N3NCY

I think it would be a cool plug-in. I hope someone will integrate this future in cacti

Thanks for your suggestion!
ccsdnoc
Posts: 6
Joined: Sat Feb 18, 2006 1:35 pm
Location: Meadville, PA
Contact:

Post by ccsdnoc »

I too have been working hard to get the SNMP Trap -> syslog work as well. I have been trying to get SNMPTT to work as well, which would make the traps more meaningful. So far, no luck. But, I do have the traps coming in, being logged, i can get them into Cacti syslog plug-in with no problem...getting them translated and broken down correctly, is a bit tougher. As well as getting the right color coding, like "ColdRestart" Warning or Critical. :o
Donald D. Quindardo
Computer Technician & Web Master
Crawford Central School District
11280 Mercer Pike
Meadville, PA 16335
cactiuser0
Posts: 6
Joined: Fri Apr 07, 2006 11:19 am

Post by cactiuser0 »

I have to second what theWittness said. What cacti good is graph
reporting. Not NMS/alerting. I would like to see cacti focus on
reporting stuff, such as ability to build group of reports,
daily/weekly/yearly reports, top n reports...

syslog plugin is cool, but it should stay as plugin
spoonman
Cacti User
Posts: 305
Joined: Tue May 03, 2005 8:54 am
Location: GA

Post by spoonman »

Any luck on geting this setup with snmptt?? I'm trying to setup snmptrapd with snmptt...i already have syslog-ng setup with the haloe plugin here...that works great!! If I can have traps accepted using snmptrapd and translated into syslog it would be nice. I could then setup alerts on stuff// Anyone care to post their working configs for all this.


Thanks
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

What is the advantage of snmptt over the net-snmp tools?
I have snmptraplogd running ok with net-snmp.
I just never tried snmptt.
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests