
Sentinella
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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
7 years ago
Using KComboBox instead of QComboBox.
Using logind instead of ConsoleKit. (thanks Iain Lane )
Migrating to XZ compression for the package generation.
Added command line parameter for the play-alarm action.
7 years ago
Using KComboBox instead of QComboBox.
Using logind instead of ConsoleKit. (thanks Iain Lane )
Migrating to XZ compression for the package generation.
Added command line parameter for the play-alarm action.
pppppppp
5 years ago
Report
DutchGigalo
6 years ago
if a program gives a error or crashes, write output to a log file for bug reporting....
Report
XandarKablandar
8 years ago
Report
google01103
9 years ago
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
hazel-dev
9 years ago
Report
google01103
9 years ago
Report
Montblanc
10 years ago
Report
matrs5
10 years ago
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
hazel-dev
10 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
10 years ago
I have just one version of Sentinella installed .I never installed the fedora repo version, first saw accidentally application here :)
Report
olegue
10 years ago
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
hazel-dev
10 years ago
Another dependency is KDE 4.4, and it seems like your are using KDE 4.3.
Report
mirzaD
11 years ago
This is exactly in the spirit of KDE :)
Great work.
Report
conraid
11 years ago
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
hazel-dev
11 years ago
Thanks.
Report
conraid
11 years ago
http://nopaste.info/ac3d8e5d3c.html
Report
conraid
11 years ago
libsysactivity not present
Report
hazel-dev
11 years ago
Report
hazel-dev
11 years ago
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