NAS-Lite+ templates

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
KaTZ
Posts: 3
Joined: Mon Jan 02, 2006 2:35 am

NAS-Lite+ templates

Post by KaTZ »

Just got NAS-light+ on my network ... and wanted to monitor it but it doesnt have a snmp setup its all web based ...

attached is the file from a lynx -dump

any help would be great!
Attachments
source.txt
(3.51 KiB) Downloaded 115 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Take your choice of programming language used to parse out the various data in the dumped file (perl, php, bash, etc).

Then follow the guide in the cacti manual, http://www.cacti.net/downloads/docs/htm ... graph.html
KaTZ
Posts: 3
Joined: Mon Jan 02, 2006 2:35 am

no go on the templates

Post by KaTZ »

I got the output on the shell script ... but cant get it to graph anything on cacti


# bash sed.sh
Mem:94868 92608 2260 0 1488
SA:28.2G 3.1G 25.0G 11% NAS Disk-1
SA:11.9G 6.3G 5.6G 53% NAS Disk-3
RX:3522623845 TX:2536215111

tried with the easiest one .. the RX and TX ... setup as in the link posted but it will not graph ...
Attachments
sed.sh.txt
(400 Bytes) Downloaded 126 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You must properly format the outputted data into a form of: variable1:value1 variable2:value2 variable3:value3 etc.

Did you create a data input method, data template, and graph template also?
KaTZ
Posts: 3
Joined: Mon Jan 02, 2006 2:35 am

restarted the whole process

Post by KaTZ »

I got it .... only the network usage so far but I understand the format now ...
Attachments
graph_image.php.png
graph_image.php.png (22.09 KiB) Viewed 1902 times
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests