Monitoring of interrupts on the network interfaces in Linux.

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
User avatar
red_neon
Posts: 24
Joined: Sun Mar 21, 2010 11:50 pm
Location: Moscow, Russia

Monitoring of interrupts on the network interfaces in Linux.

Post by red_neon »

screenshot-1.png
screenshot-1.png (80.77 KiB) Viewed 944 times
screenshot-2.png
screenshot-2.png (66.35 KiB) Viewed 944 times
=======================================================================
DESCRIPTION


* snmp_sys_interrupts.pl
* v0.1 (2015.04.06)
* by red_neon
* Monitoring of interrupts in Linux system. For network interfaces and other devices.
=======================================================================
INSTALLATION


[REMOTE-SERVER SIDE]

[1] sys_interrupts script
Copy snmp_sys_interrupts.pl
from: sys_interrupts_v0.1/remote_server/
to: /etc/srv_scripts/ (create if not exists)

[2] snmpd
Put into snmpd.conf string:
$ nano /etc/snmp/snmpd.conf
pass_persist .1.3.6.1.4.1.2021.190.1000.1 /usr/bin/perl /etc/srv_scripts/snmp_sys_interrupts.pl

restart snmpd:
$ /etc/init.d/snmpd restart

checking:
$ snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.190.1000.1


[CACTI-SERVER SIDE]

[3] cacti xml
Copy snmp_sys_interrupts.xml
from: sys_interrupts_v0.1/cacti_dir/resource/snmp_queries/
to: cacti/resource/snmp_queries/

[4] cacti templates
Import templates from sys_interrupts_v0.1/cacti_web_templates/ in Cacti:
=======================================================================

When you will create graphs - look at type of graph (see screenshot)

red_neon
graph_select-1.png
graph_select-1.png (54.24 KiB) Viewed 944 times
sys_interrupts_v0.1.zip
(221.01 KiB) Downloaded 91 times
"Imagination is more important than Knowledge."
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests