E-Monitoring notes: Difference between revisions
Jump to navigation
Jump to search
Created page with "= isys = runs mail for e-monitoring.net the key on root@mail should let you ssh w/o pass to isys.e-monitoring.net isys has a mail queue problem where it gets big and we run..." |
No edit summary |
||
Line 6: | Line 6: | ||
isys has a mail queue problem where it gets big and we run out of inodes. we setup a cronjob to clear that out. | isys has a mail queue problem where it gets big and we run out of inodes. we setup a cronjob to clear that out. | ||
== isys - out of inodes == | |||
# ssh to root@isys.e-monitoring.net | |||
# isys# cd /var/spool/mqueue | |||
# isys# sh | |||
# # for f in `ls`; do rm $f; done | |||
:(wait awhile) | |||
<pre> wrote a script: | |||
isys# cat > /root/clearqueue.sh | |||
#!/bin/sh | |||
for f in `ls /var/spool/mqueue`; do rm /var/spool/mqueue/$f; done | |||
isys# sh /root/clearqueue.sh</pre> | |||
<span style="color:red">crontabed for 3am on the 1st of the month</span> | |||
= polling / magrathea = | = polling / magrathea = |
Revision as of 15:54, 15 March 2013
isys
runs mail for e-monitoring.net
the key on root@mail should let you ssh w/o pass to isys.e-monitoring.net
isys has a mail queue problem where it gets big and we run out of inodes. we setup a cronjob to clear that out.
isys - out of inodes
- ssh to root@isys.e-monitoring.net
- isys# cd /var/spool/mqueue
- isys# sh
- # for f in `ls`; do rm $f; done
- (wait awhile)
wrote a script: isys# cat > /root/clearqueue.sh #!/bin/sh for f in `ls /var/spool/mqueue`; do rm /var/spool/mqueue/$f; done isys# sh /root/clearqueue.sh
crontabed for 3am on the 1st of the month
polling / magrathea
config new IP
Edit:
/etc/defaultrouter /export/home/groundwater/bin/getit.pl /etc/hosts /etc/hostname.le1
On production:
/home/htdocs/gw/index.pl /home/htdocs/isys/pollscan.pl /home/gw/shipley/etc/config.pl /home/gw/owrd/etc/config.pl /home/dboodman/www/isys/pollscan.pl Apache conf
stop it from trying to dial out
mysql> select * from resources; +------------+------------+----------------+-------+---------+----------+ | resourceID | resource | connectionType | inUse | inUseBy | inUseFor | +------------+------------+----------------+-------+---------+----------+ | 1 | /dev/cuaa0 | 1 | NULL | NULL | NULL | | 2 | network | 2 | NULL | NULL | NULL | | 3 | network | 2 | NULL | NULL | NULL | | 4 | network | 2 | NULL | NULL | NULL | | 5 | network | 2 | NULL | NULL | NULL | | 6 | network | 2 | NULL | NULL | NULL | | 7 | network | 2 | NULL | NULL | NULL | | 8 | network | 2 | NULL | NULL | NULL | | 9 | network | 2 | NULL | NULL | NULL | | 10 | network | 2 | NULL | NULL | NULL | | 11 | network | 2 | NULL | NULL | NULL | +------------+------------+----------------+-------+---------+----------+ 11 rows in set (0.00 sec) delete from resources where resourceID =1;