Hi all. I'm trying to monitor http page hits and page load latency using Perl scripts thanks to others that shared their code. The script returns a value when run on the host. I've build the 'Data Input Method', the 'Data Template' and 'Graph Template' and added the graphs to the Device.
'Input Method' like this:
Data Template like this:
and Graph Template like this:
All I get is 'Nan'.
I don't see what's wrong. I am confused by the 'Custom Data' field. This should be the 'Data Input Method' input like it states right? So, 'host'?
Thanks.
Perl Script Nan
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Re: Perl Script Nan
Sounds odd, but make sure your script, if outputting a single value, is outputting a line feed at the end of the value.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 3 guests