Parsing NSCLIENT Output/Performance Counters
Mike McClure
mmcclure at pneservices.com
Sat Oct 19 03:21:05 CEST 2002
I wrote this one about a year ago. NSClient output might have changed since then,
so tweak as needed.
> Is there a way to parse the output from NSCLIENT on the CPU load
> information: CPU Load (5 min. 0) and get it to just display just the
> number?? I.E. I want to pipe this over to MRTG but have been unable to
> write a shells cript to take that 0 out and give it to me?
>
> I tried using the processor performance counter, but I would constantly
> get 99.98% back, even when the box had no load! For processor though, I
> do prefer using NSCLIETN's output
>
> Thanks
> william
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> Access Your PC Securely with GoToMyPC. Try Free Now
> https://www.gotomypc.com/s/OSND/DD
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
--
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. - http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parse-nt-host-status.pl
Type: application/octet-stream
Size: 1770 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021018/34ec8b2e/attachment.obj>
More information about the Users
mailing list