PNP from Nagios XI GUI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Re: PNP from Nagios XI GUI

Post by r34220 »

Code: Select all

[root@az84mon11v libexec]# ./check_multi -f sdl_ftp.cmd
OK - 6 plugins checked, 6 ok [please don't run plugins as root!]
[ 1] az84_Phoenix TCP OK - 0.025 second response time on snjftp.sdlproducts.com port 21
[ 2] tx30_Oak_Hill TCP OK - 0.081 second response time on snjftp.sdlproducts.com port 21
[ 3] zch01_China TCP OK - 0.239 second response time on snjftp.sdlproducts.com port 21
[ 4] zfr11_Toulouse TCP OK - 0.169 second response time on snjftp.sdlproducts.com port 21
[ 5] zin45_India TCP OK - 0.264 second response time on snjftp.sdlproducts.com port 21
[ 6] zmy02_Kuala_Lumpur TCP OK - 0.229 second response time on snjftp.sdlproducts.com port 21|check_multi-check_multi-plugins=6 time=6.208602 az84_Phoenix::check_nrpe::time=0.025008s;;;0.000000;10.000000 tx30_Oak_Hill::check_nrpe::time=0.081251s;;;0.000000;10.000000 zch01_China::check_nrpe::time=0.239198s;;;0.000000;10.000000 zfr11_Toulouse::check_nrpe::time=0.168634s;;;0.000000;10.000000 zin45_India::check_nrpe::time=0.264030s;;;0.000000;10.000000 zmy02_Kuala_Lumpur::check_nrpe::time=0.229442s;;;0.000000;10.000000
Looks like that just fixes the perf data for the check_multi and not the other checks.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: PNP from Nagios XI GUI

Post by tgriep »

We found more changes to remove the :: fron the output. Edit the check_multi file again and change the following
Line 3922 from this

Code: Select all

$perftmp="${name}::check_multi::$1 ";
to

Code: Select all

$perftmp="${name}-check_multi-$1 ";
Line 3937 from this

Code: Select all

$perftmp="\'$cmds[$no]{name}::${plugin}::$1\'=$2$3 ";
to

Code: Select all

$perftmp="\'$cmds[$no]{name}-${plugin}-$1\'=$2$3 ";
Line 3946 from this

Code: Select all

$perftmp="$cmds[$no]{name}::${plugin}::$cmds[$no]{performance} ";
to

Code: Select all

$perftmp="$cmds[$no]{name}-${plugin}-$cmds[$no]{performance} ";
Save it out and delete the rrd and xml files and see if that gets the rest.
Be sure to check out our Knowledgebase for helpful articles and solutions!
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Re: PNP from Nagios XI GUI

Post by r34220 »

That did it! Thanks for all the help!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: PNP from Nagios XI GUI

Post by hsmith »

r34220 wrote:That did it! Thanks for all the help!
Glad to hear!

Are we all right to mark this one resolved and close it?
Former Nagios Employee.
me.
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Re: PNP from Nagios XI GUI

Post by r34220 »

hsmith wrote:
r34220 wrote:That did it! Thanks for all the help!
Glad to hear!

Are we all right to mark this one resolved and close it?
Yes, Thank you.
Locked