Search found 19 matches
- Wed Jul 02, 2008 2:56 am
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12307
mandrk , can you identify under which user cacti cron job is running and try to execute it under this identity? Mine is running under www-data as specified in /etc/cron.d/cacti. su - www-data cd /var/www/html/cacti/scripts ./hdtemp.sh Yes! Here was the problem. My user don't have sufficent rights t...
- Mon Jun 30, 2008 3:36 pm
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12307
Please provide /full/path/to/grep and same for awk Reinhard Done! replace my line with : /usr/sbin/smartctl -a /dev/hda | /bin/grep -i temperature | /bin/awk '{printf $10}'; The result in command line is : root@mydomain /var/www/html/cacti/scripts> \ #/usr/sbin/smartctl -a /dev/hda | /bin/grep -i t...
- Mon Jun 30, 2008 1:57 pm
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12307
I give chmod 777 Yes make executable from first time with chmod +x hdtemp.sh 4 -rwxr-xr-x 1 root root 166 Jun 30 09:11 diskfree.sh 4 -rwxrwxrwx 1 root root 250 Jun 30 21:39 hdtemp.sh 4 -rw-r--r-- 1 root root 174 Feb 12 02:57 linux_memory.pl 4 -rw-r--r-- 1 root root 282 Feb 12 02:57 loadavg_multi.pl ...
- Mon Jun 30, 2008 1:38 pm
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12307
Looks like a typo in your Data Input Query for the script. No is ok!. In my first post i write hddtemp.sh. Is a misstype. The true filname is hdtemp.sh. Step: 1 CREATE DATA INPUT METHODS Input type : Script /Command I use the <path_cacti>/scripts/hdtemp.sh Data Input Methods with 1 Output field nam...
- Mon Jun 30, 2008 11:24 am
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12307
Same result! In the log i see ---------------------- 06/30/2008 07:20:02 PM - CMDPHP: Poller[0] Host[1] DS[9] CMD: /var/www/html/cacti/scripts/hdtemp.sh, output: U 06/30/2008 07:20:02 PM - CMDPHP: Poller[0] Host[1] DS[9] WARNING: Result from CMD not valid. Partial Result: . -------------------- The ...
- Mon Jun 30, 2008 4:42 am
- Forum: Scripts and Templates
- Topic: Hardisk Temperature
- Replies: 15
- Views: 12307
Hardisk Temperature
I try to monitor my hardisk temperature. I put in /scripts the hddtemp.sh with content: ----------- /usr/sbin/smartctl -a /dev/hda | grep -i temperature | awk '{printf $10}'; ----------- The output is: ---- root@mydomain /var/www/html/cacti/scripts> \ #./hdtemp.sh 44 root@mydomain/var/www/html/cacti...
- Tue Nov 07, 2006 2:44 pm
- Forum: Scripts and Templates
- Topic: Cacti and ipfm graphics for every host
- Replies: 1
- Views: 2331
Cacti and ipfm graphics for every host
I have some logs created with ipfm like: # Host In (bytes) Out (bytes) Total (bytes) 192.168.20.104 612155984 213082975 825238959 192.168.20.102 200876717 14986100 215862817 192.168.20.103 148533421 1239463 149772884 -------------------------------------------- I have trafic.sh with this content: #!...
- Wed Oct 18, 2006 12:48 pm
- Forum: Addons for Cacti
- Topic: Cacti Server Monitoring script for Unix
- Replies: 28
- Views: 118309
- Wed Oct 18, 2006 12:39 pm
- Forum: Addons for Cacti
- Topic: Cacti Server Monitoring script for Unix
- Replies: 28
- Views: 118309
Good job!
Make some screenshots.
We like screenshots.
We like screenshots.
- Wed Oct 18, 2006 1:01 am
- Forum: Help: Linux/Unix Specific
- Topic: No graphs in tree mode
- Replies: 7
- Views: 4115
The graphs both look pretty busy and hard to read Yes the graphic is hard to read. I use this graphic to monitor SNR from cisco router. I have graphs for every Upstream individualy but i receive every day this graph with total SNR to my email . I check with this graph if one or more upstreams are n...
- Tue Oct 17, 2006 8:22 am
- Forum: Help: Linux/Unix Specific
- Topic: No graphs in tree mode
- Replies: 7
- Views: 4115
Now i have another problem . I have instaled 2 version of cacti to 2 diferent computers. With 0.8.6i version of cacti the grafic is so ugly. See atashament. Why is another bug or? what. I monitor the same device..... I have rrd-tool 1.2 to both computer. Fedora core2 both....... all hardware configu...
- Tue Oct 17, 2006 2:37 am
- Forum: Help: Linux/Unix Specific
- Topic: No graphs in tree mode
- Replies: 7
- Views: 4115
- Sun Oct 15, 2006 4:52 am
- Forum: Help: Linux/Unix Specific
- Topic: No graphs in tree mode
- Replies: 7
- Views: 4115
No graphs in tree mode
When i click to graphs button i get the TREE mode navigator. I select one host from tree navigator and in my main window don't apear the graphic. If ii click to the host from main window....the graphs is ok....... Why is hapen that? i give /raa chmod 777 (still nothing) If the graph is makeit is not...
- Wed Jun 21, 2006 4:39 pm
- Forum: Scripts and Templates
- Topic: OID for read temperature
- Replies: 0
- Views: 1196
OID for read temperature
what is the OID for reading temperature & Fan speed? when i type /etc/init.d/lm_sensors status i have this result ----------------------------------------------------------- via686a-isa-6000 Adapter: ISA adapter CPU core: +1.65 V (min = +2.00 V, max = +2.50 V) ALARM +2.5V: +0.06 V (min = +0.06 V...
- Sat Feb 11, 2006 5:40 am
- Forum: Scripts and Templates
- Topic: Sendmail & Mailscanner (alternate)
- Replies: 45
- Views: 71456
I have some problem with template
I use fedora core3 Everything same to be ok but no graphic. ---------------- RRDTool Says: ERROR: opening '/var/www/html/monitoring/rra/mydomain_com_mess_recv_225.rrd': No such file or directory -------------------- In Data source when i use in debug mode: --------------------- /usr/bin/rrdtool crea...