(no subject)

glynn.seymour at bayerbbs.com glynn.seymour at bayerbbs.com
Thu Jun 7 10:42:14 CEST 2007


>Hi to all,
 
>I have been trying to find out how you get the graphs for monitored 
service on Windows/Nsclient++.
>It is working fine for the locahost (FC9) Memory, load, procs and users. 
I added a windows machine with NSClient++, I added the service Ping to 
both localhost and the windows machine, and the graphs are >showing up 
fine. But when I add Memory, procs, load service to the windows machine no 
graphs shows. How come it works with ping for both localhost and Windows 
machine? Even though I made sure that >the service_description is the same 
as for the localhost
>I am about to go insain, please help? I know this belongs under 
NagiosGrapher mailinglist, and I posted there as well, but I got 0 answers 
there, hoping that someone can help me here. 
 
Could be a number of things, but my top guesses would be:

1.      Performance data collection not ticked in the service definition 
for the extra NSClient++ services
2.      No regular expression in the map file to collect the data 
3.      No addition to serviceext info.cfg to display the icon/link to the 
graphs in the web interface

You could try to tail the perfdata.dat to see if anything is being written 
to check '1'
Copy the map file and edit it offline to check '2' - switching on 
debugging in nagios graph should return errors to its log along the lines 
of unrecognised data if you have no mappings
If there are RRD files being created, and there is no icon, check the 
serviceextinfo.cfg file

I'm betting its '2' though, here's an example from NSClient++ for Memory 
check graphing

# Service type: ntmem
#   check command:
#   output:
#   perfdata: 'physical memory'=63%;85;95;
/perfdata:.*memory'=([.0-9]+)%;([.0-9]+);([.0-9]+)/
and push @s, [ ntmem,
      [ memused, GAUGE, $1],
      [ memwarn, GAUGE, $2],
      [ memcrit, GAUGE, $3] ];

.. there isn't any performance data, the graph is drawn from the output - 
at least, this is how I did it. :-)
___________________________________________________________________________ 

Glynn Seymour 
Network Consultant 
BBS EMEA RSU
Bayer plc, UK 


__________________________________________________________________________
Bayer plc is registered in England under number 935048. Registered Office: 
Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA.   
The information contained in this e-mail is for the exclusive use of the 
intended recipient(s) and may be confidential, proprietary, and/or legally 
privileged.  Inadvertent disclosure of this message does not constitute a 
waiver of any privilege.  If you receive this message in error, please do 
not directly or indirectly use, print, copy, forward, or disclose any part 
of this message.  Please also delete this e-mail and all copies and notify 
the sender.Thank you. 

For alternate languages please go to http://bayerdisclaimer.bayerweb.com
__________________________________________________________________________

-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
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