Sentinella
System Software
Score 74%
Description:

Sentinella monitors your system activity and, when a condition is met, takes an action that you\'ve chosen.

Thanks to libsysactivity (http://sourceforge.net/projects/libsysactivity/) it can measure the activity of your processors, memory, network interfaces (and more) and whenever one of these conditions reaches some limit it will automatically execute an action of your choice, such as shutdown/reboot/hibernate your computer, kill a process, trigger an alarm or execute any command.

So it can, for example, turn off your computer when the network traffic falls, or reboot it when an application ends.

Report bugs at https://sourceforge.net/p/sentinella/bugs/new/

Help translating Sentinella at https://translations.launchpad.net/sentinella/trunk/+pots/sentinella
Last changelog:

7 years ago

[li]Using KComboBox instead of QComboBox.[/li]
[li]Using logind instead of ConsoleKit. (thanks Iain Lane )[/li]
[li]Migrating to XZ compression for the package generation.[/li]
[li]Added command line parameter for the play-alarm action.[/li]

pppppppp

2 years ago

Installed and loaded normally after run... but when simply selecting 'Network traffic' it exits. It seems a segmentation problem error, probably in libsysactivity...

Report

DutchGigalo

2 years ago

would be better to Add a feature, write to log.
if a program gives a error or crashes, write output to a log file for bug reporting....

Report

XandarKablandar

5 years ago

This is the first time I've heard of this gem! Thank you for updating it :)

Report

google01103

6 years ago

I installed it and set it up but it's not triggering and executing as expected

condition = memory used higher than 3500mb (3963mb installed) during 5 seconds

action = terminate the program Opera (there a massive memory leak in the weekly build)

It's running in the system tray

Opera was using 89% ram per htop (3527mb) and yet it wasn't terminated

thanks,

Report

C

hazel-dev

6 years ago

I'm sure the problem is the usual confusion between MB and MiB. Try to not use a very close value, in your case i would use 3000 mb as limit. For example, i would consider a bug if it reaches 3500 mb and the limit is on 3000 mb. And, please, next time try to use the bug tracker for such stuff. Thanks for your feedback.

Report

google01103

6 years ago

posted to bug tracker as requested

Report

Montblanc

6 years ago

The 0.8.0 release is astonishing! It's really useful as it claims to be and it does what I want it to do. Please, keep up the good work!

Report

matrs5

7 years ago

I'm using fedora 12 x64 with kde 4.4 and libsysactivity 0.5.3

When start Sentinella, gives this error

Sentinella: error while loading shared libraries: libsysactivity.so.0: cannot open shared object file: No such file or directory.

I installed libsysactivity, and by default the path installation is /usr/lib/.

I copy libsysactivity.so files to /usr/lib64/ and application starts without problem. In x64 system, I supose that Sentinell looks in the usr/lib64/ folder. Maybe could look in both paths?

By other way, When I launch the app from console, the icon on taskbar and systemtray is missed, I just see a question mark icon. When I launch from kde menu, the app icon is here, but in systemtray isn't.

I don't use Fedora package because is old (0.6.1)

Report

C

hazel-dev

7 years ago


If your cpu is 64 bits you should install libsysactivit in /usr/lib64/ using the cmake parameter -DCMAKE_INSTALL_PREFIX

Sentinella is not who loads the needed libraries so the libsyactivity installation must be in the correct place.

The last problem you report may be caused by two versions of sentinella installed at the same time. Probably you are running the old one, please check it at the about dialog.

If you still found problems please file a bug at https://sourceforge.net/tracker/?group_id=277778&atid=1179456 adding the commands your are running to install both packages and the running desktop version.

Report

matrs5

7 years ago

Thanks for the answer

I have just one version of Sentinella installed .I never installed the fedora repo version, first saw accidentally application here :)

Report

olegue

7 years ago

on opensuse 11.2 86X64

