Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Application monitoring

Mentweet plugin for twitter

Author: Zarzuelo Create in: 11/30/2011 Update in: 03/14/2012
Rating:
Module type : Server plugin


This script provides the number of tweets with mentions of a string in the last X seconds

Module data

The plugin is in a pspz file to register it easily in Pandora FMS.

Use:

./mentweet.pl '[search_string]' [OPTIONAL:interval_in_seconds]

Default interval: 300

Example of use:

./mentweet.pl 'Pandora FMS' 600

Note: API Twitter allows 150 calls/hour. Each script execution could do more than one call, if the limit is exceeded, the script will returns -1.

This script requires the Twitter library.

You can download it from the repositories (in my case from Ubuntu) typing:

sudo apt-get install libnet-twitter-perl

or from cpan site:

http://search.cpan.org/dist/Net-Twitter/

Included files

  •  
    File: mentweet.pspz Size: 2KiB
    Uploaded in: 03/01/2017
    Description: Mentweet plugin in a Pspz file to register it easily in Pandora FMS.