1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
:

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

mentweet.pspz

(Visited 135 times, 1 visits today)

For correct visualization of the Pandora FMS library extension, you must have installed version NG 760 or superior

X