spine syslog ( Host Notice : xxx returned from DOWN state)

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
Wyllyam
Posts: 9
Joined: Thu Apr 13, 2006 4:37 am

spine syslog ( Host Notice : xxx returned from DOWN state)

Post by Wyllyam »

Salut,

Je reçoit bien les notifications Down/Up par email:
Host Error : Hostname is DOWN
Host Notice : Hostname (1.2.3.4) returned from DOWN state
Mais dans le syslog impossible de récupérer les returned from DOWN state

Vous savez quelles options sont à choisir pour cela ?

mais peut-être que ce n'est pas prévu dans Spine ?

cacti 0.8.7b & spine 0.8.7a
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You can install the THold plugin and obtain these notifications directly.

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?
Wyllyam
Posts: 9
Joined: Thu Apr 13, 2006 4:37 am

Post by Wyllyam »

thold 0.3.9 is already installed.

I get the returned from down notification by mail, into the cacti log file but not into syslog

What are the option have to change so I can find this notification appear into syslog ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There are a number of ways. If using syslog-ng, you can have the Cacti syslog actually incorporated into the system syslog, if that's what you want. However, the Cacti Log is not quite syslog compliant. I would guess you would configure them to all go in at either Info or Notice.

You would have to seek out Cigamit on the inclusion of this in 0.41+
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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:There are a number of ways. If using syslog-ng, you can have the Cacti syslog actually incorporated into the system syslog, if that's what you want. However, the Cacti Log is not quite syslog compliant. I would guess you would configure them to all go in at either Info or Notice.

You would have to seek out Cigamit on the inclusion of this in 0.41+
I see THOLD alerts in my syslog-ng setup, plus dead host notifications etc using THOLD 0.4.1
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Wyllyam
Posts: 9
Joined: Thu Apr 13, 2006 4:37 am

Post by Wyllyam »

In fact, I'm using CactiEZ with syslog-ng automaticaly installed and all messages stored into MySQL.

I already received the Down notifications (into syslog , by email, into Cacti Log file)
example I get into syslog
<42>Mar 19 13:30:19 cacti Cacti[21605]: 03/19/2009 01:30:19 PM - SPINE: Poller[0] Host[1040] Hostname[1.2.3.4] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
I already received the return from Down notification (by email, into Cacti Log file) but not into syslog.
I would like to get into syslog :
Host Notice : XXX (1.2.3.4) returned from DOWN state
Wyllyam
Posts: 9
Joined: Thu Apr 13, 2006 4:37 am

Post by Wyllyam »

I have just done updates.

from Cacti 0.8.7b to 0.8.7d
+ pluginArchitecture (prepatched by TheWitness)

Whereas I have installed Thold0.4.1, now I have totally lost the Thold plugin (no option into settings, and no Treshold Tab).
Cacti Version - 0.8.7d
Plugin Architecture - 2.4-1
Poller Type - Cactid v
Server Info - Linux 2.6.9-67.0.4.plus.c4smp
Web Server - Apache/2.0.59 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, ldap, mysql, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.54
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
  • Global Plugin Settings (settings - v0.5)
    Device Monitoring (monitor - v0.8.2)
    Global Plugin Settings (settings - v0.5)
    Update Checker (update - v0.4)
    Host Info (hostinfo - v0.2)
    Thresholds (thold - v0.4.1)
    Syslog Monitoring (syslog - v0.5.2)
any idea to restore it ?
Wyllyam
Posts: 9
Joined: Thu Apr 13, 2006 4:37 am

Post by Wyllyam »

ok I found my problem for the installation and activation of Thold.

1/ my user doesn't have rights to manage plugins
2/ once rights ok, I have to install and to activate the new Thold 0.4.1


now I have to test if I receive into syslog the return from Down notificaion.
pbeobide
Posts: 2
Joined: Mon May 12, 2014 5:58 am

Re:

Post by pbeobide »

Wyllyam wrote:ok I found my problem for the installation and activation of Thold.
now I have to test if I receive into syslog the return from Down notificaion.
Hello

have you fixed this problem and get the return notification in syslog ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest