check_citrix help part II
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Sep 16 12:54:58 CEST 2004
Dear Folks,
Both _Dale_ Hobbs and stilleto are having problems with check_citrix.
Some more hopfully helpful advice
1 The old favourite problem with Perl plugins - can't find utils.pm
Try the plugin from the CLI logged in as the Nagios user
Works ?
Yes ==>
Nothing
No ==>
utils.pm probably in a directory unreadable by Nag. Copy it into
a Perl include path or add a 'use libs' statement to the plugin text.
Write me if you need advice.
2 Make sure you have a -B or -C option specified in your check_commands
If the master browser is not on the same VLAN as the Nag server, you
must use -C <address_of_master_browser>.
These options are probably non-standard; sorry. Also, te plugin
may be doing something disgsuting like writing to STDERR ...
Still no go ?
3 Wrap the plugin (see last letter) and send me the results.
3.1 As above but add a -d option to the wrapper (ie
exec <path_to_nag>/wrapped_plugin_name "-d $@"
You should get something like
You may also want to repeat the above with the -d option.
This should show the network activity like
tsitc> /usr/local/nagios/libexec/check_cit -C metaframe -P metaframe -d
Sending helo datagram. datagram number: 1
Querying metaframe for master browser
0000 20 00 01 30 02 fd a8 e3 00 00 00 00 00 00 00 00 ..0............
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
metaframe.aipo.gov.au:1604 responded with: 48 bytes
0000 30 00 01 31 02 fd a8 e3 02 00 06 44 0a 00 64 17 0..1.......D..d.
0010 00 00 00 00 00 00 00 00 00 00 00 00 02 00 06 44 ...............D
0020 0a 00 64 17 00 00 00 00 00 00 00 00 00 00 00 00 ..d.............
Master browser = 10.0.100.23
using directed query
Querying master browser for published application list
Sending application query datagram. datagram number: 1
0000 2c 00 02 32 02 fd a8 e3 00 00 00 00 00 00 00 00 ,..2............
0010 00 00 00 00 00 00 00 00 00 00 00 00 21 00 02 00 ............!...
0020 01 00 00 00 00 00 00 00 00 00 00 00 ............
metaframe.aipo.gov.au:1604 responded to app query with: 86 bytes
0000 56 00 04 33 02 fd a8 e3 02 00 06 44 0a 00 64 17 V..3.......D..d.
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 ................
0020 03 00 28 00 01 00 00 00 44 00 65 00 73 00 6b 00 ..(.....D.e.s.k.
0030 74 00 6f 00 70 00 00 00 4f 00 4c 00 44 00 44 00 t.o.p...O.L.D.D.
0040 65 00 73 00 6b 00 00 00 4f 00 6c 00 64 00 54 00 e.s.k...O.l.d.T.
0050 6f 00 70 00 00 00 o.p...
Received list of applications: "Desktop,OLDDesk,OldTop".
Failed. "metaframe" not found in list of published applications
"Desktop,OLDDesk,OldTop" from master browser "10.0.100.23".
Yours sincerely.
--
Stanley Hopcroft
WHEN YOU GONNA WAKE UP?
1979 Special Rider Music
God don't make no promises that He don't keep.
You got some big dreams, baby, but in order to dream you gotta still be asleep.
When you gonna wake up, when you gonna wake up
When you gonna wake up and strengthen the things that remain?
Counterfeit philosophies have polluted all of your thoughts.
Karl Marx has got ya by the throat, Henry Kissinger's got you tied up in knots.
When you gonna wake up, when you gonna wake up
When you gonna wake up and strengthen the things that remain?
You got innocent men in jail, your insane asylums are filled,
You got unrighteous doctors dealing drugs that'll never cure your ills.
When you gonna wake up, when you gonna wake up
When you gonna wake up and strengthen the things that remain?
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list