Wednesday, May 22nd 2013, 6:45pm UTC+2
You are not logged in.
Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in
English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
This post has been edited 1 times, last edit by "jmeissner" (Jul 18th 2012, 1:09pm)
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
Birthday: Sep 22nd
Gender: male
Location: München
Occupation: Berater / Entwickler
Number of monitoring servers: x
Nagios Version: 3.2.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: x
Number of services: x
OS: SLES,CentOS,Debian
Plugin Version: x
NagVis Version: Git
NDO Version: -
IDO-Version: -
Perfparse Version: -
Other Addons: PNP, Check_MK, Livestatus, Multisite
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
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
Performance Data: [check_iftraffic_WAN!EXT:net1!100!100!m]
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
This post has been edited 2 times, last edit by "jmeissner" (Jul 4th 2012, 11:24am)
Birthday: Sep 22nd
Gender: male
Location: München
Occupation: Berater / Entwickler
Number of monitoring servers: x
Nagios Version: 3.2.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: x
Number of services: x
OS: SLES,CentOS,Debian
Plugin Version: x
NagVis Version: Git
NDO Version: -
IDO-Version: -
Perfparse Version: -
Other Addons: PNP, Check_MK, Livestatus, Multisite
Quoted
[check_iftraffic_WAN!EXT:net1!100!100!m]
Quoted
Also muss Nagvis dazu gebracht werden wie icinga die Daten in eckigen Klammer zu ignorieren. Jemand eine Idee dazu?
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
interessant. Sind das die Check Parameter? Was haben die in den Perfdaten zu suchen? Wenn es um die Skalierung geht, kann man die benötigten Werte doch vortrefflich im normalen Perfdaten Format übergeben.
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
Quoted
Quoted
Warum "muss" NagVis also damit korrekt umgehen können?
This post has been edited 1 times, last edit by "jmeissner" (Jul 9th 2012, 2:21pm)
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
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
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
|
|
Source code |
1 |
ocsp_command=submit_check_result |
|
|
Source code |
1 2 3 |
define command {
command_name submit_check_result
command_line /usr/lib/nagios/plugins/contrib/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$ | $SERVICEPERFDATA$ [$SERVICECHECKCOMMAND$]'
|
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
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
Birthday: May 30th 1983 (29)
Gender: male
Location: Nürnberg
Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways
Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev
Nagios Version: s/nagios/icinga/
Icinga Version: 1.9.0 / GIT
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 1000+
Number of services: 15000+
OS: RHEL, Debian, SUSE
Plugin Version: 1.4.16
IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle
Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
|
|
Source code |
1 |
/usr/lib/nagios/plugins/contrib/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' '$SERVICEPERFDATA$' '$SERVICECHECKCOMMAND$' |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
#!/bin/sh
# Arguments:
# $1 = host_name (Short name of host that the service is
# associated with)
# $2 = svc_description (Description of the service)
# $3 = state_string (A string representing the status of
# the given service - "OK", "WARNING", "CRITICAL"
# or "UNKNOWN")
# $4 = plugin_output (A text string that should be used
# as the plugin output for the service checks)
#
# Convert the state string to the corresponding return code
#printfcmd="/usr/bin/printf"
printfcmd="/bin/echo"
NscaBin=/usr/bin/send_nsca
NscaCfg="/etc/nagios/send_nsca.cfg"
IcingaHost="172.18.10.253"
return_code=-1
case "$3" in
OK)
return_code=0
;;
WARNING)
return_code=1
;;
CRITICAL)
return_code=2
;;
UNKNOWN)
return_code=-1
;;
esac
# pipe the service check info into the send_nsca program, which
# in turn transmits the data to the nsca daemon on the central
# monitoring server
if (test $# -eq 6)
then $printfcmd -e "$1\t$2\t$return_code\t$4|$5 [$6]" | $NscaBin -H $IcingaHost -c $NscaCfg
else $printfcmd -e "$1\t$2\t$return_code\t$4" | $NscaBin -H $IcingaHost -c $NscaCfg
fi
# EOF
|
|
|
Source code |
1 |
Jul 17 16:07:26 mu00mgm01 nsca[12084]: SERVICE CHECK -> Host Name: 'mu00sapmon01', Service Description: 'Current Users', Return Code: '0', Output: 'USERS OK - 2 users currently logged in' |
|
|
Source code |
1 |
[1342534280.118077] [256.1] [pid=1353] Running command '/usr/lib/nagios/plugins/contrib/submit_check_result mu00sapmon01 'Current Users' OK 'USERS OK - 2 users currently logged in' 'users=2;20;50;0' 'check_local_users!20!50''... |
This post has been edited 1 times, last edit by "jmeissner" (Jul 17th 2012, 4:33pm)
Birthday: May 30th 1983 (29)
Gender: male
Location: Nürnberg
Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways
Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev
Nagios Version: s/nagios/icinga/
Icinga Version: 1.9.0 / GIT
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 1000+
Number of services: 15000+
OS: RHEL, Debian, SUSE
Plugin Version: 1.4.16
IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle
Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf
Beginner
Number of monitoring servers: 4
Nagios Version: keine
Icinga Version: 1.8.4
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 213
Number of services: 6700
OS: openSuSE 12.2
Plugin Version: 1.4.16
NagVis Version: 1.7.5
Other Addons: pnp4nagios 0.6.19, check_mk 1.2.0p4
|
|
Source code |
1 2 3 |
if [$5 -eq '']
then $printfcmd -e "$1\t$2\t$return_code\t$4" | $NscaBin -H $IcingaHost -c $NscaCfg
else $printfcmd -e "$1\t$2\t$return_code\t$4|$5 [$6]" | $NscaBin -H $IcingaHost -c $NscaCfg
|