one@linux:~/Desktop/Sentinella-0.6.0/build> cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_INSTALL_PREFIX is not set, using default value: /usr
-- LOCALE_INSTALL_DIR is not set, using default value: /usr/share/locale/
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon Version: 4.3.80
-- Found Phonon: /usr/lib64/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found KDE4Workspace: /usr/lib64/cmake/KDE4Workspace-4.3.5/KDE4WorkspaceConfig.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/one/Desktop/Sentinella-0.6.0/build
one@linux:~/Desktop/Sentinella-0.6.0/build> make
/usr/bin/cmake -H/home/one/Desktop/Sentinella-0.6.0 -B/home/one/Desktop/Sentinella-0.6.0/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/one/Desktop/Sentinella-0.6.0/build/CMakeFiles /home/one/Desktop/Sentinella-0.6.0/build/CMakeFiles/progress.make
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/one/Desktop/Sentinella-0.6.0/build'
make -f src/CMakeFiles/Sentinella_automoc.dir/build.make src/CMakeFiles/Sentinella_automoc.dir/depend
make[2]: Entering directory `/home/one/Desktop/Sentinella-0.6.0/build'
cd /home/one/Desktop/Sentinella-0.6.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/one/Desktop/Sentinella-0.6.0 /home/one/Desktop/Sentinella-0.6.0/src /home/one/Desktop/Sentinella-0.6.0/build /home/one/Desktop/Sentinella-0.6.0/build/src /home/one/Desktop/Sentinella-0.6.0/build/src/CMakeFiles/Sentinella_automoc.dir/DependInfo.cmake --color=
Scanning dependencies of target Sentinella_automoc
make[2]: Leaving directory `/home/one/Desktop/Sentinella-0.6.0/build'
make -f src/CMakeFiles/Sentinella_automoc.dir/build.make src/CMakeFiles/Sentinella_automoc.dir/build
make[2]: Entering directory `/home/one/Desktop/Sentinella-0.6.0/build'
cd /home/one/Desktop/Sentinella-0.6.0/build/src && /usr/bin/automoc4 /home/one/Desktop/Sentinella-0.6.0/build/src/Sentinella_automoc.cpp /home/one/Desktop/Sentinella-0.6.0/src /home/one/Desktop/Sentinella-0.6.0/build/src /usr/bin/moc /usr/bin/cmake
Generating PlayAlarm.moc
Generating MainWindow.moc
make[2]: Leaving directory `/home/one/Desktop/Sentinella-0.6.0/build'
/usr/bin/cmake -E cmake_progress_report /home/one/Desktop/Sentinella-0.6.0/build/CMakeFiles
[ 0%] Built target Sentinella_automoc
make -f src/CMakeFiles/Sentinella.dir/build.make src/CMakeFiles/Sentinella.dir/depend
make[2]: Entering directory `/home/one/Desktop/Sentinella-0.6.0/build'
/usr/bin/cmake -E cmake_progress_report /home/one/Desktop/Sentinella-0.6.0/build/CMakeFiles 17
[ 5%] Generating ui_MainWindow.h
cd /home/one/Desktop/Sentinella-0.6.0/build/src && /usr/bin/cmake -DKDE4_HEADER:BOOL=ON -DKDE_UIC_EXECUTABLE:FILEPATH=/usr/bin/uic -DKDE_UIC_FILE:FILEPATH=/home/one/Desktop/Sentinella-0.6.0/src/MainWindow.ui -DKDE_UIC_H_FILE:FILEPATH=/home/one/Desktop/Sentinella-0.6.0/build/src/ui_MainWindow.h -DKDE_UIC_BASENAME:STRING=MainWindow -P /usr/share/kde4/apps/cmake/modules/kde4uic.cmake
cd /home/one/Desktop/Sentinella-0.6.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/one/Desktop/Sentinella-0.6.0 /home/one/Desktop/Sentinella-0.6.0/src /home/one/Desktop/Sentinella-0.6.0/build /home/one/Desktop/Sentinella-0.6.0/build/src /home/one/Desktop/Sentinella-0.6.0/build/src/CMakeFiles/Sentinella.dir/DependInfo.cmake --color=
Scanning dependencies of target Sentinella
make[2]: Leaving directory `/home/one/Desktop/Sentinella-0.6.0/build'
make -f src/CMakeFiles/Sentinella.dir/build.make src/CMakeFiles/Sentinella.dir/build
make[2]: Entering directory `/home/one/Desktop/Sentinella-0.6.0/build'
/usr/bin/cmake -E cmake_progress_report /home/one/Desktop/Sentinella-0.6.0/build/CMakeFiles 1
[ 11%] Building CXX object src/CMakeFiles/Sentinella.dir/Sentinella_automoc.o
cd /home/one/Desktop/Sentinella-0.6.0/build/src && /usr/bin/c++ -D_BSD_SOURCE -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -I/home/one/Desktop/Sentinella-0.6.0/build/src -I/home/one/Desktop/Sentinella-0.6.0/src -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -o CMakeFiles/Sentinella.dir/Sentinella_automoc.o -c /home/one/Desktop/Sentinella-0.6.0/build/src/Sentinella_automoc.cpp
/usr/bin/cmake -E cmake_progress_report /home/one/Desktop/Sentinella-0.6.0/build/CMakeFiles 2
[ 17%] Building CXX object src/CMakeFiles/Sentinella.dir/Conditions/DateTime.o
cd /home/one/Desktop/Sentinella-0.6.0/build/src && /usr/bin/c++ -D_BSD_SOURCE -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -I/home/one/Desktop/Sentinella-0.6.0/build/src -I/home/one/Desktop/Sentinella-0.6.0/src -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -o CMakeFiles/Sentinella.dir/Conditions/DateTime.o -c /home/one/Desktop/Sentinella-0.6.0/src/Conditions/DateTime.cpp
/usr/bin/cmake -E cmake_progress_report /home/one/Desktop/Sentinella-0.6.0/build/CMakeFiles 3
[ 23%] Building CXX object src/CMakeFiles/Sentinella.dir/Conditions/CPU.o
cd /home/one/Desktop/Sentinella-0.6.0/build/src && /usr/bin/c++ -D_BSD_SOURCE -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -I/home/one/Desktop/Sentinella-0.6.0/build/src -I/home/one/Desktop/Sentinella-0.6.0/src -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -o CMakeFiles/Sentinella.dir/Conditions/CPU.o -c /home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp
In file included from /home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:21:
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.h:24:43: error: libsysactivity/libsysactivity.h: No such file or directory
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.h:26:2: error: #error libsysactivity not installed or wrong version
In file included from /home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:21:
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.h:46: error: âuint16_tâ does not name a type
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp: In member function âvirtual void CPU::open()â:
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:34: error: ânumberOfCPUsâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:34: error: âsa_count_cpusâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:36: error: ânumberOfCPUsâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:36: error: invalid application of âsizeofâ to incomplete type âsa_cpuâ
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp: In member function âvirtual bool CPU::evaluate()â:
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:42: error: âuint16_tâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:42: error: expected â;â before âwrittenCPUsâ
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:43: error: ânumberOfCPUsâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:43: error: âwrittenCPUsâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:43: error: âsa_get_cpusâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:47: error: expected â;â before âiâ
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:47: error: âiâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:47: error: âwrittenCPUsâ was not declared in this scope
/home/one/Desktop/Sentinella-0.6.0/src/Conditions/CPU.cpp:50: error: âwrittenCPUsâ was not declared in this scope
make[2]: *** [src/CMakeFiles/Sentinella.dir/Conditions/CPU.o] Error 1
make[2]: Leaving directory `/home/one/Desktop/Sentinella-0.6.0/build'
make[1]: *** [src/CMakeFiles/Sentinella.dir/all] Error 2
make[1]: Leaving directory `/home/one/Desktop/Sentinella-0.6.0/build'
make: *** [all] Error 2
one@linux:~/Desktop/Sentinella-0.6.0/build>

Report

C

hazel-dev

7 years ago

See the previous comments and the error: libsysactivity (http://sourceforge.net/projects/libsysactivity/) is not installed in your system.

Another dependency is KDE 4.4, and it seems like your are using KDE 4.3.

Report

mirzaD

7 years ago

Great idea and a great program..

This is exactly in the spirit of KDE :)

Great work.

Report

conraid

7 years ago

With Slackware -current
gcc 4.4.2
kde 4.3.4
glibc 2.11.1

In file included from /tmp/pkg/Sentinella-0.5.0/src/MainWindow.h:50,
from /tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:21:
/tmp/pkg/Sentinella-0.5.0/src/Actions/KillProcess.h:28: warning: ‘class KillProcess’ has virtual functions and accessible non-virtual destructor
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp: In member function ‘void MainWindow::startClicked()’:
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:326: error: expected type-specifier before ‘CPU’
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:326: error: cannot convert ‘int*’ to ‘AbstractCondition*’ in assignment
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:326: error: expected ‘;’ before ‘CPU’
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:330: error: expected type-specifier before ‘Memory’
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:330: error: cannot convert ‘int*’ to ‘AbstractCondition*’ in assignment
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:330: error: expected ‘;’ before ‘Memory’
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:334: error: expected type-specifier before ‘Network’
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:334: error: cannot convert ‘int*’ to ‘AbstractCondition*’ in assignment
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:334: error: expected ‘;’ before ‘Network’
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:353: error: expected type-specifier before ‘ProcessDies’
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:353: error: cannot convert ‘int*’ to ‘AbstractCondition*’ in assignment
/tmp/pkg/Sentinella-0.5.0/src/MainWindow.cpp:353: error: expected ‘;’ before ‘ProcessDies’
make[2]: *** [src/CMakeFiles/Sentinella.dir/MainWindow.o] Error 1
make[2]: Leaving directory `/tmp/pkg/Sentinella-0.5.0/build'
make[1]: *** [src/CMakeFiles/Sentinella.dir/all] Error 2
make[1]: Leaving directory `/tmp/pkg/Sentinella-0.5.0/build'
make: *** [all] Error 2

Report

C

hazel-dev

7 years ago

First of all: thanks for testing.

I never tried to compile it with gcc 4.4 so it should be the problem.. i will poke you one it's fixed

Report

C

hazel-dev

7 years ago

I've just tested it under the last slackware -current (5 of january) and it compiles. Can you please give me the full compilation log?

Thanks.

Report

conraid

7 years ago

without parameter

http://nopaste.info/ac3d8e5d3c.html

Report

conraid

7 years ago

i'm sorry

libsysactivity not present

Report

C

hazel-dev

7 years ago

Yes, i was about to tell you.. but the build process should be more verbose about it.

Report

7 years ago

[li]Using KComboBox instead of QComboBox.[/li]
[li]Using logind instead of ConsoleKit. (thanks Iain Lane )[/li]
[li]Migrating to XZ compression for the package generation.[/li]
[li]Added command line parameter for the play-alarm action.[/li]

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.9.2
updated Oct 13 2013
added Jan 10 2010
downloads today
0
page views today 2