Tuesday, May 21st 2013, 12:48pm UTC+2
You are not logged in.
Birthday: Oct 11th
Gender: male
Location: Ludwigshafen
Occupation: Netzwerkadministrator
Number of monitoring servers: 3
Nagios Version: 3.2.2
Icinga Version: 1.8.2
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: >1100
Number of services: >8000
OS: Ubuntu 12.04, CentOS 6
Plugin Version: 1.4.13
NagVis Version: 1.6.13
Other Addons: PNP (0.6.14) , nagvis, check_multi, BPV, mk-livestatus, mod_gearman, thruk
|
|
Source code |
1 |
../libexec/testplugin.pl param1 param2 paramx |
|
|
Source code |
1 2 3 4 |
define command{
command_name notify-service-by-email
command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}
|
|
|
Source code |
1 2 3 4 |
define command{
command_name notify-service-by-email
command_line $USER1$/testplugin.pl abcdef /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" \| /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}
|
|
|
Source code |
1 |
`@ARGV` |
This post has been edited 1 times, last edit by "thd" (Mar 19th 2009, 8:40am)
Location: Esslingen
Number of monitoring servers:
Nagios Version:
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts:
Number of services:
OS:
Plugin Version:
NagVis Version:
NDO Version:
Perfparse Version:
Other Addons:

Birthday: Oct 11th
Gender: male
Location: Ludwigshafen
Occupation: Netzwerkadministrator
Number of monitoring servers: 3
Nagios Version: 3.2.2
Icinga Version: 1.8.2
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: >1100
Number of services: >8000
OS: Ubuntu 12.04, CentOS 6
Plugin Version: 1.4.13
NagVis Version: 1.6.13
Other Addons: PNP (0.6.14) , nagvis, check_multi, BPV, mk-livestatus, mod_gearman, thruk
|
|
Source code |
1 2 3 4 5 |
#!/usr/bin/perl use strict; use warnings; print "@ARGV\n"; exit 0; |
|
|
Source code |
1 |
./argv.pl "test01 \ntest02" |
|
|
Source code |
1 |
./argv.pl "test01 \\ntest02" |
|
|
Source code |
1 |
test01 \ntest02 |
|
|
Source code |
1 2 |
test01 test02 |
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.2.1
Icinga Version: Icinga 1.7.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: >70
Number of services: >200
OS: SLES11
Plugin Version: 1.4.15
Other Addons: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6.18
|
|
Source code |
1 2 3 4 5 6 |
#!/usr/bin/perl
use strict;
use warnings;
for (0..$#ARGV) { $ARGV[$_] =~ s#\\n#\n#g; }
print "@ARGV\n";
exit 0;
|
|
|
Source code |
1 |
./argv.pl "test01 \ntest02" |
Andurin
Unregistered
Birthday: Oct 11th
Gender: male
Location: Ludwigshafen
Occupation: Netzwerkadministrator
Number of monitoring servers: 3
Nagios Version: 3.2.2
Icinga Version: 1.8.2
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: >1100
Number of services: >8000
OS: Ubuntu 12.04, CentOS 6
Plugin Version: 1.4.13
NagVis Version: 1.6.13
Other Addons: PNP (0.6.14) , nagvis, check_multi, BPV, mk-livestatus, mod_gearman, thruk
|
|
Source code |
1 2 3 4 |
define command{
command_name notify-service-bereitschaft
command_line $USER1$/check_bereitschaft.pl $CONTACTNAME$ && /usr/bin/printf "%b" "Type: $NOTIFICATIONTYPE... | /usr/bin/mail $CONTACTEMAIL$
}
|

So gehts. Wieder was gelernt. Birthday: Aug 16th 1965 (47)
Gender: male
Location: Deutschland
Occupation: Systemadmin Linux, DMZ
Number of monitoring servers: 5
Hobbies: Laufen, Angeln, Computa
Nagios Version: OMD mk Subskription
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: ~ 800
Number of services: sehr viele
OS: Nagios auf Debian, überwacht einiges ;-)
Plugin Version: OMD mk Subskription
NagVis Version: OMD mk Subskription
Other Addons: check_mk, SNMPTT, eigene,
Location: Kassel
Occupation: Sysadmin SAP / Linux / AIX
Number of monitoring servers: 2
Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)
Nagios Version: 3.2.3 ( OMD )
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 360
Number of services: 6700
OS: Debian 6.0
Plugin Version: 1.4.x
Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk
Birthday: Oct 11th
Gender: male
Location: Ludwigshafen
Occupation: Netzwerkadministrator
Number of monitoring servers: 3
Nagios Version: 3.2.2
Icinga Version: 1.8.2
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: >1100
Number of services: >8000
OS: Ubuntu 12.04, CentOS 6
Plugin Version: 1.4.13
NagVis Version: 1.6.13
Other Addons: PNP (0.6.14) , nagvis, check_multi, BPV, mk-livestatus, mod_gearman, thruk

Birthday: Aug 16th 1965 (47)
Gender: male
Location: Deutschland
Occupation: Systemadmin Linux, DMZ
Number of monitoring servers: 5
Hobbies: Laufen, Angeln, Computa
Nagios Version: OMD mk Subskription
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: ~ 800
Number of services: sehr viele
OS: Nagios auf Debian, überwacht einiges ;-)
Plugin Version: OMD mk Subskription
NagVis Version: OMD mk Subskription
Other Addons: check_mk, SNMPTT, eigene,
Birthday: Oct 11th
Gender: male
Location: Ludwigshafen
Occupation: Netzwerkadministrator
Number of monitoring servers: 3
Nagios Version: 3.2.2
Icinga Version: 1.8.2
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: >1100
Number of services: >8000
OS: Ubuntu 12.04, CentOS 6
Plugin Version: 1.4.13
NagVis Version: 1.6.13
Other Addons: PNP (0.6.14) , nagvis, check_multi, BPV, mk-livestatus, mod_gearman, thruk
Birthday: Jul 27th 1978 (34)
Gender: male
Location: Köln
Occupation: Admin
Number of monitoring servers: 5
Hobbies: MMA/Motorrad
Nagios Version: 3.0
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 200
Number of services: 4000
OS: Debian
Plugin Version: 1.4.x
Other Addons: NC_Net,PNP,NDO2FS,Bp
Birthday: Oct 11th
Gender: male
Location: Ludwigshafen
Occupation: Netzwerkadministrator
Number of monitoring servers: 3
Nagios Version: 3.2.2
Icinga Version: 1.8.2
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: >1100
Number of services: >8000
OS: Ubuntu 12.04, CentOS 6
Plugin Version: 1.4.13
NagVis Version: 1.6.13
Other Addons: PNP (0.6.14) , nagvis, check_multi, BPV, mk-livestatus, mod_gearman, thruk